Skip to content
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

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'net.clusterhack.ArgonOne': no such name #5

Open
jimmyff opened this issue Aug 10, 2020 · 1 comment

Comments

@jimmyff
Copy link

jimmyff commented Aug 10, 2020

Hey thanks for creating this, I just got it installed on ubuntu 20.04 but getting the following when i try to use it:

jimmyff@spritz:~$ argonctl speed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
    return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'net.clusterhack.ArgonOne': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/argonctl", line 11, in <module>
    load_entry_point('argon1==0.1', 'console_scripts', 'argonctl')()
  File "/usr/lib/python3/dist-packages/argonone/cmdline.py", line 150, in argonctl_main
    with dbus_proxy() as dbus:
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/usr/lib/python3/dist-packages/argonone/__init__.py", line 627, in dbus_proxy
    proxy = system_bus.get_object('net.clusterhack.ArgonOne',
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
    return self.ProxyObjectClass(self, bus_name, object_path,
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
    return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name net.clusterhack.ArgonOne was not provided by any .service files
@D4nielB
Copy link

D4nielB commented Oct 20, 2020

Getting the same after a fresh install of Raspberry Pi OS and this tool. Found any solution?

Edit: Found the solution in another issue here: had to enable the I2C kernel module in raspi-config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants