Error 'str' object has no attribute 'children' #167

Closed
opened 2024-09-02 13:53:33 +02:00 by Mr Chocolate Bar · 1 comment
Error: A bug has occurred. You can report it through the Generation Log interface.
Traceback (most recent call last):
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\generation\cloud_generator.py", line 1039, in generate_rig
    generator.generate(context)
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\generation\cloud_generator.py", line 310, in generate
    self.components_create_bone_infos(context)
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\generation\cloud_generator.py", line 498, in components_create_bone_infos
    component.create_bone_infos(context)
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_ik_chain.py", line 48, in create_bone_infos
    super().create_bone_infos(context)
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_fk_chain.py", line 41, in create_bone_infos
    super().create_bone_infos(context)
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_chain.py", line 39, in create_bone_infos
    self.main_str_bones = self.make_main_str_bones(self.bones_org)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_chain.py", line 138, in make_main_str_bones
    main_str_bone = self.make_main_str_bone(org_chain, i)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_chain.py", line 170, in make_main_str_bone
    main_str = self.bone_sets['Stretch Controls'].new(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_component_features\bone_set.py", line 119, in new
    bone_info = BoneInfo(
                ^^^^^^^^^
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_component_features\bone_info.py", line 210, in __init__
    setattr(self, key, value)
  File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_component_features\bone_info.py", line 276, in parent
    self._parent.children.remove(self)
    ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'children'

Error: Generation of MonoRigExperimentalCloudrig has failed. See the Generation Log for more info.
┌────────────────────────────────────────────────────────────────────────────────┐
│Blender & System Information:                                                   │
│ * Blender Version:                                                             │
│   - 4, 1, 1                                                                    │
│ * Blender Last Commit Date:                                                    │
│   - 2024-04-15                                                                 │
│ * Blender Build Hash:                                                          │
│   - e1743a0317bc                                                               │
│ * Blender Branch:                                                              │
│   - blender-v4.1-release                                                       │
│ * Blender Executable Location:                                                 │
│   - F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\blender41.exe│
│ * Python Version:                                                              │
│   - 3.11.7 (main, Feb  5 2024, 18:45:06) [MSC v.1928 64 bit (AMD64)]           │
│ * Platform this Blender instance was built for:                                │
│   - Windows                                                                    │
│ * Windows Platform Information:                                                │
│   - Caption=Microsoft Windows 11 Pro                                           │
│   - OSArchitecture=64-bit                                                      │
│   - Version=10.0.22631                                                         │
│ * Hardware Information:                                                        │
│   - GPU: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2                                 │
│   - GPU Driver Version: NVIDIA Corporation 4.6.0 NVIDIA 555.99                 │
│   - CPU MaxClockSpeed=3187                                                     │
│   - CPU Name=12th Gen Intel(R) Core(TM) i9-12900K                              │
│   - CPU NumberOfCores=16                                                       │
│   - Total System RAM: 34.088476672 GB                                          │
│                                                                                │
│This info text was generated by the Fast PBR Viewport Render addon!             │
└────────────────────────────────────────────────────────────────────────────────┘

CloudRig version 2.1.8

There is a demo file attached to this post.
image

Also a side question, would CloudRig be able to properly rig this type of character in the first place - or if I would be better off just creating controls and everything from scratch?

``` Error: A bug has occurred. You can report it through the Generation Log interface. Traceback (most recent call last): File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\generation\cloud_generator.py", line 1039, in generate_rig generator.generate(context) File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\generation\cloud_generator.py", line 310, in generate self.components_create_bone_infos(context) File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\generation\cloud_generator.py", line 498, in components_create_bone_infos component.create_bone_infos(context) File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_ik_chain.py", line 48, in create_bone_infos super().create_bone_infos(context) File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_fk_chain.py", line 41, in create_bone_infos super().create_bone_infos(context) File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_chain.py", line 39, in create_bone_infos self.main_str_bones = self.make_main_str_bones(self.bones_org) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_chain.py", line 138, in make_main_str_bones main_str_bone = self.make_main_str_bone(org_chain, i) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_components\cloud_chain.py", line 170, in make_main_str_bone main_str = self.bone_sets['Stretch Controls'].new( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_component_features\bone_set.py", line 119, in new bone_info = BoneInfo( ^^^^^^^^^ File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_component_features\bone_info.py", line 210, in __init__ setattr(self, key, value) File "F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\4.1\scripts\addons\cloudrig\rig_component_features\bone_info.py", line 276, in parent self._parent.children.remove(self) ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'children' Error: Generation of MonoRigExperimentalCloudrig has failed. See the Generation Log for more info. ``` ``` ┌────────────────────────────────────────────────────────────────────────────────┐ │Blender & System Information: │ │ * Blender Version: │ │ - 4, 1, 1 │ │ * Blender Last Commit Date: │ │ - 2024-04-15 │ │ * Blender Build Hash: │ │ - e1743a0317bc │ │ * Blender Branch: │ │ - blender-v4.1-release │ │ * Blender Executable Location: │ │ - F:\Olliver\Olliver\programs\Blender\blender-4.1.1-windows-x64\blender41.exe│ │ * Python Version: │ │ - 3.11.7 (main, Feb 5 2024, 18:45:06) [MSC v.1928 64 bit (AMD64)] │ │ * Platform this Blender instance was built for: │ │ - Windows │ │ * Windows Platform Information: │ │ - Caption=Microsoft Windows 11 Pro │ │ - OSArchitecture=64-bit │ │ - Version=10.0.22631 │ │ * Hardware Information: │ │ - GPU: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 │ │ - GPU Driver Version: NVIDIA Corporation 4.6.0 NVIDIA 555.99 │ │ - CPU MaxClockSpeed=3187 │ │ - CPU Name=12th Gen Intel(R) Core(TM) i9-12900K │ │ - CPU NumberOfCores=16 │ │ - Total System RAM: 34.088476672 GB │ │ │ │This info text was generated by the Fast PBR Viewport Render addon! │ └────────────────────────────────────────────────────────────────────────────────┘ ``` CloudRig version 2.1.8 There is a demo file attached to this post. ![image](/attachments/b52f5d7f-5eb5-43fc-b00e-5e68ac5e9a53) Also a side question, would CloudRig be able to properly rig this type of character in the first place - or if I would be better off just creating controls and everything from scratch?

Thanks, should be fixed by 432232ed27.

Thanks, should be fixed by https://projects.blender.org/Mets/CloudRig/commit/432232ed27e61e3cd8fde75086fd8854b1b51162.
Sign in to join this conversation.
No description provided.