Found 8 posts.
Search results Show results as topic list.
Technical Discussion » Kinefx rig pose error. Bad/Corrupt install or?
- blakebeynon
- 8 posts
- Offline
So this ended up being resolved with both a daily build update as well as a production build using python 3. Seems like there's likely more folks than just me that might want to stay production build only and still have python 2 compatibility?
Technical Discussion » Kinefx rig pose error. Bad/Corrupt install or?
- blakebeynon
- 8 posts
- Offline
After some poking around, I'm realizing Houdini 19 ships using Python 3 by default. Looks like I've installed the Python 2.7 version. Guessing legacy Houdini stuff works in the Python 2.7, but stuff that is getting overhauled or is relatively new ( KineFX ) will have some incompatibilities with 2.7?
Technical Discussion » Kinefx rig pose error. Bad/Corrupt install or?
- blakebeynon
- 8 posts
- Offline
Was poking around in the .py files to see where the error is triggering, and I can see where if there is not a list of KinefxSelection objects in self._selections when the KinefxMultiSelection is initialized. It'll try calling a .clear() on an empty list and that seems to be the error I'm getting.
class KinefxMultiSelection(object): def __init__(self): self._selections = [] self._active_index = None def __getitem__(self, key): return self._selections[key] def __iter__(self): return iter(self._selections) def append(self, sel): if not isinstance(sel, KinefxSelection): raise TypeError("{} is not a KinefxSelection object".format(sel)) self._selections.append(sel) def clear(self): # this class maintains the selection, so clear them individually # so that any other references also get emptied for s in self._selections: s.clear() self._selections.clear()
Technical Discussion » Kinefx rig pose error. Bad/Corrupt install or?
- blakebeynon
- 8 posts
- Offline
I did try trashing the prefs and launching outside our pipeline.. Didn't see anything out of the ordinary in the PYTHONPATH, but I suppose I'll need to check with our pipeline folks. Seems to be python 2.7.15 from what I can see.
Technical Discussion » Kinefx rig pose error. Bad/Corrupt install or?
- blakebeynon
- 8 posts
- Offline
Rig doctor will initialize transforms for the points on a line and this is all Kinefx needs to be 'Kinefx'ed" as far as I know. Adding a skeleton in between the line and the rig doctor does not stop the same error from popping up. It seems to be more related to the python state.
Technical Discussion » Kinefx rig pose error. Bad/Corrupt install or?
- blakebeynon
- 8 posts
- Offline
Was initially piggybacking on another Kinefx rig pose thread, but figure I'll post here now that I'm seeing the same error on a clean scene without all the variables of my 18.5 rig setup involved.
Not sure if my kinefx__rigpose python state file has issues or this is a known issue with 19.0.383?
Not sure if my kinefx__rigpose python state file has issues or this is a known issue with 19.0.383?
Edited by blakebeynon - Nov. 22, 2021 10:07:40
Houdini Indie and Apprentice » KineFX - How to setup a character Rig as an HDA
- blakebeynon
- 8 posts
- Offline
Just to piggyback on this a bit as its in the kinefx__rigpose realm.
I've recently moved a rig I was setting up from 18.5 to 19. There were a couple of issues with reparenting nodes, but I've been able to get those working.
Now I'm hitting this every time I try to select any of my controls on the HDA:
I've recently moved a rig I was setting up from 18.5 to 19. There were a couple of issues with reparenting nodes, but I've been able to get those working.
Now I'm hitting this every time I try to select any of my controls on the HDA:
Traceback (most recent call last): File "/opt/hfs19.0.383/packages/kinefx/viewer_states/kinefx__rig_pose.py", line 886, in onInputRewired self._initialize(kwargs['node']) File "/opt/hfs19.0.383/packages/kinefx/viewer_states/kinefx__rig_pose.py", line 869, in _initialize self.setSelection() File "/opt/hfs19.0.383/packages/kinefx/viewer_states/kinefx__rig_pose.py", line 629, in setSelection 'selection': sel File "/opt/hfs19.0.383/packages/kinefx/viewer_states/kinefx__rig_pose.py", line 770, in consumeSelection self.selections.clear() File "/opt/hfs19.0.383/packages/kinefx/python2.7libs/kinefx/stateutils.py", line 1117, in clear self._selections.clear() AttributeError: 'list' object has no attribute 'clear'
Technical Discussion » Match other deformers.
- blakebeynon
- 8 posts
- Offline
Howdy all. Houdini newb here trying to transition. I've done a lot of rigging in Maya for the most part and I've got a little pet project to replicate the behavior of Maya's deformers in Houdini. Unfortunately, I'm only so technical and have not written any custom deformers before. I've done a bit of searching, but looking for some more resources that will help me in my quest. Any signs pointing in the right direction would be much appreciated. I'm currently working on matching the twist/bend behavior.
-
- Quick Links