Search - User list
Full Version: Labs Ruler / QuickMaterial Errors?
Root » Technical Discussion » Labs Ruler / QuickMaterial Errors?
indigosm
Hi there.

For the past couple of months, the labs ruler fails to load because of this error :

Traceback (most recent call last):
File "labs::ruler", line 13, in <module>
File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.640/houdini/python3.7libs\houpythonportion\ui.py", line 1119, in decorator
return func(*args, **kwargs)
File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.640/houdini/python3.7libs\hou.py", line 75027, in setCurrentState
return _hou.SceneViewer_setCurrentState(self, *args, **kwargs)
hou.OperationFailed: The attempted operation failed.
Failed setting state named "labs::ruler".


And the quickMaterial node spawns this error.

Warning: Problem while synchronizing child node:
Warning: Skipping unrecognized parameter "diffuse_folder_15".
Skipping unrecognized parameter "folder7".
Skipping unrecognized parameter "folder4".
Skipping unrecognized parameter "folder12".
Skipping unrecognized parameter "shading_16".
Skipping unrecognized parameter "folder14".
Skipping unrecognized parameter "folder9".
Skipping unrecognized parameter "folder13".




Am I the only one getting these? I've tried various new houdini installs and labs installs but can't get either resolved.

Thanks!
-seneca
sjc000com
Hi... I have the same problem for quickmaterial , do you have any solution ?
indigosm
i sadly haven't. it seems like i'm going to have to rewrite both of these functions once i figure out how.. heh.
calabrese20
I know its been a while, but found a solution for the Ruler issue:
The viewstate is not being loaded. To fix go to the "Viewer State Browser" tab and load it directly in your workspace its in the labs install location in the viewer states folder

Hope that helps anyone with a similar issue
indigosm
calabrese20
To fix go to the "Viewer State Browser" tab and load it directly in your workspace its in the labs install location in the viewer states folder
awesome thank you! i'll definitely try this if (when) it happens again. i've uninstalled and installed so many different versions of houdini / labs that i eventually got it fixed.. i assume part of the problem is that there's like at least 3 different ways to install labs, and i think one or some were corrupting it......

- sidefx installer of just installing labs
- sidefx installer of installing houdini and labs is included
- installing labs from the labs tab in the houdini app
- isn't there a houdini 'update' in the sidefx installer too? i forget
indigosm
hmm. so i'm running into this issue again....

i installed a new version of houdini and labs did install, but the RULER tool is broken again and errors out on startup.

it looks like it's erroring out because i assigned a hotkey to the ruler tool? i tried deleting the hotkey, closing houdini, deleting labs, copy/pasting labs from the sidefx download site to C:\Program Files\Side Effects Software\sidefx_packages, restarting

but it still errors out on launch... here's the error:





= = = Resources registration = = =
ERROR: C:/Program Files/Side Effects Software/sidefx_packages/SideFXLabs20.5/viewer_states/ruler.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.654/houdini/python3.10libs\viewerstate\utils.py", line 967, in register_pystate
mod = importlib.import_module(module_name)
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.654\python310\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name, package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Program Files/Side Effects Software/sidefx_packages/SideFXLabs20.5/viewer_states\ruler.py", line 495, in <module>
class State(object):
File "C:\Program Files/Side Effects Software/sidefx_packages/SideFXLabs20.5/viewer_states\ruler.py", line 500, in State
""".format(hou.hotkeys.assignments(Key.copy_to_clip), hou.hotkeys.assignments(Key.pop_copy))
IndexError: tuple index out of range
indigosm
indigosm
m running into this issue again....

i installed a new version of houdini and labs did install, but the RULER tool is broken again and errors out on startup.

it looks like it's erroring out because i assigned a hotkey to the ruler tool? i tried deleting the hotkey, closing houdini, deleting labs, copy/pasting labs from the sidefx download site to C:\Program Files\Side Effects Software\sidefx_packages, restarting

but it still errors out on launch... here's the error:



Ah, I finally figured out how to fix it.

Open the keymaps file (C:\Users\\Documents\houdini20.5\Houdini.keymap2.overrides) and do a search for 'ruler' and delete that hotkey (or hotkeys. it could exist multiple times for what i'm about to bring up)

I think I see why it was so broken. It appears that houdini20.5 uses a different hotkey system than prior versions, thus when i'd "unbind" the labs ruler hotkey, it wouldn't actually unbind it. The reason why that appears to be the case is because I bound the hotkey again for tests and when i opened the hotkey text file, i found that the ruler tool existed twice in two different contexts. Once I deleted both, I opened houdini and there was no more loading errors and when i bound the key again, it worked. woo!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB