2018-05-21, 21:51
(2018-05-21, 21:11)kaable Wrote: Hi,Hi. Some program hasn't got a correct start time.
I getting the following error:
20:04:13.289 T:1858073504 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: 'NoneType' object has no attribute 'timetuple'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 2839, in <module>
plugin.run()
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/storage/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 1465, in channel
return listing(programmes, scroll=True)
File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 1577, in listing
starttime = utc2local(start)
File "/storage/.kodi/addons/plugin.video.iptv.recorder/main.py", line 169, in utc2local
timestamp = calendar.timegm(utc.timetuple())
AttributeError: 'NoneType' object has no attribute 'timetuple'
-->End of Python script error report<--
Where could be the problem ?
The channels and epg seems to be loaded correctly.
Thanks in advance
Gonçalo
I don't know if it is the symptom of something bigger or just one program that is wrong.
Is it happening for every channel?
Have a look in the files in addon_data\plugin.video.iptv.recorder to see if anything is missing.
Look in xmltv1.xml for channels and programs and channels1.m3u for the streams.
The xmltv.db file should be about the same size as the xmltv1.xml file.
If you can't spot what is wrong pm me a link to some of your data and I'll have a look.