Skip to content

[Blender 5.0] Preview Bug #284

@Jan-135

Description

@Jan-135

Describe the bug
When I want to publish my file with Output-Media-Type set to Multi-Layer-EXR the publish process freezes.

To Reproduce
Steps to reproduce the behavior:
Tik Manager is connected with a Kitsu Server. ( I do not know if this is important)

  1. Load a scene.
  2. In the Output Settings set the Media Type to Multi-Layer-EXR
  3. Publsih the current file.
  4. "Reserving Slot..." is beeing shown in the UI
  5. Following error is in the console:

Traceback (most recent call last):
File "C:\Program Files/TikWorks\tik_manager4\ui\dialog\publish_dialog.py", line 638, in publish
self.project.publisher.publish(
File "C:\Program Files/TikWorks\tik_manager4\objects\publisher.py", line 272, in publish
abs_thumbnail_path = self._generate_thumbnail()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files/TikWorks\tik_manager4\objects\publisher.py", line 327, in _generate_thumbnail
self._dcc_handler.generate_thumbnail(thumbnail_path, *(thumbnail_resolution))
File "C:\Program Files/TikWorks\tik_manager4\dcc\blender\utils.py", line 73, in _keepfunc
raise e
File "C:\Program Files/TikWorks\tik_manager4\dcc\blender\utils.py", line 70, in _keepfunc
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files/TikWorks\tik_manager4\dcc\blender\main.py", line 82, in generate_thumbnail
bpy.context.scene.render.image_settings.file_format = extension_map.get(extension, 'JPEG')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: bpy_struct: item.attr = val: enum "JPEG" not found in ('OPEN_EXR_MULTILAYER')

Expected behavior
The publish goes through and I can see a new thumbnail on Kitsu.

DCC

  • Dcc name: Blender
  • Dcc Version 5.0.1

Desktop:

  • OS: Windows
  • Version 11

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