themightylc 5 Posted July 7, 2014 Posted July 7, 2014 Hi guys. Don't know what my problem is but since 0.6.something i have not done a single xbmb3c install without problems. I just made a fresh install (i.e. new xbmc + xbmb3c) and get the following error: 19:00:16 T:1351967840 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting 'None' as 0 minutes 19:00:16 T:1351967840 ERROR: EXCEPTION: argument "value" for method "setProperty" must be unicode or str 19:00:16 T:1351967840 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.TypeError'> Error Contents: argument "value" for method "setProperty" must be unicode or str Traceback (most recent call last): File "/root/.xbmc/addons/MediaBrowser.XBMC-master/default.py", line 2246, in <module> displaySections() File "/root/.xbmc/addons/MediaBrowser.XBMC-master/default.py", line 610, in displaySections dirItems.append(addGUIItem(s_url, details, extraData)) File "/root/.xbmc/addons/MediaBrowser.XBMC-master/default.py", line 514, in addGUIItem list.setProperty('TotalSeasons',extraData.get('TotalSeasons')) TypeError: argument "value" for method "setProperty" must be unicode or str -->End of Python script error report<-- Not sure but it seems the "None" value for duration mustbe causing this, but i don't know which item this is referring to. I'll take a quick look at the source now. Complete log: http://pastebin.com/NdA2fq3g
themightylc 5 Posted July 7, 2014 Author Posted July 7, 2014 Inserted a check for None at the lines that set the list.properties from the extraData. Works as expected.
im85288 1493 Posted July 8, 2014 Posted July 8, 2014 I think I found what changes you were meaning, can you try the latest version (0.9.511) to see if it's resolved.
Recommended Posts