Skip to content

Import feature not working #5

Description

@fatimaayman

I was trying to import a json file with some animation, but I got the following error:

"Import finished.
Python: Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\CAfP\bone_motion.py", line 193, in execute
bone_name = active_bone.basename
AttributeError: 'NoneType' object has no attribute 'basename'

location: C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\bpy\ops.py:132
Error: Python: Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\CAfP\bone_motion.py", line 193, in execute
bone_name = active_bone.basename
AttributeError: 'NoneType' object has no attribute 'basename'

location: C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\bpy\ops.py:132

Python: Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\CAfP\file_op.py", line 63, in execute
bpy.ops.cafp.boneanimator()
File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\bpy\ops.py", line 132, in call
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\CAfP\bone_motion.py", line 193, in execute
bone_name = active_bone.basename
AttributeError: 'NoneType' object has no attribute 'basename'

location: C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\modules\bpy\ops.py:132

location: :-1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions