Maniphest T98734

Rigify addon: Can not activate Rigify addon in 3.2
Closed, Archived

Assigned To
None
Authored By
carlos campos (carlosgc)
Jun 9 2022, 3:58 PM
Tags
  • Add-ons (Community)
Subscribers
carlos campos (carlosgc)
Omar Emara (OmarSquircleArt)

Description

System Information
Operating system: Windows-10-10.0.18363-SP0 64 Bits
Graphics card: Quadro M2000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash: rBe05e1e369187
Worked: (newest version of Blender that worked as expected)

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

Short description of error

I'm using a fresh install of Blender 3.2, with the default startup settings loaded (no custom keymaps or addons). When I try to enable Rigify, I get this error below in the console:

Read prefs: C:\Users\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\config\userpref.blend
Reloading external rigs...
Rigify Error: Could not load feature set 'CloudRig_master' rigs: exception occurred.

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\rig_lists.py", line 94, in get_external_rigs
  external_rigs, external_impl_rigs = get_rigs(base_dir, base_path, feature_set=feature_set)
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\rig_lists.py", line 53, in get_rigs
  rig_module = importlib.import_module('.'.join(base_path + subpath))
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 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\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\__init__.py", line 3, in <module>
  from . import actions
File "C:\Users\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\actions.py", line 4, in <module>
  from .utils.ui import is_cloud_metarig
File "C:\Users\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\utils\ui.py", line 3, in <module>
  from ..cloudrig import draw_layers_ui
File "C:\Users\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\cloudrig.py", line 20, in <module>
  from rna_prop_ui import rna_idprop_ui_prop_get, rna_idprop_quote_path, rna_idprop_ui_prop_update

ImportError: cannot import name 'rna_idprop_ui_prop_get' from 'rna_prop_ui' (C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\rna_prop_ui.py)

Reloading external metarigs...
Exception in module register(): C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\rigify\__init__.py
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\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\__init__.py", line 3, in <module>
  from . import actions
File "C:\Users\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\actions.py", line 4, in <module>
  from .utils.ui import is_cloud_metarig
File "C:\Users\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\utils\ui.py", line 3, in <module>
  from ..cloudrig import draw_layers_ui
File "C:\Users\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master\cloudrig.py", line 20, in <module>
  from rna_prop_ui import rna_idprop_ui_prop_get, rna_idprop_quote_path, rna_idprop_ui_prop_update

ImportError: cannot import name 'rna_idprop_ui_prop_get' from 'rna_prop_ui' (C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\modules\rna_prop_ui.py)

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

Exact steps for others to reproduce the error

Install Blender 3.2 and use Blender default startup settings. Open preferences window and enable the Rigify addon. The the error appears and the Rigify addon does not activate.

Related Objects

Event Timeline

carlos campos (carlosgc) created this task.Jun 9 2022, 3:58 PM
carlos campos (carlosgc) updated the task description.Jun 9 2022, 4:12 PM
carlos campos (carlosgc) updated the task description.
Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Needs Information from User.Jun 9 2022, 4:24 PM
Omar Emara (OmarSquircleArt) added a subscriber: Omar Emara (OmarSquircleArt).

Looks like it is not a fresh install, as the issue is about an older installation of a Rigify feature set. Removing the folder C:\Users\carlos\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\rigify\CloudRig_master should probably fix this. Also see T96419. Does this work?

carlos campos (carlosgc) added a comment.EditedJun 9 2022, 4:33 PM

OMG, that fixed it! Thank you so much Omar! I guess I need to learn how to properly do a fresh install lol. I did not think of deleting the preferences folder! Once again, thanks for the help and the quick response! I was trying all day to resolve this.

Omar Emara (OmarSquircleArt) closed this task as Archived.Jun 9 2022, 4:36 PM