-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
comitup with newest raspios Bookworm fails (Fix referenced) #234
Comments
Yup. Debian 12 (Bookworm) is incompatible with the required python-networkmanager, which is no longer maintained. I'm looking into replacing it. |
That's what I thought. I'm hoping it's not a massive rewrite as your app has become a key bit to my image creation. I'll stick with Bullseye for now and hope you can get things worked out. I'll leave this open in case anyone else wanders this way for the same reason. |
maybe this can be a option https://github.com/python-sdbus/python-sdbus-networkmanager |
It is, but I've been interested in reworking it with asyncio. |
any progress? I would like to move some of my portable debian unit to a newer release. |
I'm doing a pretty-much full rewrite in async. It will happen, but is probably a couple months out. |
I wouldn't discourage your work to add Async, but in the interim I've patched python-networkmanager to fix this Loopback/32 bug: |
Static hostname: zimaboard Tested and working with patch networkmanager. Thanks again |
python3-networkmanager v2.2-3 includes the patch, as well as a general fix for future unknown device types. It is available in the Comitup repository. The Comitup Image, containing the fix, is now based on the latest release of Pi OS, Bookworm. Leaving this open since it likely won't make it to Pi OS Bookworm. |
Thanks davesteel. noticed during some maintenance on portable server that it did pull the latest deb package and installed. Over writting the patched version without issues. Steve |
I'm trying to use comitup on the just released RaspiOS Bookworm lite (official release October 10) and I am getting the following error:
Traceback (most recent call last):
File "/usr/sbin/comitup", line 5, in
from comitup.comitup import main
File "/usr/share/comitup/comitup/comitup.py", line 22, in
from comitup import cdns # noqa
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/comitup/comitup/cdns.py", line 14, in
from comitup import modemgr
File "/usr/share/comitup/comitup/modemgr.py", line 16, in
from comitup import config, nm
File "/usr/share/comitup/comitup/nm.py", line 24, in
import NetworkManager as nm
File "/usr/lib/python3/dist-packages/NetworkManager.py", line 773, in
NetworkManager = NetworkManager()
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/NetworkManager.py", line 251, in new
SignalDispatcher.listen_for_restarts()
File "/usr/lib/python3/dist-packages/NetworkManager.py", line 43, in listen_for_restarts
dbus.SystemBus().add_signal_receiver(self.handle_restart, 'NameOwnerChanged', 'org.freedesktop.DBus')
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 192, in new
return Bus.new(cls, Bus.TYPE_SYSTEM, mainloop=mainloop,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in new
bus = BusConnection.new(subclass, bus_type, mainloop=mainloop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in new
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
KeyError: dbus.UInt32(32, variant_level=1)
Not sure what's changed from Bullseye or how to fix it but I figured I'd let you know. I'm seeing the same error on one of my plain Debian Bookworm VMs as well.
The text was updated successfully, but these errors were encountered: