Here is a Kodi debug log file whilst starting a video trailer playback using the iTunes Trailers add-on.
The name of the trailer / movie was “No Escape” can be seen in the log as noescape
There is an exception thrown relating to the Micasaverde / KodiRemote add-on.
15:18:32 T:140091875903232 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'httplib.BadStatusLine'>
Error Contents: ''
Traceback (most recent call last):
File "/storage/.kodi/addons/script.service.micasaverde/default.py", line 79, in onPlayBackStarted
urllib2.urlopen('http://%s:3480/data_request?id=variableset&DeviceNum=%s&serviceId=urn:upnp-org:serviceId:KODIRemote1&Variable=IdleTime&Value=%s' % (ip, dev, currentvideo))
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 126, in urlopen
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 400, in open
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 418, in _open
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 1207, in http_open
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 1180, in do_open
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 1030, in getresponse
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 407, in begin
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-Generic.x86_64-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 371, in _read_status
BadStatusLine: ''
-->End of Python script error report<--
Here is the full log file: (Available for 1 month from today - 01/09/15)
http://xbmclogs.com/pflkxplji
The exception refers to line #79 in the default.py file which is this code:
urllib2.urlopen('http://%s:3480/data_request?id=variableset&DeviceNum=%s&serviceId=urn:upnp-org:serviceId:KODIRemote1&Variable=IdleTime&Value=%s' % (ip, dev, currentvideo))
If in Kodi I disable the Micasaverde Kodi Event add-on and reboot the HTPC. If I then play the same trailer again in the iTunes Trailers add-on, Vera now does not crash and when I look in the Kodi debug log file again, there is no exception this time.
So certainly some conflict between the Micasaverde Kodi Event add-on and playing trailers in the Apple iTunes Trailers add-on for Kodi.
Do any of the DEVs know how to fix this?
Thank you.