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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to