Re: F31: wifi-radar doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank Elsner wrote:
> On Sun, 22 Dec 2019 19:56:34 -0500 Todd Zullinger wrote:
>> Hi,
>> 
>> Frank Elsner wrote:
>>> on my Fedora 31 system wifi-radar doesn't work but gives
>>> 
>>> $ wifi-radar 
>>>   File "/usr/sbin/wifi-radar", line 179
>>>     except OSError, exception:
>>>                   ^
>>> SyntaxError: invalid syntax
>>> 
>>> Why this? Python problem?
>> 
>> The wifi-radar code needs to be fixed to work with python3.
> 
> My quick and dirty fix is to replace "#! /usr/bin/python3"
>                                   by "#! /usr/bin/python2"
>                                                         ^
> This makes wifi-radar working again.

Ahh, yes.  That's the nice, quick way of making it work.  I
was focusing on how to fix it properly at the package level
and forgetting the importance of having something which
works for the end user. :)

The package dropped the "Requires: pygtk2", so if you're
deploying to any new systems you'd want to make sure that's
installed as well, in case nothing else pulls it in.

-- 
Todd

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux