<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>I believe that was from the beginning a completely wrong signature for the class instantiation</div><div><br></div><div> - <a href="https://github.com/zeph/wicd/commit/fbc67695a599dfa60757338e742fa39940580d89">https://github.com/zeph/wicd/commit/fbc67695a599dfa60757338e742fa39940580d89</a></div><div><br></div><div>This shall fix it. I've not yet clear the sequence of calls, I've loved to make a unit test for it.</div><div><br></div><div>Can you give it a try? (I could not reproduce it on my system... )</div><div><br></div><div>best,</div><div>GMS</div><div><br></div><div>Il giorno lun, 09/09/2019 alle 04.31 +0200, Axel Beckert ha scritto:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>Hi Guido,</pre><pre><br></pre><pre>(Cc'ing the according Debian bug report #938823 to get these things</pre><pre>documented publicly.)</pre><pre><br></pre><pre>Guido Maria Serra wrote:</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>hello hello... I patched it to fully work on python3 </pre><a href="https://github.com/zeph/wicd"><pre>https://github.com/zeph/wicd</pre></a><pre> ...</pre></blockquote><pre><br></pre><pre>Thanks! That was a good base to work on.</pre><pre><br></pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>how do I package to test it on my system now?</pre></blockquote><pre><br></pre><pre>I used</pre><a href="https://github.com/zeph/wicd/compare/49523ed2bd400123ae648170617692d5445be983..49ad8e46536200068d3d9b675d4324986bb392af.patch"><pre>https://github.com/zeph/wicd/compare/49523ed2bd400123ae648170617692d5445be983..49ad8e46536200068d3d9b675d4324986bb392af.patch</pre></a><pre><br></pre><pre>as base to patch the existing Debian package, see</pre><pre><br></pre><a href="https://salsa.debian.org/debian/wicd/commit/6e3055709b11e258ea3881900b93e43c5b46fb35"><pre>https://salsa.debian.org/debian/wicd/commit/6e3055709b11e258ea3881900b93e43c5b46fb35</pre></a><pre><br></pre><pre><br></pre><pre>Had to merge those individual patches into one, though, as dpkg-source</pre><pre>bailed out otherwise:</pre><a href="https://salsa.debian.org/debian/wicd/commit/ea91dc9614d0c2a08726ca4591f4627b214ae3cf"><pre>https://salsa.debian.org/debian/wicd/commit/ea91dc9614d0c2a08726ca4591f4627b214ae3cf</pre></a><pre><br></pre><pre><br></pre><pre>I then had to add these additional changes to get more and more things</pre><pre>working:</pre><pre><br></pre><pre>Get it build on my system locally:</pre><a href="https://salsa.debian.org/debian/wicd/commit/f69d30b531830e51b466451b0c248851c92ab963"><pre>https://salsa.debian.org/debian/wicd/commit/f69d30b531830e51b466451b0c248851c92ab963</pre></a><pre><br></pre><pre><br></pre><pre>Get it build in a clean chroot:</pre><a href="https://salsa.debian.org/debian/wicd/commit/366807e1c1859462ea2f3a42321ff00abdfd67db"><pre>https://salsa.debian.org/debian/wicd/commit/366807e1c1859462ea2f3a42321ff00abdfd67db</pre></a><pre><br></pre><pre><br></pre><pre>Being able to install the packages:</pre><a href="https://salsa.debian.org/debian/wicd/commit/20901b51930d49ff8b9d84e79c304ac537e1e356"><pre>https://salsa.debian.org/debian/wicd/commit/20901b51930d49ff8b9d84e79c304ac537e1e356</pre></a><pre><br></pre><pre><br></pre><pre>I think most of these three patches needs to be applied to your fork,</pre><pre>too.</pre><pre><br></pre><pre>Now I'm stuck with this Python error when I run "wicd -c -f":</pre><pre><br></pre><pre>Traceback (most recent call last):</pre><pre>  File "/usr/share/wicd/daemon/wicd-daemon.py", line 62, in <module></pre><pre>    from wicd.logfile import ManagedStdio</pre><pre>  File "/usr/lib/python3/dist-packages/wicd/logfile.py", line 32, in <module></pre><pre>    class LogFile(file):</pre><pre>NameError: name 'file' is not defined</pre><pre><br></pre><pre>Any idea on how to fix this? "file" is no more an object we can</pre><pre>subclass in Python 3... The failing code seems to be this:</pre><a href="https://salsa.debian.org/debian/wicd/blob/python3/wicd/logfile.py#L32-40"><pre>https://salsa.debian.org/debian/wicd/blob/python3/wicd/logfile.py#L32-40</pre></a><pre><br></pre><pre><br></pre><pre>           Regards, Axel</pre></blockquote></body></html>