I'm trying to run a TOP network in a headless Houdini session, but I'm encountering an issue with the File Pattern node—it throws a "file pattern interrupted by user" message.
Interestingly, everything works fine when I run the same setup from Houdini's built-in Python shell.
I've attached a simple .hip scene as an example. It includes a File Pattern node followed by a ROP FBX Output node in TOPs.
Could anyone help me understand what I might be doing wrong when running it headlessly?
Pressing the cook button on the TOP triggers a non-blocking cook, which mean the cook runs in the background. This is typically not suitable in a headless session because nothing will wait on the cook to finish, and it'll be canceled when it reaches the end of your script and Hython exits.