Need help with Python scripts!

Discussion in 'Technical Discussion' started by SonikkuForever, Feb 3, 2010.

  1. SonikkuForever

    SonikkuForever

    Be cool, be wild, and be groovy! Member
    576
    0
    16
    Gathering information on Sega World Sydney and collecting Sonic merchandise.
    Okay, so I have an import script that I want to use in Blender. Blender can open it, but I get an error everytime I actually try to use the script. I'm 99.9% sure that I have the right versions of everything, but I don't know anything at all about code, so I'm pretty stuck here. This is the error I get:

    Code (Text):
    1. File "import_2_pmd.py", line 530, in import_pmd
    2. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b_bones = MakeXML<d_pmd,xmlPath>
    3. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File "import_2_pmd.py", line 351, in MakeXML
    4. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node_list = japan.dom.getElementsByTagName<"J_Face_Comment">
    5. UnboundLocalError: local variable 'japan_dom' referenced before assignment
    Can anyone help me with this? I'm rather desperate for answers by now.