Error: An exception has been raised in the python script
’NoneType’ object has no attribute 'filepath’
File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 821, in AddScene
AddObject(pvrgeopod, obj, -1, True)
File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 748, in AddObject
AddObject(pvrgeopod, child, id, True)
File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 718, in AddObject
id = AddMesh(pvrgeopod, obj, parentID)
File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 312, in AddMesh
materiallist.append(AddMaterial(pvrgeopod, material))
File “G:\Program Files (x86)\Blender Foundation\Blender32\2.75\scripts\addons\PVRGeoPODScript.py”, line 656, in AddMaterial
node.pTexDiffuse = bpy.path.basename(tex.texture.image.filepath).encode(‘utf-8’)
This is the error I get. I found a workaround however it messes my animations up. I export in Collada format and then convert into POD format using PVRGeoPOD but the animations are very skewed. I want to use the blender plugin but unless I export without materials, it doesn’t work. Any idea of what could be causing this? I’ve already done a good amount of research and can’t find anything.
Hello, I had the similar problem. Here is the screenshot of the error message I got. I wonder if you found a solution for this? You can download the blender file here:
Many thanks for supplying the file. I was able to replicate this issue. I will be looking into this problem shortly. I will update this thread as soon as I have a solution.
The problem with your Blender file was that some of the meshes were not triangulated. I have updated the python script so it will triangulate them for you. Just replace the original one by this one. This fix makes your file to export properly. Let me know if it works for you.
Yes, I no longer get the error message and can successfully export .pod files. Thank you!
(*) Just another question, I have a smoke domain in my design and once exported to .pod, it becomes a solid object. Is it possible to export smoke to .pod? Thank you
When we migrated to this new forum the attachments disappeared. It should be available as part of our next release shortly. In the mean time I have attached the python script again.
If your problem does not goes away and you want to share large files with us, I would recommend using our ticketing system here