[pkg-wicd-maint] Bug#938823: wicd and Python 3 (was: "wicd" utf8 and too many APs nightmare/bug)

Guido Maria Serra zeph at fsfe.org
Mon Sep 9 11:00:24 BST 2019


I ask for forgiveness, it is Monday morning...
https://github.com/zeph/wicd/commit/404545ffd5a8448895e83b8b09ba79ac28416e36 id="-x-evo-selection-start-marker">
Il giorno lun, 09/09/2019 alle 11.50 +0200, Guido Maria Serra ha
scritto:
> I believe that was from the beginning a completely wrong signature
> for the class instantiation
>  - 
> https://github.com/zeph/wicd/commit/fbc67695a599dfa60757338e742fa39940580d89
> This shall fix it. I've not yet clear the sequence of calls, I've
> loved to make a unit test for it.
> Can you give it a try? (I could not reproduce it on my system... )
> best,GMS
> Il giorno lun, 09/09/2019 alle 04.31 +0200, Axel Beckert ha scritto:
> > Hi Guido,
> > (Cc'ing the according Debian bug report #938823 to get these
> > thingsdocumented publicly.)
> > Guido Maria Serra wrote:
> > > hello hello... I patched it to fully work on python3 
> > > https://github.com/zeph/wicd ...
> > 
> > Thanks! That was a good base to work on.
> > > how do I package to test it on my system now?
> > 
> > I used
> > https://github.com/zeph/wicd/compare/49523ed2bd400123ae648170617692d5445be983..49ad8e46536200068d3d9b675d4324986bb392af.patch
> > as base to patch the existing Debian package, see
> > https://salsa.debian.org/debian/wicd/commit/6e3055709b11e258ea3881900b93e43c5b46fb35
> > 
> > Had to merge those individual patches into one, though, as dpkg-
> > sourcebailed out otherwise:
> > https://salsa.debian.org/debian/wicd/commit/ea91dc9614d0c2a08726ca4591f4627b214ae3cf
> > 
> > I then had to add these additional changes to get more and more
> > thingsworking:
> > Get it build on my system locally:
> > https://salsa.debian.org/debian/wicd/commit/f69d30b531830e51b466451b0c248851c92ab963
> > 
> > Get it build in a clean chroot:
> > https://salsa.debian.org/debian/wicd/commit/366807e1c1859462ea2f3a42321ff00abdfd67db
> > 
> > Being able to install the packages:
> > https://salsa.debian.org/debian/wicd/commit/20901b51930d49ff8b9d84e79c304ac537e1e356
> > 
> > I think most of these three patches needs to be applied to your
> > fork,too.
> > Now I'm stuck with this Python error when I run "wicd -c -f":
> > Traceback (most recent call last):  File
> > "/usr/share/wicd/daemon/wicd-daemon.py", line 62, in
> > <module>    from wicd.logfile import ManagedStdio  File
> > "/usr/lib/python3/dist-packages/wicd/logfile.py", line 32, in
> > <module>    class LogFile(file):NameError: name 'file' is not
> > defined
> > Any idea on how to fix this? "file" is no more an object we
> > cansubclass in Python 3... The failing code seems to be this:
> > https://salsa.debian.org/debian/wicd/blob/python3/wicd/logfile.py#L32-40
> > 
> > 		Regards, Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-wicd-maint/attachments/20190909/0c4a7fe0/attachment.html>


More information about the pkg-wicd-maint mailing list