Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting py args to operator properties:: keyword "export_colors" unrecognized #200

Open
IamTheCarl opened this issue Jul 24, 2024 · 3 comments

Comments

@IamTheCarl
Copy link

Hello. I created a simple scene in Blender provided here as a zip file.

When I attempt to use the gltf_auto_export plugin for Blender, I get the following error every time I save:

failed to export gltf ! Converting py args to operator properties:: keyword "export_colors" unrecognized
Traceback (most recent call last):
  File "/home/thecarl/.var/app/org.blender.Blender/config/blender/4.2/scripts/addons/gltf_auto_export/auto_export/auto_export.py", line 124, in auto_export
    export_main_scene(bpy.data.scenes[scene_name], folder_path, addon_prefs, library_collections)
  File "/home/thecarl/.var/app/org.blender.Blender/config/blender/4.2/scripts/addons/gltf_auto_export/auto_export/export_main_scenes.py", line 61, in export_main_scene
    generate_and_export(
  File "/home/thecarl/.var/app/org.blender.Blender/config/blender/4.2/scripts/addons/gltf_auto_export/helpers/generate_and_export.py", line 47, in generate_and_export
    raise error
  File "/home/thecarl/.var/app/org.blender.Blender/config/blender/4.2/scripts/addons/gltf_auto_export/helpers/generate_and_export.py", line 44, in generate_and_export
    export_gltf(gltf_output_path, export_settings)
  File "/home/thecarl/.var/app/org.blender.Blender/config/blender/4.2/scripts/addons/gltf_auto_export/auto_export/export_gltf.py", line 53, in export_gltf
    bpy.ops.export_scene.gltf(**settings)
  File "/app/blender/4.2/scripts/modules/bpy/ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Converting py args to operator properties:: keyword "export_colors" unrecognized

I have found that if I use your provided example blend files, I do not get this error and the expected gltf is produced.
This is very likely to be user error but it is very unclear what my mistake is. Could someone expand on what's going on here?

Information about my system: system-info.txt
That file does not make it clear that I am running Blender from a Flatpak.

@chompaa
Copy link

chompaa commented Jul 28, 2024

I see that you're using Blender 4.2. I had the same issue, switching to 3.6 fixed it for me. Notably, I had a different (but similar) issue on 3.0, too.

@jjoshpoland
Copy link

Bumping as I also have this issue.

@jjoshpoland
Copy link

Updating to say that ARP 3.72.39 seems to have fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants