Error in Material Utilities add-on on unregister #83209

Open
opened 2020-11-30 03:40:20 +01:00 by (Deleted) · 4 comments
(Deleted) commented 2020-11-30 03:40:20 +01:00 (Migrated from localhost:3001)

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version:

  • 2.92.0 Alpha, branch: master, commit date: 2020-11-29 08:04, hash: blender/blender@13c820d87b
  • 2.91
    Worked: 2.90.1

Addon Information
Name: Material Utilities (2, 2, 0)
Author: MichaleW, ChrisHinde

Short description of error
The Material Utilities add-on causes an exception when the add-ons are unregistered before Blender closes:

Exception in module unregister(): 'Z:\\01_git\\01_contribution\\blender-git\\build_windows_Full_x64_vc16_Debug\\bin\\Debug\\2.92\\scripts\\addons\\materials_utils\\__init__.py'
Traceback (most recent call last):

File "Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\2.92\scripts\modules\addon_utils.py", line 434, in disable
mod.unregister()
File "Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\2.92\scripts\addons\materials_utils_init_.py", line 193, in unregister
bpy.utils.unregister_manual_map(materialutilities_manual_map)
File "Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\2.92\scripts\modules\bpy\utils_init_.py", line 994, in unregister_manual_map
_manual_map.remove(manual_hook)

ValueError: list.remove(x): x not in list

Exact steps for others to reproduce the error

  • Enable the Material Utilities add-on (Edit > Preferences > Add-ons).
  • Save preferences.
  • Start Blender from CLI using the -b option.
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30 **Blender Version** Broken: version: - 2.92.0 Alpha, branch: master, commit date: 2020-11-29 08:04, hash: `blender/blender@13c820d87b` - 2.91 Worked: 2.90.1 **Addon Information** Name: Material Utilities (2, 2, 0) Author: MichaleW, ChrisHinde **Short description of error** The Material Utilities add-on causes an exception when the add-ons are unregistered before Blender closes: ```lines Exception in module unregister(): 'Z:\\01_git\\01_contribution\\blender-git\\build_windows_Full_x64_vc16_Debug\\bin\\Debug\\2.92\\scripts\\addons\\materials_utils\\__init__.py' Traceback (most recent call last): ``` File "Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\2.92\scripts\modules\addon_utils.py", line 434, in disable mod.unregister() File "Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\2.92\scripts\addons\materials_utils\__init__.py", line 193, in unregister bpy.utils.unregister_manual_map(materialutilities_manual_map) File "Z:\01_git\01_contribution\blender-git\build_windows_Full_x64_vc16_Debug\bin\Debug\2.92\scripts\modules\bpy\utils\__init__.py", line 994, in unregister_manual_map _manual_map.remove(manual_hook) ``` ValueError: list.remove(x): x not in list ``` **Exact steps for others to reproduce the error** - Enable the *Material Utilities* add-on (*Edit > Preferences > Add-ons*). - Save preferences. - Start Blender from CLI using the `-b` option.
(Deleted) commented 2020-11-30 03:40:20 +01:00 (Migrated from localhost:3001)
Author

Added subscriber: @(Deleted)

Added subscriber: @(Deleted)
Robert Guetzkow changed title from running command line python script fails on exit on 2.91 (but succeeds on 2.90.1) to Error in Material Utilities add-on on unregister 2020-11-30 11:34:23 +01:00

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Can confirm with 2.93 & 3.0.0 as well. So resetting #bf_blender tag would be fine I guess

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 438, in disable
mod.unregister()
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\materials_utils_init_.py", line 193, in unregister
bpy.utils.unregister_manual_map(materialutilities_manual_map)
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\bpy\utils_init_.py", line 1038, in unregister_manual_map
_manual_map.remove(manual_hook)

ValueError: list.remove(x): x not in list```
Can confirm with 2.93 & 3.0.0 as well. So resetting #bf_blender tag would be fine I guess ```Exception in module unregister(): 'C:\\Program Files\\Blender Foundation\\Blender 2.93\\2.93\\scripts\\addons\\materials_utils\\__init__.py' Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 438, in disable mod.unregister() File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\materials_utils\__init__.py", line 193, in unregister bpy.utils.unregister_manual_map(materialutilities_manual_map) File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\bpy\utils\__init__.py", line 1038, in unregister_manual_map _manual_map.remove(manual_hook) ``` ValueError: list.remove(x): x not in list```
Sign in to join this conversation.
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-addons#83209
No description provided.