-
Notifications
You must be signed in to change notification settings - Fork 119
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
🐞 Bug Report
Description
When building a rig using a .sgt file and the build_from_file method, an error occurs.
The error message says the following key "size" does not exist in the self.options, so it causes the collect_build_data to fail.
Steps to Reproduce
Simplest reproduction steps.
- Create an Guide with only the EPIC_control_01
- Enable World Control
- Export the Guide Template file for the guide
- build the guide using the newly generated .sgt file
from mgear.shifter import io
io.build_from_file(filePath=r"C:\Users\User\Desktop\mGear_guide_template_test.sgt")Expected Behavior
No error to occur on build when using the .sgt file, and exposed methods build_from_file
Actual Behavior
The build process proceeds as expected, but doesn't complete without an error. As this error occurs we cannot gaurentee the state of the build is correct
Maya Version
- Maya Version: 2022
- OS: Windows 10
mGear Version
- mGear Version: 5+ ( tried on multiple commits, using latest now and error still occurs)
Error Log Formatting
If an error message appears, please provide the complete log:
# Error: KeyError: file C:\Users\Simon\Documents\maya\modules\scripts\mgear\shifter\__init__.py line 658: 'size' #
Additional Context
Any other information that might help debug the issue.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
5.0.7