Jump to content

paw9000

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by paw9000

  1. hi

    First thanks for working on this converter!

    I'm made some comments on how I got the angles to rotate correctly in the getmoai forums, its kind of a hack, but got your sample to spin correctly and smothly in moai. http://getmoai.com/forums/post8608.html#p8608

    Now I'm having some problems getting your python script to run. I've never used Python before today so my apologies if this is a noob mistake on my part but here are some of the issues I'm having so far:

    Without changing anything if I try to run the script like this I'll get the following error:

    python scml2moai.py test.scml

    I'll get errors like this:

    File "scml2moai.py", line 102

    print "Writing animation to %s" % outpath

    ^

    SyntaxError: invalid syntax

    The carrot is pointing to the 2nd quote mark

    I'm using Python 3.3, not sure if that maters.

    I commented out all of the print statements and then I started getting this error:

    Traceback (most recent call last):

    File "scml2moai.py", line 199, in

    main()

    File "scml2moai.py", line 181, in main

    xml.sax.parse (inpath, handler)

    File "C:\Python33\lib\xml\sax\__init__.py", line 33, in parse

    parser.parse(source)

    File "C:\Python33\lib\xml\sax\expatreader.py", line 107, in parse

    xmlreader.IncrementalParser.parse(self, source)

    File "C:\Python33\lib\xml\sax\xmlreader.py", line 123, in parse

    self.feed(buffer)

    File "C:\Python33\lib\xml\sax\expatreader.py", line 207, in feed

    self._parser.Parse(data, isFinal)

    File "C:\Python33\lib\xml\sax\expatreader.py", line 304, in start_element

    self._cont_handler.startElement(name, AttributesImpl(attrs))

    File "scml2moai.py", line 52, in startElement

    keys = self.timelines[timeline] if self.timelines.has_key(timeline) else Ord

    eredDict()

    AttributeError: 'OrderedDict' object has no attribute 'has_key'

    Any ideas?

×
×
  • Create New...