Dutcheeseblend
Resource contributor
- Messages
- 1,541
- Country
Hi everybody,
This came into my mind this morning: I might set up a thread about the error messages I've got in B2X, and others have got. I hope this helps other people in troubleshooting.
Felix: I used your comments like you gave them before. I'll try to collect some more messages and you guys are free to do so either
Case I:
Solution/comment: The error is from line 1862 in export_fsx.py. Looking at the code in the vicinity of that line, you can tell that it comes from a bone with constraints and no animation tag applied. Bones with constraints move, so they need an animation tag.
Case II:
Solution/comment: not yet resolved in version 8.1
Case III:
Solution/comment: Some object has an animation tag, but is not animated. This is the case when you have an object with constraints. It isn't animated by itself, it follows a constraint which is not written into its animation_data.
This came into my mind this morning: I might set up a thread about the error messages I've got in B2X, and others have got. I hope this helps other people in troubleshooting.
Felix: I used your comments like you gave them before. I'll try to collect some more messages and you guys are free to do so either
Case I:
Code:
Traceback (most recent call last):
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\__init__.py", line 138, in execute
Exporter = export_fsx.FSXExporter(self, context)
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 162, in __init__
AnimationGenerators = self.__GatherAnimationGenerators()
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 715, in __GatherAnimationGenerators
None, Object, self.modeldefTree))
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 1839, in __init__
self._GenerateBoneKeys()
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 1862, in _GenerateBoneKeys
framerange = int(animtag.attrib['length'])
AttributeError: 'NoneType' object has no attribute 'attrib'
location: <unknown location>:-1
Solution/comment: The error is from line 1862 in export_fsx.py. Looking at the code in the vicinity of that line, you can tell that it comes from a bone with constraints and no animation tag applied. Bones with constraints move, so they need an animation tag.
Case II:
Code:
Traceback (most recent call last):
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\__init__.py", line 138, in execute
Exporter = export_fsx.FSXExporter(self, context)
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 74, in __init__
ob.Children.append(ExportMap[child])
KeyError: bpy.data.objects['Armature_TW']
location: <unknown location>:-1
Solution/comment: not yet resolved in version 8.1
Case III:
Code:
Traceback (most recent call last):
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\__init__.py", line 138, in execute
Exporter = export_fsx.FSXExporter(self, context)
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 162, in __init__
AnimationGenerators = self.__GatherAnimationGenerators()
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 718, in __GatherAnimationGenerators
None, Object, self.modeldefTree))
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 1684, in __init__
self._GenerateKeys()
File "C:\Users\A.H.T. Kaasjager\AppData\Roaming\Blender Foundation\Blender\2.72\scripts\addons\io_scene_fsx\export_fsx.py", line 1704, in _GenerateKeys
FCurves = BlenderObject.animation_data.action.fcurves
AttributeError: 'NoneType' object has no attribute 'fcurves'
location: <unknown location>:-1
Solution/comment: Some object has an animation tag, but is not animated. This is the case when you have an object with constraints. It isn't animated by itself, it follows a constraint which is not written into its animation_data.