Compiled for pi, strange python problem
#1
Hello Everyone,

I compiled Helix, (I know it's two version back, I hav reasons) on Debian with a raspberry-pi target mostly following README.raspberrypi.
It went well.

Launching on the pi also worked well. However, when I try to load an add-in the python system seems to break down.
Code:
16:07:41 T:1846080560   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named os
                                            -->End of Python script error report<--
16:07:41 T:1846080560    INFO: Python script stopped

I went through config.log to determine if there was anything related to python being disabled, but I did not see anything.

Using kodi binaries for the pi, I don't have this issue.

Any suggestions?
Reply
#2
Possibly this issue: https://github.com/xbmc/xbmc/pull/6183
Does setting env variable PYTHONOPTIMIZE=1 before launching kodi help?
Reply
#3
It actually did seem to help for the most part. As in, general functionlity seems to be there!
However, I still have plugins/services that fail due to missing modules, that did work before.

For instance:
Code:
ImportError: No module named dbus

I haven't been able to spend any more time with this yet.

Thanks for pointing me to that thread!
Reply

Logout Mark Read Team Forum Stats Members Help
Compiled for pi, strange python problem0