[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
Tue Sep 10 08:52:36 BST 2019
Hi Alex,
> I tried this one already, but bailed out, too. The other one
> lookedmore promising IMHO. What worked in the end was this, though:
> https://stackoverflow.com/questions/47838405/porting-a-sub-class-of-python2-file-class-to-python3
> https://salsa.debian.org/debian/wicd/blob/python3/debian/patches/02-python3-fixups.patch#L285-296
awesome!
> File "/usr/lib/python3/dist-packages/wicd/logfile.py", line 52, in
> write data = data.decode('utf-8').encode('utf-8')AttributeError:
> 'str' object has no attribute 'decode'
here you go...
https://github.com/zeph/wicd/commit/15ca072eeda799cb84beb55934dea24720d431ce
> Need to go to bed now. If you want, I can provide the work so far
> aspull request against your repo. (But unless you say you want that,
> Iwon't do it.)
yes, please send me a PR
good night
GMS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-wicd-maint/attachments/20190910/522d0e2a/attachment.html>
More information about the pkg-wicd-maint
mailing list