t0mm0-xbmc-plugins icon indicating copy to clipboard operation
t0mm0-xbmc-plugins copied to clipboard

Error in ustvnow plugin on linux

Open dmdeklerk opened this issue 12 years ago • 3 comments
trafficstars

Running the latest Eden on xbmcbuntu I get the following error after installing and running the ustvnow version 0.3.0.

11:30:44 T:2910845760 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.AttributeError'> Error Contents: 'module' object has no attribute 'output' Traceback (most recent call last): File "/home/xbmc/.xbmc/addons/plugin.video.ustvnow/default.py", line 32, in Addon.log('plugin url: ' + Addon.plugin_url) File "/home/xbmc/.xbmc/addons/plugin.video.ustvnow/resources/lib/Addon.py", line 39, in log xbmc.output(addon.getAddonInfo('name') + ': ' + msg.encode('utf-8'), AttributeError: 'module' object has no attribute 'output' -->End of Python script error report<--

dmdeklerk avatar Jan 30 '13 10:01 dmdeklerk

I ran in to the same issue on Raspbmc linux. I am not sure what is different about Frodo or the release that 0.3.0 ustvnow was built for, but xbmc does not have an 'output' option.

I simply opened up "/home/xbmc/.xbmc/addons/plugin.video.ustvnow/resources/lib/Addon.py" and changed .output to .log . Then recompile (pycompile).

This is working great for me now on Raspbmc.

itjstagame avatar Feb 11 '13 00:02 itjstagame

Great solution "itjstagame"

I tried this on windows 7 by going into the Appdata folder for XBMC and it work like a charm.

Thanks or the advice!

RBS-Julian avatar Feb 26 '13 00:02 RBS-Julian

Some fix here on xbian.
I edit the line 38 of /home/xbian/.xbmc/addons/plugin.video.crackle/resources/lib/Addon.py changing output for log. Then i ran pycompile /home/xbian/.xbmc/addons/plugin.video.crackle/resources/lib/Addon.py the plugins wors after this change :)

gilgamezh avatar Dec 22 '13 16:12 gilgamezh