2016-08-21, 06:45
MC,
Just downloaded the latest and got an error when trying to launch the add-on. I know we're not supposed to put error log snippets, but this so small not worth it to use pastebin.
Tested on Mac OS 10.7.5, kodi 15.2.
I added a "nowstring" dump for testing. The add-on is working now with 'nowstring' at '1:00 AM', the KeyError does not like a 'nowstring' of '0:30 AM'.
Just downloaded the latest and got an error when trying to launch the add-on. I know we're not supposed to put error log snippets, but this so small not worth it to use pastebin.
Tested on Mac OS 10.7.5, kodi 15.2.
Code:
23:34:25 T:4731785216 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('0:30 AM',)
Traceback (most recent call last):
File "/Users/abc/Library/Application Support/Kodi/addons/plugin.video.hunt-channel/addon.py", line 59, in <module>
shows = data[nowstring]
KeyError: ('0:30 AM',)
-->End of Python script error report<--
I added a "nowstring" dump for testing. The add-on is working now with 'nowstring' at '1:00 AM', the KeyError does not like a 'nowstring' of '0:30 AM'.
Code:
00:06:32 T:4582281216 NOTICE: URL: http://www.huntchannel.tv
00:06:32 T:4582281216 NOTICE: Name: On Demand
00:06:32 T:4582281216 NOTICE: Hunt Channel VOD
00:06:32 T:4583084032 NOTICE: Thread BackgroundLoader start, auto delete: false
00:07:04 T:4498919424 NOTICE: Thread JobWorker start, auto delete: true
00:07:04 T:4611264512 NOTICE: Thread LanguageInvoker start, auto delete: false
00:07:04 T:4611264512 NOTICE: -->Python Interpreter Initialized<--
00:07:05 T:4611264512 NOTICE: nowstring: 1:00 AM
00:07:05 T:4611264512 NOTICE: Mode: None
00:07:05 T:4611264512 NOTICE: URL: None
00:07:05 T:4611264512 NOTICE: Name: None
00:07:05 T:4611264512 NOTICE: Generate Main Menu