<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
How do I remove myself from ongoing e-mails for this group ?</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> chirp_users-bounces@intrepid.danplanet.com &lt;chirp_users-bounces@intrepid.danplanet.com&gt; on behalf of David Boucha &lt;boucha@gmail.com&gt;<br>
<b>Sent:</b> Friday, October 4, 2019 10:48 AM<br>
<b>To:</b> Steven A. Falco &lt;stevenfalco@gmail.com&gt;<br>
<b>Cc:</b> Discussion of CHIRP &lt;chirp_users@intrepid.danplanet.com&gt;<br>
<b>Subject:</b> Re: [chirp_users] Trying chirpw with python3</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">Hm. Hopefully a core Chirp dev can respond. I'm not familiar with the codebase.
<div><br>
</div>
<div>Sorry I'm not more help.</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Fri, Oct 4, 2019 at 10:05 AM Steven A. Falco &lt;<a href="mailto:stevenfalco@gmail.com">stevenfalco@gmail.com</a>&gt; wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Here is the output of that command:<br>
<br>
saf$ pip3 install -U gtk<br>
Collecting gtk<br>
&nbsp; Could not find a version that satisfies the requirement gtk (from versions: )<br>
No matching distribution found for gtk<br>
<br>
<br>
<br>
As an experiment, I tried modifying importdialog.py, replacing the &quot;import gtk&quot; line with:<br>
<br>
import gi<br>
gi.require_version('Gtk', '3.0')<br>
from gi.repository import Gtk as gtk<br>
<br>
I also had to change &quot;tips = gtk.Tooltips()&quot; to &quot;tips = gtk.Tooltip()&quot;, because they appear to have dropped the plural &quot;s&quot; from the class name.<br>
<br>
However, the new &quot;Tooltip&quot; class seems to be different from the previous &quot;Tooltips&quot; class, because now I get this exception:<br>
<br>
RROR: -- Exception: --<br>
ERROR: Traceback (most recent call last):<br>
&nbsp; File &quot;/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/editorset.py&quot;, line 361, in do_export<br>
&nbsp; &nbsp; dst_rthread)<br>
&nbsp; File &quot;/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/editorset.py&quot;, line 252, in _do_import_locked<br>
&nbsp; &nbsp; dialog = dlgclass(src_radio, dst_rthread.radio, self.parent_window)<br>
&nbsp; File &quot;/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/importdialog.py&quot;, line 628, in __init__<br>
&nbsp; &nbsp; self.build_ui()<br>
&nbsp; File &quot;/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/importdialog.py&quot;, line 506, in build_ui<br>
&nbsp; &nbsp; self.vbox.pack_start(self.make_view(), 1, 1, 1)<br>
&nbsp; File &quot;/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/importdialog.py&quot;, line 333, in make_view<br>
&nbsp; &nbsp; tips.set_tip(lab, self.tips[k])<br>
AttributeError: 'Tooltip' object has no attribute 'set_tip'<br>
<br>
Again, I'm a python noob, but it looks like the python3 Gtk tooltip API has changed such that set_tip has been removed.<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; Steve<br>
<br>
<br>
On 10/4/19 11:51 AM, David Boucha wrote:<br>
&gt; Try running the following command<br>
&gt; <br>
&gt; pip3 install -U gtk<br>
&gt; <br>
&gt; On Fri, Oct 4, 2019 at 8:45 AM Steven A. Falco &lt;<a href="mailto:stevenfalco@gmail.com" target="_blank">stevenfalco@gmail.com</a> &lt;mailto:<a href="mailto:stevenfalco@gmail.com" target="_blank">stevenfalco@gmail.com</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp;The '&gt;' symbols got mangled in my previous email, so here is a corrected email.<br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp;This sequence fails to find gtk:<br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp;saf$ python3<br>
&gt;&nbsp; &nbsp; &nbsp;Python 3.7.4 (default, Jul&nbsp; 9 2019, 16:32:37)<br>
&gt;&nbsp; &nbsp; &nbsp;[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux<br>
&gt;&nbsp; &nbsp; &nbsp;Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
&gt;&nbsp; &nbsp; &nbsp;&nbsp;&gt;&gt;&gt; import gtk<br>
&gt;&nbsp; &nbsp; &nbsp;Traceback (most recent call last):<br>
&gt;&nbsp; &nbsp; &nbsp;&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;ModuleNotFoundError: No module named 'gtk'<br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp;But this sequence works:<br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp;saf$ python3<br>
&gt;&nbsp; &nbsp; &nbsp;Python 3.7.4 (default, Jul&nbsp; 9 2019, 16:32:37)<br>
&gt;&nbsp; &nbsp; &nbsp;[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux<br>
&gt;&nbsp; &nbsp; &nbsp;Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
&gt;&nbsp; &nbsp; &nbsp;&nbsp;&gt;&gt;&gt; import gi<br>
&gt;&nbsp; &nbsp; &nbsp;&nbsp;&gt;&gt;&gt; gi.require_version('Gtk', '3.0')<br>
&gt;&nbsp; &nbsp; &nbsp;&nbsp;&gt;&gt;&gt; from gi.repository import Gtk<br>
&gt;&nbsp; &nbsp; &nbsp;&nbsp;&gt;&gt;&gt;<br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp;Is there something that I need to install?&nbsp; I'm a complete python noob.<br>
&gt; <br>
&gt;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Steve<br>
&gt; <br>
<br>
</blockquote>
</div>
</div>
</body>
</html>