Have you added the workgroup pythonpath in the Enviroment settings of
windows?

Should be something like this

Variable: PYTHONPATH

Value:  G:\Software OK\Softimage\Softimage
plugins\Gear\Gear_MC\GEAR_mc-1.0.15\pythonlibs




2014/1/5 Nicolas Esposito <3dv...@gmail.com>

> Hi guys,
> I'm using Gear for my facial rig and I'm having some python errors and
> honestly I don't know how to solve this issue
>
> I already had some problems due to the installation, but I created the
> pythonpath and I solved everything, main problem is that right now I'm not
> able to create the rig when I hit "Build rig from selection"
>
> I'm following the TD survival tutorial step by step
>
> I notice that the main error is the missing "root" but I already have a
> root ( as shown in the video )
>
> This is what is shown in the script editor:
>
> Application.gear_BuildFromSelection()
> # WARNING : Object missing : root
> # ERROR : Traceback (most recent call last):
> #   File "<Script Block 2>", line 100, in gear_BuildFromSelection_Execute
> #     rig.buildFromSelection()
> #   File "C:\modules\pythonlibs\gear\xsi\rig\__init__.py", line 99, in
> buildFromSelection
> #     self.guide.setFromSelection()
> #   File "C:\modules\pythonlibs\gear\xsi\rig\guide.py", line 568, in
> setFromSelection
> #     self.setFromHierarchy(item, branch)
> #   File "C:\modules\pythonlibs\gear\xsi\rig\guide.py", line 618, in
> setFromHierarchy
> #     self.findComponentRecursive(root, branch)
> #   File "C:\modules\pythonlibs\gear\xsi\rig\guide.py", line 650, in
> findComponentRecursive
> #     comp_guide.setFromHierarchy(obj)
> #   File "C:\modules\pythonlibs\gear\xsi\rig\component\guide.py", line
> 304, in setFromHierarchy
> #     self.size = self.getSize()
> #   File "C:\modules\pythonlibs\gear\xsi\rig\component\guide.py", line
> 825, in getSize
> #     d = vec.getDistance(self.pos["root"], pos)
> # KeyError: 'root'
> #  - [line 99 in
> C:\Users\Nicolas\Autodesk\Softimage_2013\Application\Plugins\Workgroup\Addons\gear\Application\Plugins\gear_riggingSystem.py]
> Application.gear_BuildFromSelection()
> # WARNING : Object missing : root
> # ERROR : Traceback (most recent call last):
> #   File "<Script Block 2>", line 100, in gear_BuildFromSelection_Execute
> #     rig.buildFromSelection()
> #   File "C:\modules\pythonlibs\gear\xsi\rig\__init__.py", line 99, in
> buildFromSelection
> #     self.guide.setFromSelection()
> #   File "C:\modules\pythonlibs\gear\xsi\rig\guide.py", line 568, in
> setFromSelection
> #     self.setFromHierarchy(item, branch)
> #   File "C:\modules\pythonlibs\gear\xsi\rig\guide.py", line 618, in
> setFromHierarchy
> #     self.findComponentRecursive(root, branch)
> #   File "C:\modules\pythonlibs\gear\xsi\rig\guide.py", line 650, in
> findComponentRecursive
> #     comp_guide.setFromHierarchy(obj)
> #   File "C:\modules\pythonlibs\gear\xsi\rig\component\guide.py", line
> 304, in setFromHierarchy
> #     self.size = self.getSize()
> #   File "C:\modules\pythonlibs\gear\xsi\rig\component\guide.py", line
> 825, in getSize
> #     d = vec.getDistance(self.pos["root"], pos)
> # KeyError: 'root'
> #  - [line 99 in
> C:\Users\Nicolas\Autodesk\Softimage_2013\Application\Plugins\Workgroup\Addons\gear\Application\Plugins\gear_riggingSystem.py]
> Application.gear_BuildFromSelection()
>
>
> Any help please?
>

Reply via email to