2013-12-15, 18:19
Hi all,
I'm trying to test my wip script on all the major platforms, but I'm having no luck with Mac. I can post a full log if its useful, but the salient part seems to be:
The same code is working absolutely fine on Windows and Linux, so does this mean that elemtree.find is currently broken on Mac? Is there a special way of invoking Python on Mac? Or am I just missing something very obvious!
(Tested x86 and x64, latest nightly and latest monthly on Mavericks)
Any help would be appreciated.
I'm trying to test my wip script on all the major platforms, but I'm having no luck with Mac. I can post a full log if its useful, but the salient part seems to be:
Code:
6:10:28 T:2961985536 ERROR: Traceback (most recent call last):
16:10:28 T:2961985536 ERROR: File "/Users/andymorton/Library/Application Support/XBMC/addons/script.skinshortcuts/default.py", line 166, in __init__
16:10:28 T:2961985536 ERROR: elem = tree.find('thumbnail[@labelID="' + listitem.getProperty( "labelID" ) + '"]')
16:10:28 T:2961985536 ERROR: File "/Users/Shared/jenkins/workspace/XBMC-OSX-32/tools/depends/xbmc-depends/macosx10.8_i386-target/lib/python2.6/xml/etree/ElementTree.py", line 614, in find
16:10:28 T:2961985536 ERROR: File "/Users/Shared/jenkins/workspace/XBMC-OSX-32/tools/depends/xbmc-depends/macosx10.8_i386-target/lib/python2.6/xml/etree/ElementTree.py", line 330, in find
16:10:28 T:2961985536 ERROR: File "/Users/Shared/jenkins/workspace/XBMC-OSX-32/tools/depends/xbmc-depends/macosx10.8_i386-target/lib/python2.6/xml/etree/ElementPath.py", line 186, in find
16:10:28 T:2961985536 ERROR: File "/Users/Shared/jenkins/workspace/XBMC-OSX-32/tools/depends/xbmc-depends/macosx10.8_i386-target/lib/python2.6/xml/etree/ElementPath.py", line 176, in _compile
16:10:28 T:2961985536 ERROR: File "/Users/Shared/jenkins/workspace/XBMC-OSX-32/tools/depends/xbmc-depends/macosx10.8_i386-target/lib/python2.6/xml/etree/ElementPath.py", line 93, in __init__
16:10:28 T:2961985536 ERROR: SyntaxError: expected path separator ([)
16:10:28 T:2961985536 DEBUG: script.skinshortcuts: ### ERROR could not load file plugin://script.skinshortcuts/?type=launch&path=noop&group=mainmenu
16:10:28 T:2961985536 DEBUG: script.skinshortcuts: script stopped
The same code is working absolutely fine on Windows and Linux, so does this mean that elemtree.find is currently broken on Mac? Is there a special way of invoking Python on Mac? Or am I just missing something very obvious!
(Tested x86 and x64, latest nightly and latest monthly on Mavericks)
Any help would be appreciated.