Bug#1071199: O: wicd -- wired and wireless network manager written in Python
> In case there's nobody stepping up for adoption within a month or two > or so, I'll probably request removal from Debian. It's in bad shape > for long enough and I have enough other packages which need my time. Hi Axel, happy to discuss it at MiniDebConf in Berlin right now. But likely the outcome you depicted, it seems to be the correct way forward. The Python porting was almost complete but no-one stepped in to help me fix the GTK calls made for the X11 UI widget. I gave up and moved on to other distros, so... given no-one else seems to be interested in having it... let's remove it. best, GMS
Bug#947589: wicd-gtk: [experimental] wicd-gtk probably broken: no GTK dependency, still uses 'import gtk'
guys, quick heads up... I could not progress on this topic due to lack of experience on GTK anyone willing to help? https://git.launchpad.net/wicd/log/?h=gtk_Debian_Bug%23947589 best,GMS Il giorno mar, 31/03/2020 alle 23.01 +0200, Guido Maria Serra ha scritto: > Hi Moritz,I followed your recommendation and I got up to here > https://git.launchpad.net/wicd/commit/?h=gtk_Debian_Bug%23947589=358f5f11c64ed09838c607bf5c64d35b74c0ca75 > Though I do now have a problem of testing now, as there are neither > gtk based tests, neither a way to test without involving my os...I've > tried some symlinking inside /usr/share/wicd/gtk/ as wicd.ui gets > copied from the data/ folder within the source code there. > Now, if anybody has an idea or a system that he/she is fine to break > for testing... get in contact with me > Stacktrace follows... I already did substitute GtkProgressBar > with GtkProgressBarWindow > best,GMS > $ python gtk/wicd-client.py py Importing pynotify failed, > notifications disabled.('Has notifications support', > False)Loading...Connecting to daemon...Connected.gtk/wicd- > client.py:535: DeprecationWarning: Gtk.UIManager.get_widget is > deprecated self.menu = > (self.manager.get_widget('/Menubar/Menu/Quit').gtk/wicd- > client.py:944: DeprecationWarning: Gtk.StatusIcon.set_visible is > deprecated self.set_visible(True)gtk/wicd-client.py:960: > DeprecationWarning: Gtk.StatusIcon.set_from_icon_name is deprecated > gtk.StatusIcon.set_from_icon_name(self, name)gtk/wicd-client.py:948: > DeprecationWarning: Gtk.StatusIcon.set_tooltip_text is deprecated > self.set_tooltip_text("Initializing wicd...")Traceback (most recent > call last): File "gtk/wicd-client.py", line 1204, in > main(sys.argv) File "gtk/wicd-client.py", line 103, in > wrapperreturn func(*args, **kwargs) File "gtk/wicd-client.py", > line 1172, in maintray_icon = TrayIcon(animate, > displaytray=use_tray, displayapp=display_app) File "gtk/wicd- > client.py", line 162, in __init__self.tr.toggle_wicd_gui() File > "gtk/wicd-client.py", line 864, in toggle_wicd_guiself.gui_win = > gui.appGui(tray=self) File "/home/gms/tmp/wicd/gtk/gui.py", line > 193, in > __init__self.wTree.add_from_file(gladefile)gi.repository.GLib.Err > or: gtk-builder-error-quark: /usr/share/wicd/gtk/wicd.ui:224:49 > Invalid property: GtkProgressBar.activity_mode (11) >
Bug#947589: wicd-gtk: [experimental] wicd-gtk probably broken: no GTK dependency, still uses 'import gtk'
Hi Moritz,I followed your recommendation and I got up to here https://git.launchpad.net/wicd/commit/?h=gtk_Debian_Bug%23947589=358f5f11c64ed09838c607bf5c64d35b74c0ca75 Though I do now have a problem of testing now, as there are neither gtk based tests, neither a way to test without involving my os...I've tried some symlinking inside /usr/share/wicd/gtk/ as wicd.ui gets copied from the data/ folder within the source code there. Now, if anybody has an idea or a system that he/she is fine to break for testing... get in contact with me Stacktrace follows... I already did substitute GtkProgressBar with GtkProgressBarWindow best,GMS $ python gtk/wicd-client.py py Importing pynotify failed, notifications disabled.('Has notifications support', False)Loading...Connecting to daemon...Connected.gtk/wicd-client.py:535: DeprecationWarning: Gtk.UIManager.get_widget is deprecated self.menu = (self.manager.get_widget('/Menubar/Menu/Quit').gtk/wicd-client.py:944: DeprecationWarning: Gtk.StatusIcon.set_visible is deprecated self.set_visible(True)gtk/wicd-client.py:960: DeprecationWarning: Gtk.StatusIcon.set_from_icon_name is deprecated gtk.StatusIcon.set_from_icon_name(self, name)gtk/wicd-client.py:948: DeprecationWarning: Gtk.StatusIcon.set_tooltip_text is deprecated self.set_tooltip_text("Initializing wicd...")Traceback (most recent call last): File "gtk/wicd-client.py", line 1204, in main(sys.argv) File "gtk/wicd-client.py", line 103, in wrapperreturn func(*args, **kwargs) File "gtk/wicd-client.py", line 1172, in maintray_icon = TrayIcon(animate, displaytray=use_tray, displayapp=display_app) File "gtk/wicd- client.py", line 162, in __init__self.tr.toggle_wicd_gui() File "gtk/wicd-client.py", line 864, in toggle_wicd_guiself.gui_win = gui.appGui(tray=self) File "/home/gms/tmp/wicd/gtk/gui.py", line 193, in __init__self.wTree.add_from_file(gladefile)gi.repository.GLib.Error : gtk-builder-error-quark: /usr/share/wicd/gtk/wicd.ui:224:49 Invalid property: GtkProgressBar.activity_mode (11)
Bug#947589: wicd-gtk: [experimental] wicd-gtk probably broken: no GTK dependency, still uses 'import gtk'
Il giorno mar, 31/03/2020 alle 22.00 +0200, Axel Beckert ha scritto: > Hi Moritz, > > Moritz Mühlenhoff wrote: > > has there been further development? > > Not so much. :-/ sorry guys, I couldn't get my hands on it lately GMS
Bug#885140: [pkg-wicd-maint] Bug#885140: wicd: Depends on unmaintained pygtk
Il giorno sab, 28/12/2019 alle 15.49 +0100, Axel Beckert ha scritto: > look at that issue, i.e. Debian bug report #946380?) sure, sorry... was having some time off keyboard as well :) ...I'll spend some time on it in the upcoming week best, GMS
Bug#852333: [pkg-wicd-maint] Bug#852333: [zeph/wicd] More fixes for using wicd under Python 3, mostly in the daemon (#1)
Hi Axel, please make a package of the latest master branch https://git.launchpad.net/wicd/commit/?id=8838da1ce327edab7bacd7c4acdebff8c53edb04 I did fix lots of things... and I need to start testing on my laptop with a python3 based package (else I go crazy moving patches back and forward from my OS deployed files...) it does implement the parsing of the new "iw scan" tool, with the cfg80211 specs best, GMS
Bug#852333: [zeph/wicd] More fixes for using wicd under Python 3, mostly in the daemon (#1)
> Do you intent to continue development (and bug tracker) there or on > Github? seems natural to me that we keep working on the original place where the code has always been known to be ...so Launchpad, unless you see a benefit of moving > If you'll stay on Launchpad, I'd suggest to make an automatic mirror > to the current Github repo to make the project more visible. It would > also allow others to still make receive pull requests there. is there an easy way to do that? > > @Alex got a launchpad account? > > Did you mean me, Axel (not Alex)? If so, yes: > https://launchpad.net/~xtaran yeah, sorry Axel... :) ...please join me on the https://launchpad.net/~wicd-devel seems I cannot add you directly, but you need to request membership best, GMS
Bug#938823: [zeph/wicd] More fixes for using wicd under Python 3, mostly in the daemon (#1)
updating with the correct recipients (else it won't make it in the debian tracker) p.s. I just migrated the official repo in git (from bzr) https://code.launchpad.net/wicd @Alex got a launchpad account? Il giorno mer, 11/09/2019 alle 04.06 -0700, Axel Beckert ha scritto: > Hi Guido, > > > > On Wed, Sep 11, 2019 at 03:17:22AM -0700, Guido Maria Serra wrote: > > > > The only thing I haven't included yet in this fork are the > changed > > > > shebang lines which need to be python3 instead of just python at > > > > least as of now on Debian. Can add that as a commit to this or a > new > > > > pull request, though. > > > > > > merged & updated the python3 refs > > > > https://github.com/zeph/wicd/commit/5860ad8251990d68feb66803347bb4845dfb8a5d > > > > Yay, thanks! Wasn't sure if this is generally needed/wanted. > > > > > > wicd-curses still throws deprecation warnings for me: > > > > > > > > /usr/share/wicd/curses/wicd-curses.py:1249: > PyGIDeprecationWarning: > > > > GObject.timeout_add is deprecated; use GLib.timeout_add > > > > instead gobject.timeout_add(2000, > > [...] > > > > Might fix that later — unless someone else fixes it first. > > > > > > yeah... later... > > > > Ok, will see if I get this fixed on my own. At least wicd-curses is > my > > next target as that's my personally preferred wicd UI. :-) > > > > > I also have to swap the underlying command from "iwlist" to "iw" > > > (completely different kernel calls) all over the place (and related > > > regex) > > > > Yay, thanks for tackling this! This would solve > > https://bugs.debian.org/852333 (Cc'ed, too) in Debian, too. > > > > I'll probably do an upload to Debian Experimental once I got at least > > one client working. > > > > Regards, Axel >
Bug#938823: [zeph/wicd] More fixes for using wicd under Python 3, mostly in the daemon (#1)
(resending into the debian DL) Il giorno mar, 10/09/2019 alle 17.49 -0700, Axel Beckert ha scritto: > All patches are coming from Debian's python branch at > https://salsa.debian.org/debian/wicd/commits/python3 > > The only thing I haven't included yet in this fork are the changed > shebang lines which need to be python3 instead of just python at > least as of now on Debian. Can add that as a commit to this or a new > pull request, though. merged & updated the python3 refs https://github.com/zeph/wicd/commit/5860ad8251990d68feb66803347bb4845dfb8a5d > wicd-curses still throws deprecation warnings for me: > > /usr/share/wicd/curses/wicd-curses.py:1249: PyGIDeprecationWarning: > GObject.timeout_add is deprecated; use GLib.timeout_add > instead gobject.timeout_add(2000, > app.update_status)/usr/share/wicd/curses/wicd-curses.py:1254: > PyGIDeprecationWarning: GObject.io_add_watch is deprecated; use > GLib.io_add_watch instead gobject.io_add_watch(fd, gobject.IO_IN, > app.call_update_ui)/usr/share/wicd/curses/wicd-curses.py:1254: > PyGIDeprecationWarning: GObject.IO_IN is deprecated; use GLib.IO_IN > instead gobject.io_add_watch(fd, gobject.IO_IN, app.call_update_ui) > Might fix that later — unless someone else fixes it first. yeah... later... I also have to swap the underlying command from "iwlist" to "iw" (completely different kernel calls) all over the place (and related regex) best,GMS
Bug#938823: wicd and Python 3 (was: "wicd" utf8 and too many APs nightmare/bug)
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 > writedata = 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
Bug#938823: wicd and Python 3 (was: "wicd" utf8 and too many APs nightmare/bug)
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 > > from wicd.logfile import ManagedStdio File > > "/usr/lib/python3/dist-packages/wicd/logfile.py", line 32, in > > 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
Bug#938823: wicd and Python 3 (was: "wicd" utf8 and too many APs nightmare/bug)
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 from > wicd.logfile import ManagedStdio File "/usr/lib/python3/dist- > packages/wicd/logfile.py", line 32, in 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
Bug#900742: apparently we shall move away from Wireless Extensions
apparently we shall move away from Wireless Extensions kernel API https://wireless.wiki.kernel.org/en/developers/documentation/wireless-extensions shall I try to patch wireless-tools? I doubt I have the skills-set to do it, I can try though this thing of the AP limitation is pretty annoying... wicd is heavily impacted by it - https://bugs.launchpad.net/wicd/+bug/1801751 regards, GMS