Re: F31: wifi-radar doesn't work

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

 



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.

It's got a lot of code which needs to be updated.  In the
case above, "except OSError, exception:" should be changed
to "except OSError as exception:".  But there are a bunch of
other similar issues, where the code clearly has not been
tested with python3, as basic things like print lacking
parenthesis should be caught by any basic testing.

You'll probably need to file a ticket in bugzilla or the
upstream wifi-radar project's tracker (assuming the project
is still active).

The python 2to3 tool might be a good start for fixing the
issues, though it seems the app uses pygtk but the pygtk2
requires was removed from the package as a way to get it to
build (likely in rawhide where python2 is being actively
removed).

After spending a few minutes poking, I don't think this app
has been tested with Fedora 31 and it needs some care and
feeding if it's going to be fixed.

-- 
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