internal error: modal gizmo-map handler has invalid area #91360

Open
opened 2021-09-12 20:11:48 +02:00 by CHET · 18 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 950M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-09-11 20:00, hash: 15405685d9
Worked: (newest version of Blender that worked as expected)

Short description of error
When rendering to the Image Editor and toggling "maximize area" while rendering, an error is displayed in the console

image.png

Step to Reproduce

  • open test.blend
  • make sure Preferences > Interface > Editors > Temporary Editors > Render In is set to Image Editor
  • render {key Ctrl F12}
  • Hit {key Ctrl + Space} when rendering
internal error: modal gizmo-map handler has invalid area

test.blend
userpref.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 950M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-09-11 20:00, hash: `15405685d9` Worked: (newest version of Blender that worked as expected) **Short description of error** When rendering to the Image Editor and toggling "maximize area" while rendering, an error is displayed in the console ![image.png](https://archive.blender.org/developer/F10404030/image.png) **Step to Reproduce** - open `test.blend` - make sure `Preferences` > `Interface` > `Editors` > `Temporary Editors` > `Render In` is set to `Image Editor` - render {key Ctrl F12} - Hit {key Ctrl + Space} when rendering ``` internal error: modal gizmo-map handler has invalid area ``` [test.blend](https://archive.blender.org/developer/F10408992/test.blend) [userpref.blend](https://archive.blender.org/developer/F10409027/userpref.blend)
Author

Added subscriber: @cheteron

Added subscriber: @cheteron
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Thanks for the report. Can not reproduce on master: b5a1c194c5dde20b13e3dd3372055d8b5e58a18e

Did you try with factory settings? File -> Defaults -> Load Factory settings

What steps exactly you have followed? Can you please clarify?


From present info, I guessed these steps:

  • View -> Area -> Toggle Maximize Area
  • F12 or switch viewport shading to Render
Thanks for the report. Can not reproduce on master: `b5a1c194c5dde20b13e3dd3372055d8b5e58a18e` Did you try with factory settings? `File -> Defaults -> Load Factory settings` What steps exactly you have followed? Can you please clarify? --- From present info, I guessed these steps: - `View -> Area -> Toggle Maximize Area` - F12 or switch viewport shading to Render
Author

With my settings

test.blend
userpref.blend
M3EzBRDqUx.mp4

With default settings

Traceback (most recent call last):
  File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\modules\bpy_types.py", line 826, in draw_ls func(self, context)
  File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\addons\render_auto_tile_size.py", line 459, in menu_func_cycles ui_layout('CYCLES', self.layout, context)
  File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\addons\render_auto_tile_size.py", line 410, in ui_layout settings = scene.ats_settings
AttributeError: 'Scene' object has no attribute 'ats_settings'

Then reverse settings to saved

_______REgister previews
Exception ignored in: <function ImagePreviewCollection.__del__ at 0x000001B1D8EF3310>
Traceback (most recent call last):
  File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\modules\bpy\utils\previews.py", line 82, in __del__
    raise ResourceWarning(
ResourceWarning: <ImagePreviewCollection id=0x1b1d8f37e50[17], <super: <class 'ImagePreviewCollection'>, <ImagePreviewCollection object>>>: left open, remove with 'bpy.utils.previews.remove()'
.. .ao
.. .ao_legacy
.. .bevel_mask
.. .cavity
.. .curvature
.. .diffuse
.. .displacment
.. .dust
.. .id_element
.. .id_material
.. .normal_object
.. .normal_object_bevel
.. .normal_tangent
.. .normal_tangent_bevel
.. .paint_base
.. .position
.. .selection
.. .wireframe
Exception in module register(): C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\textools\__init__.py
Traceback (most recent call last):
  File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\modules\addon_utils.py", line 387, in enable
    mod.register()
  File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\textools\__init__.py", line 1436, in register
    utilities_ui.icon_register(icon)
  File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\textools\utilities_ui.py", line 61, in icon_register
    preview_icons.load(name, os.path.join(icons_dir, fileName), 'IMAGE')
  File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\modules\bpy\utils\previews.py", line 100, in load
    raise KeyError("key %r already exists" % name)
KeyError: "key 'bake_anti_alias' already exists"
Traceback (most recent call last):
  File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def
    props = ob.reaction_diffusion_settings
AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings'
post 1 1
internal error: modal gizmo-map handler has invalid area
Traceback (most recent call last):
  File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def
    props = ob.reaction_diffusion_settings
AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings'
post 1 1
internal error: modal gizmo-map handler has invalid area

Disable textools and tissue

addon_utils.disable: textools not disabled
Traceback (most recent call last):
  File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def
    props = ob.reaction_diffusion_settings
AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings'
post 1 1
internal error: modal gizmo-map handler has invalid area
addon_utils.disable: textools not disabled
Traceback (most recent call last):
  File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def
    props = ob.reaction_diffusion_settings
AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings'
post 1 1
internal error: modal gizmo-map handler has invalid area
Traceback (most recent call last):
  File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def
    props = ob.reaction_diffusion_settings
AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings'
post 1 1
internal error: modal gizmo-map handler has invalid area
**With my settings** [test.blend](https://archive.blender.org/developer/F10408992/test.blend) [userpref.blend](https://archive.blender.org/developer/F10409027/userpref.blend) [M3EzBRDqUx.mp4](https://archive.blender.org/developer/F10408991/M3EzBRDqUx.mp4) **With default settings** ``` Traceback (most recent call last): File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\modules\bpy_types.py", line 826, in draw_ls func(self, context) File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\addons\render_auto_tile_size.py", line 459, in menu_func_cycles ui_layout('CYCLES', self.layout, context) File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\addons\render_auto_tile_size.py", line 410, in ui_layout settings = scene.ats_settings AttributeError: 'Scene' object has no attribute 'ats_settings' ``` **Then reverse settings to saved** ``` _______REgister previews Exception ignored in: <function ImagePreviewCollection.__del__ at 0x000001B1D8EF3310> Traceback (most recent call last): File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\modules\bpy\utils\previews.py", line 82, in __del__ raise ResourceWarning( ResourceWarning: <ImagePreviewCollection id=0x1b1d8f37e50[17], <super: <class 'ImagePreviewCollection'>, <ImagePreviewCollection object>>>: left open, remove with 'bpy.utils.previews.remove()' .. .ao .. .ao_legacy .. .bevel_mask .. .cavity .. .curvature .. .diffuse .. .displacment .. .dust .. .id_element .. .id_material .. .normal_object .. .normal_object_bevel .. .normal_tangent .. .normal_tangent_bevel .. .paint_base .. .position .. .selection .. .wireframe Exception in module register(): C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\textools\__init__.py Traceback (most recent call last): File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\modules\addon_utils.py", line 387, in enable mod.register() File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\textools\__init__.py", line 1436, in register utilities_ui.icon_register(icon) File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\textools\utilities_ui.py", line 61, in icon_register preview_icons.load(name, os.path.join(icons_dir, fileName), 'IMAGE') File "C:\Program Files\Blender_test\blender-3.0\3.0\scripts\modules\bpy\utils\previews.py", line 100, in load raise KeyError("key %r already exists" % name) KeyError: "key 'bake_anti_alias' already exists" Traceback (most recent call last): File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def props = ob.reaction_diffusion_settings AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings' post 1 1 internal error: modal gizmo-map handler has invalid area Traceback (most recent call last): File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def props = ob.reaction_diffusion_settings AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings' post 1 1 internal error: modal gizmo-map handler has invalid area ``` **Disable textools and tissue** ``` addon_utils.disable: textools not disabled Traceback (most recent call last): File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def props = ob.reaction_diffusion_settings AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings' post 1 1 internal error: modal gizmo-map handler has invalid area addon_utils.disable: textools not disabled Traceback (most recent call last): File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def props = ob.reaction_diffusion_settings AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings' post 1 1 internal error: modal gizmo-map handler has invalid area Traceback (most recent call last): File "C:\Users\CHET\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\tissue-b280-dev\weight_tools.py", line 2941, in reaction_diffusion_def props = ob.reaction_diffusion_settings AttributeError: 'Scene' object has no attribute 'reaction_diffusion_settings' post 1 1 internal error: modal gizmo-map handler has invalid area ```
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Hi, I am not able to reproduce with default settings (neither with you preferences)

Reproducing steps are still not clear to me. After opening the file what exactly I have to do? (Just hitting render does not cause the issue)

Hi, I am not able to reproduce with default settings (neither with you preferences) Reproducing steps are still not clear to me. After opening the file what exactly I have to do? (Just hitting render does not cause the issue)
Author

Try with my settings. Just hit render, only when rendering hit ctrl+space (maximize area) in render view, then error will appear in console.

I have not seen this with the default settings, but I cannot work with the default settings, because a lot of hotkeys are tied, and the interface has been reconfigured. Otherwise, what's the point in personal settings if the blender only works on default

Try with my settings. Just hit render, only when rendering hit ctrl+space (maximize area) in render view, then error will appear in console. I have not seen this with the default settings, but I cannot work with the default settings, because a lot of hotkeys are tied, and the interface has been reconfigured. Otherwise, what's the point in personal settings if the blender only works on default
Member

Hi, still unable to reproduce with provided userpref.blend file. May be some add-on is interfering?

Could you try enabling one add-on at a time and see when the error occurs?

I think an external add-on introduces this issue because with rest active (official-community) add-ons from your userprefs.blend, described issue is not reproducible.

Hi, still unable to reproduce with provided `userpref.blend` file. May be some add-on is interfering? Could you try enabling one add-on at a time and see when the error occurs? I think an external add-on introduces this issue because with rest active (official-community) add-ons from your `userprefs.blend`, described issue is not reproducible.
Author

I turned off all "User" addons, and same problem. Reinstall new Tissue - same problem. Turn off Tissue - same problem. I tried to disable the settings of each category, even recovering hotkeys - the problem is the same. Tested on version 2.93.5 with the same addons - no problems.

Now I continue to search for the source of the problem.

I turned off all "User" addons, and same problem. Reinstall new Tissue - same problem. Turn off Tissue - same problem. I tried to disable the settings of each category, even recovering hotkeys - the problem is the same. Tested on version 2.93.5 with the same addons - no problems. Now I continue to search for the source of the problem.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Author

Probably found a problem. If you do not turn on denoise, then the error message is not displayed. But if you turn on denoise, get an error and turn off denoise, then the error will still continue to display
blender_8YZ0zvbie6.jpg

Probably found a problem. If you do not turn on denoise, then the error message is not displayed. But if you turn on denoise, get an error and turn off denoise, then the error will still continue to display ![blender_8YZ0zvbie6.jpg](https://archive.blender.org/developer/F10515142/blender_8YZ0zvbie6.jpg)
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can reproduce in 9dff3de6ac.
For me, this even happens without Denoiser being turned on.

Steps to repro:

  • open test.blend
  • make sure Preferences > Interface > Editors > Temporary Editors > Render In is set to Image Editor
  • render {key Ctrl F12}
  • Hit {key Ctrl + Space} when rendering
internal error: modal gizmo-map handler has invalid area
Can reproduce in 9dff3de6ac. For me, this even happens without Denoiser being turned on. Steps to repro: - open `test.blend` - make sure `Preferences` > `Interface` > `Editors` > `Temporary Editors` > `Render In` is set to `Image Editor` - render {key Ctrl F12} - Hit {key Ctrl + Space} when rendering ``` internal error: modal gizmo-map handler has invalid area ```
Philipp Oeser changed title from Internal error to internal error: modal gizmo-map handler has invalid area 2021-10-14 16:16:18 +02:00
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

Based on the comment in wm_gizmomap_handler_context_op this seems to somewhat be expected behavior (so maybe just removing the printf would be fine -- or wording it differently [in that not calling this an error])

CC @JulianEisel

Based on the comment in `wm_gizmomap_handler_context_op` this seems to somewhat be expected behavior (so maybe just removing the `printf` would be fine -- or wording it differently [in that **not** calling this an error]) CC @JulianEisel
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:23:10 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#91360
No description provided.