Kodi Community Forum
Qlock screesaver broken - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Look and feel (https://forum.kodi.tv/forumdisplay.php?fid=178)
+---- Thread: Qlock screesaver broken (/showthread.php?tid=243745)



Qlock screesaver broken - commander_keen - 2015-10-14

Hi,

for quite a while now the Qlock Screensaver is not working anymore on current releases of Kodi.
The log says:
Quote:16:01:46 543.772705 T:1743229984 NOTICE: -->Python Interpreter Initialized<--
16:01:46 543.784973 T:1743229984 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: name 'os' is not defined
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/screensaver.qlock/default.py", line 10, in <module>
__resource__ = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib' ).encode("utf-8") ).decode("utf-8")
NameError: name 'os' is not defined
-->End of Python script error report<--
16:01:46 543.884827 T:1777046560 NOTICE: script.lazytvservice : 391.221658 :: 308.659618 ::: - notification!
16:02:00 557.914917 T:1777046560 NOTICE: script.lazytvservice : 405.251733 :: 14.030075 ::: - notification!
16:05:01 738.271790 T:1448961056 NOTICE: Thread LanguageInvoker start, auto delete: false
16:05:01 738.321838 T:1448961056 NOTICE: -->Python Interpreter Initialized<--
16:05:01 738.333435 T:1448961056 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: name 'os' is not defined
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/screensaver.qlock/default.py", line 10, in <module>
__resource__ = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib' ).encode("utf-8") ).decode("utf-8")
NameError: name 'os' is not defined
-->End of Python script error report<--
http://xbmclogs.com/pln3h6eo2

Running Kodi 15.2 (OSMC) on a Raspberri Pi 2.
Is it broken for everyone?
Is this screensaver still maintained/updated?


RE: Qlock screesaver broken - ronie - 2015-10-14

it was fixed some time ago:
https://github.com/phil65/screensaver.qlock/commit/d0a6b1e85c840ffe4aadb17d9fac2d6556c1e125

but the update hasn't made it to our addon repo yet.


RE: Qlock screesaver broken - commander_keen - 2015-10-16

Hm, installing the a zip from there and works.
Thank you for the hint.