Can't enable Object:SuperTuxKart Panel plugin in blender

Can't enable Object:SuperTuxKart Panel plugin in blender

Postby zootal » 04 May 2012, 03:21

I'm trying to setup blender to work on a track for STK, and one of the plugins we are supposed to enable is Object: SuperTuxKart Panel. When I try to enable it by checking the box, nothing happens. All of the other plugins enabled just fine, but this one just sits there and ignores me.

Any ideas how to get this module to enable?
zootal
 
Posts: 7
Joined: 04 May 2012, 03:19

Re: Can't enable Object:SuperTuxKart Panel plugin in blender

Postby Auria » 04 May 2012, 03:53

Hi,

can you give more info, like which blender version and which OS? and can you run blender from terminal and see if any error message is printed when trying to enable them
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Can't enable Object:SuperTuxKart Panel plugin in blender

Postby zootal » 04 May 2012, 04:24

Blender 2.63
Slackware 13.37 64 bit
3.3.3 kernel

I get a nice long list of stuff in the console:

Traceback (most recent call last):
File "/opt/blender/2.63/scripts/modules/addon_utils.py", line 259, in enable
mod = __import__(module_name)
File "/opt/blender/2.63/scripts/addons/stk_panel.py", line 732, in <module>
SCENE_PROPS = getPropertiesFromXML(os.path.join(datapath, "stk_panel_parameters.xml"), contextLevel=CONTEXT_SCENE)
File "/opt/blender/2.63/scripts/addons/stk_panel.py", line 715, in getPropertiesFromXML
node = xml.dom.minidom.parse(filename)
File "/opt/blender/2.63/python/lib/python3.2/xml/dom/minidom.py", line 1945, in parse
return expatbuilder.parse(file)
File "/opt/blender/2.63/python/lib/python3.2/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/opt/blender/2.63/python/lib/python3.2/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: junk after document element: line 50, column 0

I did a fresh download of stk_panel.py, but it was identical to the one I already had. I'm not quite sure what the error message is telling me, as I haven't done python for along time.
zootal
 
Posts: 7
Joined: 04 May 2012, 03:19

Re: Can't enable Object:SuperTuxKart Panel plugin in blender

Postby Auria » 05 May 2012, 03:12

Did you also download the XML files in folder 'stkdata'? Those are also required
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Can't enable Object:SuperTuxKart Panel plugin in blender

Postby zootal » 05 May 2012, 17:34

Mystery solved - the xml file was corrupt. I traced the code, and it choked on the line that parses the file, and the only thing I could think of that would cause this is an invalid xml file. Sure enough. A fresh download fixed the problem. :-)
zootal
 
Posts: 7
Joined: 04 May 2012, 03:19

Re: Can't enable Object:SuperTuxKart Panel plugin in blender

Postby Auria » 06 May 2012, 20:31

zootal {l Wrote}:Mystery solved - the xml file was corrupt. I traced the code, and it choked on the line that parses the file, and the only thing I could think of that would cause this is an invalid xml file. Sure enough. A fresh download fixed the problem. :-)


weird, but glad it's solved :)
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: Can't enable Object:SuperTuxKart Panel plugin in blender

Postby zootal » 07 May 2012, 19:21

Auria {l Wrote}:
zootal {l Wrote}:Mystery solved - the xml file was corrupt. I traced the code, and it choked on the line that parses the file, and the only thing I could think of that would cause this is an invalid xml file. Sure enough. A fresh download fixed the problem. :-)


weird, but glad it's solved :)


The files all downloaded just fine except the xml file - it had the html from the download site, not the actual xml. Go figure....
zootal
 
Posts: 7
Joined: 04 May 2012, 03:19

Who is online

Users browsing this forum: Bing [Bot] and 0 guests

cron