2014-02-03, 12:11
(2014-02-03, 10:42)mikebzh44 Wrote: Hi Mike, got a question, any idea what this error is about?
I'm trying to create Latest/random genre movies, e.g latest action movies
Code:09:11:56 T:6936 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 'nodeValue'
Traceback (most recent call last):
File "S:\Users\Administrator\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 723, in <module>
_parse_argv()
File "S:\Users\Administrator\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 644, in _parse_argv
_getPlaylistType ();
File "S:\Users\Administrator\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 57, in _getPlaylistType
_name = _doc.getElementsByTagName('name')[0].firstChild.nodeValue.encode('utf-8')
AttributeError: 'NoneType' object has no attribute 'nodeValue'
-->End of Python script error report<--
Please paste here the content of your XSP file.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
<name></name>
<match>all</match>
<rule field="genre" operator="is">
<value>Action</value>
</rule>
</smartplaylist>
It works correctly on playlist menu..