2010-01-25, 18:26
Quote:20091129 01:21:24 - CRITICAL - plugin.py - 172 - Error fetching channels for plugin
20091129 01:21:24 - CRITICAL - plugin.py - 172 - | Traceback (most recent call last):
20091129 01:21:24 - CRITICAL - plugin.py - 172 - | File "C:\Program Files\XBMC\plugins\video\XOT-Uzg.v3\resources\libs\plugin.py", line 159, in ShowProgramList
20091129 01:21:24 - CRITICAL - plugin.py - 172 - | logFile.debug(channelGUI.sortOrder)
20091129 01:21:24 - CRITICAL - plugin.py - 172 - | File "C:\Program Files\XBMC\plugins\video\XOT-Uzg.v3\resources\libs\logger.py", line 204, in debug
20091129 01:21:24 - CRITICAL - plugin.py - 172 - | self.Write(msg, level=DEBUG, *args, **kwargs)
20091129 01:21:24 - CRITICAL - plugin.py - 172 - | TypeError: argument 1 must be unicode or str
So i had this problem too (running T3CH from Jan 17 and XOT-Uzg v3.2.0b6 on an XBOX. No Linux. no PC.).
I have not figured out why it crashes but i hacked around the problem by adding try/except around line 204 in logger.py.
For anyone else who i looking for a quick and dirty fix i suppose you can simply remove line 204 from the file resources/libs/logger.py (the one that is listed in the error log). Thus turning
Code:
def debug(self, msg, *args, **kwargs):
self.Write(msg, level=DEBUG, *args, **kwargs)
return
Code:
def debug(self, msg, *args, **kwargs):
return
This will kill all logging but it does get the script to run.
