Skip to content

[Blender] Alembic/USD extract at publish from blender error (context override error) #264

@samytichadou

Description

@samytichadou

Describe the bug
Publishing a file from blender with alembic export fails

To Reproduce
Open a file from blender
Publish it from blender with alembic/USD extract
Fails

Expected behavior
Alembic/USD extract should work

DCC
Please complete the following information:

  • Dcc name(s): blender
  • Dcc Version(s) 4.3.2

Desktop (please complete the following information):

  • OS: Win
  • Version 11

Additional context
Seems to be a context error, didn't manage to fix it (not a lot of time, just doing some research on foss production frameworks :) )
the incriminated method seems to be get_override_context from the utils.py file

And btw, thank you and all collaborators for your work, tik seems awesome !

ERROR:tik_manager4:03/09/25 - 12:01 - EXCEPTION: 'active_action' is an invalid keyword argument for print()
Traceback (most recent call last):
  File "C:\Program Files\TikWorks\tik_manager4\dcc\extract_core.py", line 206, in extract
    func()
  File "C:\Program Files\TikWorks\tik_manager4\dcc\blender\extract\alembic.py", line 97, in _extract_model
    with bpy.context.temp_override(**utils.get_override_context()):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'active_action' is an invalid keyword argument for print()
ERROR:tik_manager4:03/09/25 - 12:01 - ERROR    : Error while extracting alembic to C:\Users\G513\TM4_default\assets\asset01\Model\blender\publish\asset01_Model
Traceback (most recent call last):
  File "C:\Program Files\TikWorks\tik_manager4\dcc\extract_core.py", line 206, in extract
    func()
  File "C:\Program Files\TikWorks\tik_manager4\dcc\blender\extract\alembic.py", line 97, in _extract_model
    with bpy.context.temp_override(**utils.get_override_context()):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'active_action' is an invalid keyword argument for print()

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