MHX2 import using Export Rigify #52819

Closed
opened 2017-09-18 17:48:31 +02:00 by Jeremy Cooke · 7 comments

System Information
Win10 dual GeoForce GTX 860M

Blender Version
Broken: 2.79
Worked: 2.78

Short description of error
Importing Exported Rigify from Makehuman as MHX2 2.79 throws error:

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\__init__.py", line 224, in execute
  importer.importMhx2File(self.filepath, cfg, context)
File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\importer.py", line 46, in importMhx2File
  build(struct, cfg, context)
File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\importer.py", line 125, in build
  rig,parser = buildRig(mhHuman, mhSkel, cfg, context)
File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\armature\build.py", line 167, in buildRig
  rig = rigifyMhx(context, parser)
File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\armature\rigify.py", line 183, in rigifyMhx
  parent = meta.data.edit_bones[pname]

KeyError: 'bpy_prop_collection[key]: key "hips" not found'

location: :-1

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

  1. Create MH file with default rig and export as MHX2
  2. Install MH plugins on 2.79
  3. Select MHX2 file for import
  4. Check Override Exported Data
  5. Select Exported Rigify fromRigging drop down
  6. Import into 2.79

2_79andMakeHuman.png

**System Information** Win10 dual GeoForce GTX 860M **Blender Version** Broken: 2.79 Worked: 2.78 **Short description of error** Importing Exported Rigify from Makehuman as MHX2 2.79 throws error: Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\__init__.py", line 224, in execute importer.importMhx2File(self.filepath, cfg, context) File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\importer.py", line 46, in importMhx2File build(struct, cfg, context) File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\importer.py", line 125, in build rig,parser = buildRig(mhHuman, mhSkel, cfg, context) File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\armature\build.py", line 167, in buildRig rig = rigifyMhx(context, parser) File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\import_runtime_mhx2\armature\rigify.py", line 183, in rigifyMhx parent = meta.data.edit_bones[pname] ``` KeyError: 'bpy_prop_collection[key]: key "hips" not found' location: <unknown location>:-1 **Exact steps for others to reproduce the error** Based on a (as simple as possible) attached .blend file with minimum amount of steps 1) Create MH file with default rig and export as MHX2 2) Install MH plugins on 2.79 3) Select MHX2 file for import 4) Check Override Exported Data 5) Select Exported Rigify fromRigging drop down 6) Import into 2.79 ![2_79andMakeHuman.png](https://archive.blender.org/developer/F813791/2_79andMakeHuman.png)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @JeremyCooke

Added subscriber: @JeremyCooke

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Vuk Gardašević self-assigned this 2017-09-18 18:45:04 +02:00

Sorry, for maintenance of this add-on you'll have to contact the author, because it's not officially maintained / hosted by Blender - it's not in release nor contribution.

You can check if the add-on is a third party one by downloading a developer build of blender and look at the 2.7x/scripts/addons and addons_contrib folders, or check out the https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts under Release and Contrib columns.

Also, before contacting the third party developer of the add-on be sure to:

  1. You have the latest version of the add-on
  2. Follow the instructions for installing and enabling it
  3. Provide some additional information if needed - blender version, a file that produces the error.
Sorry, for maintenance of this add-on you'll have to contact the author, because it's not officially maintained / hosted by Blender - it's not in release nor contribution. You can check if the add-on is a third party one by downloading a developer build of blender and look at the *2.7x/scripts/addons* and *addons_contrib* folders, or check out the https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts under Release and Contrib columns. Also, before contacting the third party developer of the add-on be sure to: 1) You have the latest version of the add-on 2) Follow the instructions for installing and enabling it 3) Provide some additional information if needed - blender version, a file that produces the error.

Added subscriber: @danhaske

Added subscriber: @danhaske

I have similar problem, but i'm able to solved it. I think the problem is from the addon, because when I uninstalled and reinstalled blender and used the addon that came with makehuman 1.1.1 everything is working perfect.

I have similar problem, but i'm able to solved it. I think the problem is from the addon, because when I uninstalled and reinstalled blender and used the addon that came with makehuman 1.1.1 everything is working perfect.
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#52819
No description provided.