2022-12-14 10:52 PM
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 232, in maybe_handle_message
self._handler(*args, **kwargs)
File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/adapter.py", line 285, in _properties_changed
self.address == adapter_addr,
File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/adapter.py", line 104, in address
return self.adapter_props.Get(constants.ADAPTER_INTERFACE, 'Address')
File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 141, in __call__
return self._connection.call_blocking(self._named_service,
File "/usr/lib/python3.8/site-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.NoReply: Message recipient disconnected from message bus without replying
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 177, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 361, in get_name_owner
return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3.8/site-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/lib/python3.8/site-packages/dbus/connection.py", line 232, in maybe_handle_message
self._handler(*args, **kwargs)
File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/adapter.py", line 281, in _properties_changed
adapter_addr = dbus_tools.get_adapter_address_from_dbus_path(path)
File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/dbus_tools.py", line 119, in get_adapter_address_from_dbus_path
mngd_objs = get_managed_objects()
File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/dbus_tools.py", line 88, in get_managed_objects
manager = dbus.Interface(bus.get_object(constants.BLUEZ_SERVICE_NAME, '/'),
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 241, in get_object
return self.ProxyObjectClass(self, bus_name, object_path,
File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 250, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 182, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3.8/site-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.8/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.systemd1.ShuttingDown: Refusing activation, D-Bus is shutting down.
Release
2022-11-28 16:42:12,298 - blemodule.adapter - ERROR - No Bluetooth Adapater Found
Traceback (most recent call last):
File "/home/root/0.3.4.5/obd_gen2_ble_py/main.py", line 5, in <module>
from Mqttmodule.mqtt import *
File "/home/root/0.3.4.5/obd_gen2_ble_py/Mqttmodule/mqtt.py", line 6, in <module>
from eventHandler.handler import *
File "/home/root/0.3.4.5/obd_gen2_ble_py/eventHandler/handler.py", line 5, in <module>
from blemodule.ble import *
File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/ble.py", line 8, in <module>
from blemodule import adapter, peripheral, constants, dbus_tools, device, tools
File "/home/root/0.3.4.5/obd_gen2_ble_py/blemodule/peripheral.py", line 15, in <module>
bus = dbus.SystemBus()
File "/usr/lib/python3.8/site-packages/dbus/_dbus.py", line 195, in __new__
return Bus.__new__(cls, Bus.TYPE_SYSTEM, mainloop=mainloop,
File "/usr/lib/python3.8/site-packages/dbus/_dbus.py", line 102, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 124, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.