Chicken export error in Windows

Hi!

I’m new to Panda3D but not I have a little experience with game programming. I’m trying to export a typical model, the one found here:

e2-productions.com/repository/mo … =1&lid=274

I get this error when the script crashes:

Configuring chicken, script is C:\Users\David\AppData\Roaming\Blender Foundation
\Blender\.blender\scripts\bpydata\chicken/chicken_config.py
C:\Users\David\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\chick
en_exportR85.py
Settings for export not found. Using defaults.
Traceback (most recent call last):
  File "chicken_exportR85.py", line 872, in button
    self.buttonFuncs[evt]()
  File "chicken_exportR85.py", line 728, in fExport
    self.doExport()
  File "chicken_exportR85.py", line 373, in doExport
    character = Character(self.armature, self.meshes['armature'], self.mExtract
and self.srb, self.animOnly, addTangents=self.doTangents)
  File "chicken_exportR85.py", line 1552, in __init__
    self.children = [Group(mesh=m, anim = True,addTangents = addTangents) for m
in meshes]
  File "chicken_exportR85.py", line 1440, in __init__
    MATERIALS[mat.name] = Material(mat, self)
  File "chicken_exportR85.py", line 1016, in __init__
    filename = texSpec[0].tex.getImage().getFilename()
AttributeError: 'NoneType' object has no attribute 'getFilename'

I hope you can help me out here, please.

Thank you very much!

That model uses packed textures - you need to unpack them to files on the hardrive. This is because panda needs to get at the textures, which is only possible if they are saved as a file, using a format it can load, i.e. png for instance. That error message should probably be a bit better though…

Thank you very much, that was the problem. Like you said, the script shouldn’t thrown an exception, it should tell the problem.

Again, thanks!