"Need more than 0 values to unpack"

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

"Need more than 0 values to unpack"

Postby di gama » Tue Jul 01, 2008 8:54 am

I have been working with the tutorial to try to get textures to work (stencils are UNREASONABLY DIFFICULT), and my latest attempt has resulted in the following error from PyPRP when I try to export (Generate Release (.age)):

Exporting c:\Program Files\Ubi Soft\Cyan Worlds\Myst Uru Complete Chronicles\dat\Tutorial.age ...
Args are e_age_final
['e', 'age', 'final']
Exporting age Tutorial
[AlcScript Parser]
{'DayLength': 24.0, 'LingerTime': 180, 'MaxCapacity': 10, 'StartDateTime': 0, 'SequencePrefix': 100}
{'AgeSDLHook': True}
[]
{'DayLength': 24.0, 'LingerTime': 180, 'MaxCapacity': 10, 'StartDateTime': 0, 'SequencePrefix': 100}
#########################################
##
## => Exporting page Textures -1 <=
##
#########################################
#########################################
##
## => Exporting page BuiltIn -2 <=
##
#########################################
>>> Added AgeSDLHook scene object and python file mod
#########################################
##
## => Exporting page mainRoom 0 <=
##
#########################################

[SpawnPoint LinkInPointDefault]
[Coordinate Interface LinkInPointDefault]
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None

[Lamp Lamp]
[Light Base]

Diffuse Lighting Enabled
Specular Lighting Enabled
>>> !kLPCastShadows <<<
>>> !kLPShadowOnly <<<
[Coordinate Interface Lamp]

[Camera Camera.001]
[Coordinate Interface Camera.001]
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None
Exporting Camera Modifier Object
Calculating FOV for lens is 35 mm
Camera Brain: fixed
Exporting CameraBrain1
Exporting CameraBrain1_Fixed

[Region Object Cylinder]
Region type: unknown
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None
[Physical]
HullBounds export
Exporting 18 (18) vertices
Setting Region-Specific settings....
Object is Dynamic
[Coordinate Interface Cylinder]

[Camera Camera]
[Coordinate Interface Camera]
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None
Exporting Camera Modifier Object
Calculating FOV for lens is 35 mm
Camera Brain: fixed
Exporting CameraBrain1
Exporting CameraBrain1_Fixed

[Visual Object Surf]
[LogicHelper]
No actions in list
None
Exporting modifiers
No modifiers
None
[Draw Interface Surf]
Traceback (most recent call last):
File "<string>", line 174, in open_file
File "<string>", line 88, in export_age
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alcresmanager.py", line 709, in export_all
plDrawInterface.Export(self,obj,scnobj,name,SceneNodeRef,isdynamic,softVolumeParser, water)
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alc_DrawClasses.py", line 1557, in _Export
drawi.data.export_obj(obj,SceneNodeRef,isdynamic,softVolParser, water)
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alc_DrawClasses.py", line 1688, in export_obj
bone,weight = mesh.getVertexInfluences(vector.index)
ValueError: need more than 0 values to unpack


It's unclear what is causing this to happen, and I can't seem to fix it. Do any of you know what this means?
di gama
 
Posts: 41
Joined: Fri Feb 29, 2008 5:11 pm

Re: "Need more than 0 values to unpack"

Postby Tsar Hoikas » Tue Jul 01, 2008 12:40 pm

Make sure you don't have any vertex groups nor vertex weights. PyPRP doesn't support them (yet?)
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: "Need more than 0 values to unpack"

Postby di gama » Tue Jul 01, 2008 8:10 pm

Yep, I had a vertex group in there by accident. Thanks! By the way, for future reference, you should probably add that to the error msg if anyone else finds that problem.
di gama
 
Posts: 41
Joined: Fri Feb 29, 2008 5:11 pm

Re: "Need more than 0 values to unpack"

Postby Tsar Hoikas » Tue Jul 01, 2008 9:33 pm

Done! :)
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: "Need more than 0 values to unpack"

Postby Christian Walther » Sat Jul 05, 2008 8:51 am

Tsar Hoikas wrote:...vertex groups nor vertex weights. PyPRP doesn't support them (yet?)


That's good to know, because it means I don't need to bother finding out what they are (yet), fearing that my modifier applying hack breaks them :).
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland


Return to Building

Who is online

Users browsing this forum: No registered users and 6 guests

cron