Description
I don't have a reliable repro for this yet, it seems to happen randomly while working on guides in a scene, sometimes after loading work in progress guides saved in a working maya file.
attempting to build or load a guide will fail with missing shapes. This seems to be related to the controllers_org shapes, as deleting them will allow the guide to build again (but obviously losing all the shapes)
If I still have an older saved version of the guides I'm working on I can import them fresh as a 2nd copy, and copy the controllers_org back into the original broken guide and it will also work fine again for a little while. So there isn't anything directly wrong with the shapes, just some cruft left attached to the guide shapes when building/rebuilding, or some other kind of desync in pymaya perhaps?
Guide loaded from hierarchy in [ 0:00:00.962920 ]
= BUILDING RIG ==============================================
Initial Hierarchy
# Traceback (most recent call last):
# File "\mgear\5.0.7\release\scripts\mgear\shifter\guide_manager.py", line 91, in build_from_selection
# rg.buildFromSelection()
# File "\mgear\5.0.7\release\scripts\mgear\core\utils.py", line 236, in wrap
# raise e
# File "\mgear\5.0.7\release\scripts\mgear\core\utils.py", line 233, in wrap
# return func(*args, **kwargs)
# File "\mgear\5.0.7\release\scripts\mgear\shifter\__init__.py", line 268, in buildFromSelection
# self.build()
# File "\mgear\5.0.7\release\scripts\mgear\shifter\__init__.py", line 304, in build
# self.initialHierarchy()
# File "\mgear\5.0.7\release\scripts\mgear\shifter\__init__.py", line 470, in initialHierarchy
# self.model, "guide_data", "string", self.get_guide_data()
# File "\mgear\5.0.7\release\scripts\mgear\shifter\__init__.py", line 377, in get_guide_data
# return json.dumps(self.guide.get_guide_template_dict())
# File "\mgear\5.0.7\release\scripts\mgear\shifter\guide.py", line 695, in get_guide_template_dict
# ctl_buffers_dict = curve.collect_curve_data(objs=exp_ctl_buffers)
# File "\mgear\5.0.7\release\scripts\mgear\core\curve.py", line 500, in collect_curve_data
# crvInfo, shapesName = collect_curve_shapes(x, rplStr)
# File "\mgear\5.0.7\release\scripts\mgear\core\curve.py", line 437, in collect_curve_shapes
# c_form = shape.form()
# File "\mgear\5.0.7\release\scripts\mgear\pymaya\node.py", line 839, in form
# frm = self.__fn_curve.form
# RuntimeError: (kFailure): Object does not exist
Guide loaded from hierarchy in [ 0:00:01.012767 ]
# Traceback (most recent call last):
# File "\mgear\5.0.7\release\scripts\mgear\shifter\guide_template_explorer.py", line 76, in load_selected_guide
# template = io.get_template_from_selection(None)
# File "\mgear\5.0.7\release\scripts\mgear\shifter\io.py", line 46, in get_template_from_selection
# return get_guide_template_dict(pm.selected()[0], meta)
# File "\mgear\5.0.7\release\scripts\mgear\shifter\io.py", line 29, in get_guide_template_dict
# return rig.guide.get_guide_template_dict(meta)
# File "\mgear\5.0.7\release\scripts\mgear\shifter\guide.py", line 695, in get_guide_template_dict
# ctl_buffers_dict = curve.collect_curve_data(objs=exp_ctl_buffers)
# File "\mgear\5.0.7\release\scripts\mgear\core\curve.py", line 500, in collect_curve_data
# crvInfo, shapesName = collect_curve_shapes(x, rplStr)
# File "\mgear\5.0.7\release\scripts\mgear\core\curve.py", line 437, in collect_curve_shapes
# c_form = shape.form()
# File "\mgear\5.0.7\release\scripts\mgear\pymaya\node.py", line 839, in form
# frm = self.__fn_curve.form
# RuntimeError: (kFailure): Object does not exist
Metadata
Metadata
Assignees
Labels
Type
Projects
Status