Page 1 of 1

Export Error:

PostPosted: Thu Apr 29, 2010 7:05 am
by Jman
Hey Guys,

I've been creating a High-Poly Mesh to bake normal & ambient occlusion maps. Then I decimated the mesh down to around 5000 vertices. I just tried to export the Low Poly mesh and I got this error: "NameError: global name 'sceneObjects' is not defined" I'm totally baffled by it. Hope someone can help me out.

Thanks. - Jman

Re: Export Error:

PostPosted: Fri Apr 30, 2010 4:39 am
by Robert The Rebuilder
Jman:

Could you post the information that Blender displayed in its DOS command window when you received the error? It should contain a 'stack trace' that will pinpoint the location in the PyPRP plugin where the error occurred.

Re: Export Error:

PostPosted: Fri Apr 30, 2010 7:09 am
by Jman
Here is the full stack trace. The log file associated with the Age file is empty.

Traceback (most recent call last):
File "G:\Portable Apps\Graphics Tools\X-Blender\Bin\Blender\.blender\scripts\u
ruprp_export.py", line 173, in open_file
export_age(agename,basepath,selection,merge)
File "G:\Portable Apps\Graphics Tools\X-Blender\Bin\Blender\.blender\scripts\u
ruprp_export.py", line 88, in export_age
page.export_all(selection)
File "G:\Portable Apps\Graphics Tools\X-Blender\Bin\Blender\.blender\scripts\a
lcresmanager.py", line 245, in export_all
self.prp.updateSceneNode()
File "G:\Portable Apps\Graphics Tools\X-Blender\Bin\Blender\.blender\scripts\a
lcprpfile.py", line 696, in updateSceneNode
sceneObjects
NameError: global name 'sceneObjects' is not defined

Re: Export Error:

PostPosted: Fri Apr 30, 2010 7:23 am
by Jman
Sorry Guys. I figured it out. I was trying to export with the Age Importer Version of PyPRP. I must have forgotten to switch it back when I was looking at Cyan Ages late one night. Anyway, I'm in mid-export right now, but it seems to be running smoothly.

Robert - Thanks for making me look closer at that Trace Stack.

Jman