[chirp_users] Trying chirpw with python3

Nigel A. Gunn G8IFF/W8IFF
Fri Oct 4 16:01:33 PDT 2019


You go to here:  http://intrepid.danplanet.com/mailman/listinfo/chirp_users

as you did in order to initially subscribe, you click the "unsubscribe or edit options" button,

when asked, you give your email address and password and click the "unsubscribe" button.



> On 04 October 2019 at 15:27 John Higby <KJ7HEL at hotmail.com> wrote:
> 
>     How do I remove myself from ongoing e-mails for this group ?
>      
> 
>     ---------------------------------------------
>     From: chirp_users-bounces at intrepid.danplanet.com <chirp_users-bounces at intrepid.danplanet.com> on behalf of David Boucha <boucha at gmail.com>
>     Sent: Friday, October 4, 2019 10:48 AM
>     To: Steven A. Falco <stevenfalco at gmail.com>
>     Cc: Discussion of CHIRP <chirp_users at intrepid.danplanet.com>
>     Subject: Re: [chirp_users] Trying chirpw with python3
>      
>     Hm. Hopefully a core Chirp dev can respond. I'm not familiar with the codebase.
> 
>     Sorry I'm not more help.
> 
>     On Fri, Oct 4, 2019 at 10:05 AM Steven A. Falco < stevenfalco at gmail.com mailto:stevenfalco at gmail.com > wrote:
> 
>         > > Here is the output of that command:
> > 
> >         saf$ pip3 install -U gtk
> >         Collecting gtk
> >           Could not find a version that satisfies the requirement gtk (from versions: )
> >         No matching distribution found for gtk
> > 
> > 
> > 
> >         As an experiment, I tried modifying importdialog.py, replacing the "import gtk" line with:
> > 
> >         import gi
> >         gi.require_version('Gtk', '3.0')
> >         from gi.repository import Gtk as gtk
> > 
> >         I also had to change "tips = gtk.Tooltips()" to "tips = gtk.Tooltip()", because they appear to have dropped the plural "s" from the class name.
> > 
> >         However, the new "Tooltip" class seems to be different from the previous "Tooltips" class, because now I get this exception:
> > 
> >         RROR: -- Exception: --
> >         ERROR: Traceback (most recent call last):
> >           File "/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/editorset.py", line 361, in do_export
> >             dst_rthread)
> >           File "/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/editorset.py", line 252, in _do_import_locked
> >             dialog = dlgclass(src_radio, dst_rthread.radio, self.parent_window)
> >           File "/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/importdialog.py", line 628, in __init__
> >             self.build_ui()
> >           File "/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/importdialog.py", line 506, in build_ui
> >             self.vbox.pack_start(self.make_view(), 1, 1, 1)
> >           File "/home/sfalco/radio/baofeng/chirp.hg/chirp/ui/importdialog.py", line 333, in make_view
> >             tips.set_tip(lab, self.tips[k])
> >         AttributeError: 'Tooltip' object has no attribute 'set_tip'
> > 
> >         Again, I'm a python noob, but it looks like the python3 Gtk tooltip API has changed such that set_tip has been removed.
> > 
> >                 Steve
> > 
> > 
> >         On 10/4/19 11:51 AM, David Boucha wrote:
> >         > Try running the following command
> >         >
> >         > pip3 install -U gtk
> >         >
> >         > On Fri, Oct 4, 2019 at 8:45 AM Steven A. Falco < stevenfalco at gmail.com mailto:stevenfalco at gmail.com <mailto: stevenfalco at gmail.com mailto:stevenfalco at gmail.com >> wrote:
> >         >
> >         >     The '>' symbols got mangled in my previous email, so here is a corrected email.
> >         >
> >         >     This sequence fails to find gtk:
> >         >
> >         >     saf$ python3
> >         >     Python 3.7.4 (default, Jul  9 2019, 16:32:37)
> >         >     [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux
> >         >     Type "help", "copyright", "credits" or "license" for more information.
> >         >      >>> import gtk
> >         >     Traceback (most recent call last):
> >         >       File "<stdin>", line 1, in <module>
> >         >     ModuleNotFoundError: No module named 'gtk'
> >         >
> >         >     But this sequence works:
> >         >
> >         >     saf$ python3
> >         >     Python 3.7.4 (default, Jul  9 2019, 16:32:37)
> >         >     [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux
> >         >     Type "help", "copyright", "credits" or "license" for more information.
> >         >      >>> import gi
> >         >      >>> gi.require_version('Gtk', '3.0')
> >         >      >>> from gi.repository import Gtk
> >         >      >>>
> >         >
> >         >     Is there something that I need to install?  I'm a complete python noob.
> >         >
> >         >             Steve
> >         >
> > 
> > 
> >     > 


 

> _______________________________________________
>     chirp_users mailing list
>     chirp_users at intrepid.danplanet.com
>     http://intrepid.danplanet.com/mailman/listinfo/chirp_users
>     This message was sent to Nigel Gunn, W8IFF at nigel at ngunn.net
>     To unsubscribe, send an email to chirp_users-unsubscribe at intrepid.danplanet.com
> 


 


Nigel A. Gunn, 1865 El Camino Drive, Xenia, OH 45385-1115, USA. tel +1 937 825 5032
Amateur Radio G8IFF W8IFF and GMRS WRBV701, e-mail nigel at ngunn.net www http://www.ngunn.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_users/attachments/20191004/2714e686/attachment.html 


More information about the chirp_users mailing list