LEW21 / pydbus

Pythonic DBus library
GNU Lesser General Public License v2.1
326 stars 76 forks source link

Fail to connect to after reboot #84

Open ankitkgupta09 opened 5 years ago

ankitkgupta09 commented 5 years ago

After Box reboot Not able to reconnect the target with Dbus. getting below error. Same time if we rerun the program we are able to connect .... Log Trace:

Traceback (most recent call last): File "c:\python27\lib\site-packages\behave\model.py", line 1329, in run match.run(runner.context) File "c:\python27\lib\site-packages\behave\matchers.py", line 98, in run self.func(context, *args, **kwargs) File "features\steps\PowerMangement.py", line 83, in check_tcu_and_psap_service_new context.obj1 = context.bus1.get(bus, object_path) File "c:\python27\lib\site-packages\pydbus\proxy.py", line 47, in get 0, timeout_to_glib(timeout), None) GLib.Error: g-io-error-quark: The connection is closed (18)