installing vrmlexport module ??

T

Titi Anggono

Hi all,

I've downloaded vrmlexport.py from:
http://www.andrew.cmu.edu/user/mzk/vrmlexport/
and install it under /usr/lib/python2.2/lib-old
directory using command:
python vrmlexport.py

I got the following error:
=============================================
Traceback (most recent call last):
File "vrmlexport.py", line 662, in ?
print export()
File "vrmlexport.py", line 653, in export
povray_code += findframes(scene)
File "vrmlexport.py", line 584, in findframes
vrml_objects += function(obj)
File "vrmlexport.py", line 220, in export_box
if (new_axis.x!=0 or new_axis.y!=0 or
new_axis.z!=0):
UnboundLocalError: local variable 'new_axis'
referenced before assignment
===============================================

Are there any suggestion ? (note, I am very new to
python :) )

Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 
P

Peter Hansen

Titi said:
I've downloaded vrmlexport.py from:
http://www.andrew.cmu.edu/user/mzk/vrmlexport/ ....
File "vrmlexport.py", line 220, in export_box
if (new_axis.x!=0 or new_axis.y!=0 or
new_axis.z!=0):
UnboundLocalError: local variable 'new_axis'
referenced before assignment
===============================================

Are there any suggestion ? (note, I am very new to
python :) )

It's a bug. You should probably report it to the maintainer of that
project, not just as you did here. Probably describing the conditions
that led to that failure too (i.e. your input file, etc).

-Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,261
Messages
2,571,308
Members
47,976
Latest member
AlanaKeech

Latest Threads

Top