Early Python Warning...

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Simon B
---- E L I T E ----
---- E L I T E ----
Posts: 836
Joined: Thu Oct 23, 2008 5:54 am
Location: Red Beach NZ
Contact:

Early Python Warning...

Post 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.
Simon Bridge
[re2dux] [neolite]
"Everything is perfect down to every last flaw..."
HBT: The Book of Verse - Principia Discordia
User avatar
Simon B
---- E L I T E ----
---- E L I T E ----
Posts: 836
Joined: Thu Oct 23, 2008 5:54 am
Location: Red Beach NZ
Contact:

Post by Simon B »

Updated - last upgrade fixed the python thingy.
Simon Bridge
[re2dux] [neolite]
"Everything is perfect down to every last flaw..."
HBT: The Book of Verse - Principia Discordia
Post Reply