Running NXBT on Window's Ubuntu Virtual Machine #23
Unanswered
mesterpeter75
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can I run NXBT on Ubuntu virtual machine?
When I tried running the command "sudo nxbt demo", I got this error:
========================================================================
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 'org.bluez': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/nxbt", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/nxbt/cli.py", line 223, in main
demo()
File "/usr/local/lib/python3.8/dist-packages/nxbt/cli.py", line 140, in demo
adapters = nx.get_available_adapters()
File "/usr/local/lib/python3.8/dist-packages/nxbt/nxbt.py", line 643, in get_available_adapters
adapters = find_objects(bus, SERVICE_NAME, ADAPTER_INTERFACE)
File "/usr/local/lib/python3.8/dist-packages/nxbt/bluez.py", line 75, in find_objects
bus.get_object(service_name, "/"),
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.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
Do you happen to know what I might be missing? If virtual machine cannot run it, should I try with raspberry pi? I really want to get the controller emulator and macro happen for my switch.
Beta Was this translation helpful? Give feedback.
All reactions