Blake Beynon

blakebeynon

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Kinefx rig pose error. Bad/Corrupt install or? Nov. 29, 2021, 4:25 p.m.

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?

Kinefx rig pose error. Bad/Corrupt install or? Nov. 28, 2021, 7:56 p.m.

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?

Kinefx rig pose error. Bad/Corrupt install or? Nov. 23, 2021, 3:21 p.m.

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()