Rigify Problem #98409

Closed
opened 2022-05-26 18:28:39 +02:00 by mernaz · 12 comments

System Information
Operating system: macOS-12.2.1-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5300M OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.7.103

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: blender/blender@c77597cd0e
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Rigify (0, 6, 5)
Author: Nathan Vegdahl, Lucio Rossi, Ivan Cappiello, Alexander Gavrilov

Short description of error
I try to install cloud rig from git lab and after that I try the snow character rig from studio blender and then try to use it on my project when I hit shift+A in armature I just have single bone option so I go to preferences to check and uncheck the rigify Addon but after I uncheck it I can't turn it on and I get this error .

Traceback (most recent call last):
File "/Users/mernaz_ze/Library/Application Support/Steam/steamapps/common/Blender/Blender.app/Contents/Resources/3.1/scripts/modules/addon_utils.py", line 387, in enable
  mod.register()
File "/Users/mernaz_ze/Library/Application Support/Steam/steamapps/common/Blender/Blender.app/Contents/Resources/3.1/scripts/addons/rigify/__init__.py", line 500, in register
  ui.register()
File "/Users/mernaz_ze/Library/Application Support/Steam/steamapps/common/Blender/Blender.app/Contents/Resources/3.1/scripts/addons/rigify/ui.py", line 1418, in register
  animation_register()
File "/Users/mernaz_ze/Library/Application Support/Steam/steamapps/common/Blender/Blender.app/Contents/Resources/3.1/scripts/addons/rigify/utils/animation.py", line 956, in register
  register_class(RIGIFY_OT_get_frame_range)
ValueError: register_class(...): already registered as a subclass 'RIGIFY_OT_get_frame_range'
**System Information** Operating system: macOS-12.2.1-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 5300M OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.7.103 **Blender Version** Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `blender/blender@c77597cd0e` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Rigify (0, 6, 5) Author: Nathan Vegdahl, Lucio Rossi, Ivan Cappiello, Alexander Gavrilov **Short description of error** I try to install cloud rig from git lab and after that I try the snow character rig from studio blender and then try to use it on my project when I hit shift+A in armature I just have single bone option so I go to preferences to check and uncheck the rigify Addon but after I uncheck it I can't turn it on and I get this error . ``` Traceback (most recent call last): File "/Users/mernaz_ze/Library/Application Support/Steam/steamapps/common/Blender/Blender.app/Contents/Resources/3.1/scripts/modules/addon_utils.py", line 387, in enable mod.register() File "/Users/mernaz_ze/Library/Application Support/Steam/steamapps/common/Blender/Blender.app/Contents/Resources/3.1/scripts/addons/rigify/__init__.py", line 500, in register ui.register() File "/Users/mernaz_ze/Library/Application Support/Steam/steamapps/common/Blender/Blender.app/Contents/Resources/3.1/scripts/addons/rigify/ui.py", line 1418, in register animation_register() File "/Users/mernaz_ze/Library/Application Support/Steam/steamapps/common/Blender/Blender.app/Contents/Resources/3.1/scripts/addons/rigify/utils/animation.py", line 956, in register register_class(RIGIFY_OT_get_frame_range) ValueError: register_class(...): already registered as a subclass 'RIGIFY_OT_get_frame_range' ```
Author

Added subscriber: @mernaz_ze

Added subscriber: @mernaz_ze

#100047 was marked as duplicate of this issue

#100047 was marked as duplicate of this issue

#99049 was marked as duplicate of this issue

#99049 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

The problem reported here is similar to #96354 (Rigify Already Registered as a Subclass (Traceback) Error)
But to confirm a report, we need steps to replicate the problem.
From the description I can assume these steps:

  • try to install CloudRig from git lab
  • try the snow character rig from studio blender
  • try to use it on my project
  • hit shift+A in armature
  • go to preferences to check and uncheck the rigify Addon

But it is still unclear what needs to be done.
So please, be sure to provide a .blend file with exact steps to reproduce the problem.

A guideline for making a good bug report can be found at https://wiki.blender.org/wiki/Process/Bug_Reports

The problem reported here is similar to #96354 (Rigify Already Registered as a Subclass (Traceback) Error) But to confirm a report, we need steps to replicate the problem. From the description I can assume these steps: - try to install [CloudRig ](https://gitlab.com/blender/CloudRig) from git lab - try the snow character rig from studio blender - try to use it on my project - hit shift+A in armature - go to preferences to check and uncheck the rigify Addon But it is still unclear what needs to be done. So please, be sure to provide a .blend file with exact steps to reproduce the problem. A guideline for making a good bug report can be found at https://wiki.blender.org/wiki/Process/Bug_Reports
Member

Added subscriber: @sorciere007

Added subscriber: @sorciere007

Hello !

As said in my ticket, I add the same problem with cloud rig option on :

  • i migrated my preference from 3.1 where cloud rig was on and operationnal
  • Shift A : i only see the add single bone option and nothing else
  • i unchecked the rigify addon to test
  • i am unable to check it again having the big python here : (THERE IS ADDITIONAL LINES not here yesterday)

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\metarig_menu.py", line 212, in get_external_metarigs
  get_metarigs(metarigs['external'], base_dir, base_path)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\metarig_menu.py", line 54, in get_metarigs
  get_metarigs(metarigs[f], base_dir, base_path, path=[*path, f], nested=True)  # "" adds a final slash
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\metarig_menu.py", line 58, in get_metarigs
  module = get_resource('.'.join([*base_path, *path, f]))
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\utils\rig.py", line 112, in get_resource
  module = importlib.import_module(resource_name)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\importlib\__init__.py", line 126, in import_module
  return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\__init__.py", line 36, in <module>
  from . import ui
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\ui.py", line 262, in <module>
  rigify_generate_ui = bpy.types.DATA_PT_rigify_generate

AttributeError: 'module' object has no attribute 'DATA_PT_rigify_generate'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\addon_utils.py", line 371, in enable
  mod.register()
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\__init__.py", line 572, in register
  bpy.context.preferences.addons[__package__].preferences.update_external_rigs()
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\__init__.py", line 211, in update_external_rigs
  metarig_menu.get_external_metarigs(set_list)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\metarig_menu.py", line 214, in get_external_metarigs
  print("Rigify Error: Could not load feature set '%s' metarigs: exception occurred.\n" % (feature_set))

NameError: name 'feature_set' is not defined

Hello ! As said in my ticket, I add the same problem with cloud rig option on : - i migrated my preference from 3.1 where cloud rig was on and operationnal - Shift A : i only see the add single bone option and nothing else - i unchecked the rigify addon to test - i am unable to check it again having the big python here : (THERE IS ADDITIONAL LINES not here yesterday) Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\metarig_menu.py", line 212, in get_external_metarigs get_metarigs(metarigs['external'], base_dir, base_path) File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\metarig_menu.py", line 54, in get_metarigs get_metarigs(metarigs[f], base_dir, base_path, path=[*path, f], nested=True) # "" adds a final slash File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\metarig_menu.py", line 58, in get_metarigs module = get_resource('.'.join([*base_path, *path, f])) File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\utils\rig.py", line 112, in get_resource module = importlib.import_module(resource_name) File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\__init__.py", line 36, in <module> from . import ui File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\ui.py", line 262, in <module> rigify_generate_ui = bpy.types.DATA_PT_rigify_generate ``` AttributeError: 'module' object has no attribute 'DATA_PT_rigify_generate' During handling of the above exception, another exception occurred: Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\addon_utils.py", line 371, in enable mod.register() File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\__init__.py", line 572, in register bpy.context.preferences.addons[__package__].preferences.update_external_rigs() File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\__init__.py", line 211, in update_external_rigs metarig_menu.get_external_metarigs(set_list) File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\metarig_menu.py", line 214, in get_external_metarigs print("Rigify Error: Could not load feature set '%s' metarigs: exception occurred.\n" % (feature_set)) ``` NameError: name 'feature_set' is not defined

Could you please give us a solution because I won't be able to use this new version if I don't have access to the rigify. I thank you very much for your work and wish you a perfect day !

Could you please give us a solution because I won't be able to use this new version if I don't have access to the rigify. I thank you very much for your work and wish you a perfect day !

Can you check if this is happening with the version of CloudRig for Blender 3.0-3.1?

Can you check if this is happening with the [version of CloudRig for Blender 3.0-3.1](https://gitlab.com/blender/CloudRig/-/releases/3.0_3.1)?
Member

Added subscribers: @Kali-4, @PratikPB2123

Added subscribers: @Kali-4, @PratikPB2123
Member

Closed as duplicate of #97622

Closed as duplicate of #97622
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#98409
No description provided.