TOPs cannot find scheduler [SOLVED]

   2412   6   1
User Avatar
Member
8 posts
Joined: Oct. 2015
Offline
Hi

I am encountering an obscure error with PDG and looking for help of any sorts.

Basically, I am trying to send a set of TOPs work items to farm using tractorscheduler which works fine with H17.5 and H18(localscheduler) but when I try the same setup in H18(tractorscheduler) I am receiving a ‘Error Could not find scheduler type “tractorscheduler”’ error in tractorscheduler node.

Does anyone else encountered such thing yet? Has something changed between the versions of Houdini and I am missing something?

Any kind of help towards the direction of solution would be appreciated.

Best

Edit: added error message
Edited by rngn - March 2, 2020 20:04:50
User Avatar
Member
1628 posts
Joined: March 2009
Online
What's the exact error?
Martin Winkler
money man at Alarmstart Germany
User Avatar
Member
8 posts
Joined: Oct. 2015
Offline
protozoan
What's the exact error?

Ah, sorry, the error message was in square brackets which apparently makes it invisible. Fixed it.

It's a “Error Could not find scheduler type ”tractorscheduler" error.

Though, I had this idea after posting here; I am probably missing some path(s) in the environment. Cannot yet put my finger on which one(s) but I believe that's the problem.
User Avatar
Member
27 posts
Joined: March 2020
Offline
What version of Houdini are you using? We've just started to try and integrate Houdini into our Tractor farm. When we naively dropped a TractorScheduler node into a test with 17.5.229 and they tried the “Cook Output Node” button, the node showed a similar error. We're bumping that to 17.5.460 to get all the recent goodness they've added/fixed. A quick test using that and “Submit Graph as Job” produced a Python error, but we're going to start from there.
Edited by davidoberst - March 2, 2020 16:36:36
User Avatar
Member
27 posts
Joined: March 2020
Offline
Also, make sure you have the Tractor “site-packages” directory on your PYTHONPATH, as they mention here [www.sidefx.com]. Our environment provided the “tractor.*” package from that, but apparently that is not enough and we got either the “could not find scheduler type ‘tractorscheduler’” error, or a Python error when the scheduler library tries to cook, presumably because tractorscheduler silently failed to initialize properly at startup due to something else from that site-packages being unavailable. Putting the full Tractor site-packages in PYTHONPATH solved that and we've got a very small test now producing a Tractor job.

Does anyone know what Houdini pulls from the Tractor site-packages? We were providing the dateutil (v1.5) as well as the tractor.*, and the other things in their like Pyside and rmanpy seem unlikely.

Also, the Houdini docs mention Tractor 2.3. Our farm is still at 2.2 currently, and our mini test successfully generated with that on the Houdini generating Winbox. I assume there's no specific need for Houdini to have the 2.3 packages to submit to a 2.2 farm? As I remember, there wasn't a lot of change in the tractor.api modules between the two. We'll probably point to a global 2.3 site-packages.
Edited by davidoberst - March 2, 2020 18:21:18
User Avatar
Member
8 posts
Joined: Oct. 2015
Offline
I have managed to fix the issue, it was indeed the result of Houdini not being able to find some paths provided by the environment. Adding the full path of TractorAPI in PYTHONPATH as well as dateutil and pyyaml solved my problem. Updating here for future reference in case someone else might end up here while looking for an answer.

David, I have seen your answer after but thanks anyways.
Edited by rngn - March 9, 2020 12:48:47
User Avatar
Member
1 posts
Joined: July 2021
Offline
Error running callback:
Traceback (most recent call last):
File "Sop/filecache::2.0/cookoutputnode", line 1, in <module>
File "Sop/filecache::2.0, PythonModule", line 127, in saveToDiskInBackground
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\nodegraphtopui.py", line 461, in cookOutputNode
cookNode(output_node)
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\nodegraphtopui.py", line 615, in cookNode
cookNodes(, generate_only)
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\nodegraphtopui.py", line 611, in cookNodes
top_nodes.cookWorkItems(
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\hou.py", line 82748, in cookWorkItems
return _hou.TopNode_cookWorkItems(self, *args, **kwargs)
hou.OperationFailed: The attempted operation failed.
Failed to start scheduler 'localscheduler1'

Error running callback:
Traceback (most recent call last):
File "Sop/filecache::2.0/cookoutputnode", line 1, in <module>
File "Sop/filecache::2.0, PythonModule", line 127, in saveToDiskInBackground
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\nodegraphtopui.py", line 461, in cookOutputNode
cookNode(output_node)
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\nodegraphtopui.py", line 615, in cookNode
cookNodes(, generate_only)
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\nodegraphtopui.py", line 611, in cookNodes
top_nodes.cookWorkItems(
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.569/houdini/python3.9libs\hou.py", line 82748, in cookWorkItems
return _hou.TopNode_cookWorkItems(self, *args, **kwargs)
hou.OperationFailed: The attempted operation failed.
Failed to start scheduler 'localscheduler1'



I'm trying to cache to disk in the background and I get this error

can anyone help??

many thanks

Calum
  • Quick Links