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

RuntimeError: Failed to get Image Editor. This is unexpected. #8

Closed
Andrej730 opened this issue May 13, 2023 · 2 comments
Closed

RuntimeError: Failed to get Image Editor. This is unexpected. #8

Andrej730 opened this issue May 13, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Andrej730
Copy link
Contributor

Andrej730 commented May 13, 2023

Blender 3.5, got this error importing texture below.

RuntimeError: Failed to get Image Editor. This is unexpected.
Traceback (most recent call last):
  File "\addons\blender_dds_addon\ui\import_dds.py", line 166, in execute_base
    import_dds(context, os.path.join(directory, file.name))
  File "\addons\blender_dds_addon\ui\import_dds.py", line 123, in import_dds
    space = get_image_editor_space(context)
  File "\addons\blender_dds_addon\ui\bpy_util.py", line 24, in get_image_editor_space
    raise RuntimeError('Failed to get Image Editor. This is unexpected.')
RuntimeError: Failed to get Image Editor. This is unexpected.
@Andrej730
Copy link
Contributor Author

Turn out I didn't have image editor opened. Fixed in #9

@matyalatte matyalatte added the bug Something isn't working label May 16, 2023
@matyalatte
Copy link
Owner

matyalatte commented May 16, 2023

Thanks for the report!
I'll merge it.

(edit)
I'll close this issue after releasing the fixed version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants