device = hal_service.get_object( object_path=device_name, interface="org.freedesktop.Hal.Device") print device The above code times out during the D-BUS call, printing File "dbus_bindings.pyx", line 562, in dbus_bindings.Connection.send_with_reply_and_block dbus_bindings.DBusException: Message did not receive a reply I believe the __repr__ method of remote objects should not go over the D-BUS but print something reasonable locally. Or if it must go over the bus, it shouldn't time out.
Looks like a D-BUS python bug.
I can't tell from the details here - did the person who closed it against HAL copy the bug report into the D-BUS bug category? Otherwise the bug just gets dropped, which isn't good.
OK, Sorry. Moving to D-Bus then.
Reassigning
I don't understand the initial report: "I believe the __repr__ method of remote objects should not go over the D-BUS but print something reasonable locally. Or if it must go over the bus, it shouldn't time out." It is timing out because nothing is replying. What version of the D-Bus are you using? I believe this issue has been fixed. It looks like you aren't using an interface which used to cause timeouts because of a bug in the bus. Can you post your full source from connecting to making the call to HAL? Thanks.
Bugzilla Upgrade Mass Bug Change NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO. - benjsc fd.o Wrangler
Does this still happen? Is this still relevant? (The .pyx implementation was deleted long ago, btw.)
In the absence of further information I'm closing this as WORKSFORME.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.