Closed tuxfoo closed 5 years ago
I do not know what happened but the issue seemed to resolve itself. I have to deploy my program on a few more pi's next week so I will try to figure out the cause and solution.
Hmmm interesting. If it happens again check /tmp
and see what omxplayer*
files are present, it could be that one of the files that contains the dbus address didn't get cleaned up from a previous crash.
Issue Report
I cannot run program as root/sudo, it causes program to crash.
Problem reproduction
Use any example script as a regular user and it works as expected. Then run it with sudo(or as root) and it will crash.
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.
Environment details