Page 1 of 1

Early Python Warning...

Posted: Wed Oct 29, 2008 12:32 am
by Simon B
May be premature... which version of python does that obj2dat script need?

Ubuntu current version (python) is 2.5
Just now I'm getting:

Code: Select all

Traceback (most recent call last):
  File "/usr/local/bin/obj2dat.py", line 19, in <module>
    outputfilename = outputfilename,append(".1")
NameError: name 'append' is not defined
this usually happens when python gets updated.

Currently running:

sudo apt-get install python-all

... makes sure the 2.4 dependencies are installed. However - I didn't need them before and AFAIK I have not updated since I last ran the script earlier this week.

... and, I'm installing a python debugger JIC. I can have a go at this - but I suspect someone else already knows what is going on.

If not - I'll try again this evening (NZDT) - so I suppose that means only insomniacs in the northern hemisphere will be able to respond?

[Observation]
My version of the script starts out:

Code: Select all

"""
This script takes a Wavefront .obj file
and exports a .dat file containing the same trimesh.

Colour for the faces is set to flat grey (127,127,127)
and surface normals calculated for each triangle.
"""
... could whoever is maintaining this please put a version number and date (and a license notice - unless this script is intended to be proprietary) so we can tell how recent the script we have is really?

Thank you.

Posted: Sat Nov 22, 2008 7:09 pm
by Simon B
Updated - last upgrade fixed the python thingy.