Titi Anggono wrote: > 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 -- http://mail.python.org/mailman/listinfo/python-list