I wrote a simple script in python which will calculated it per post-frame in order to send the files generated from Houdini (simulations and renderings) over the network using ssh from each machine to my the external drive which is connected to my main machine. This script is this:
import os
frame = $F
padding = 4
file = “/home/i9089303/test/test.%0*d.jpg” % (padding, frame)
line = “scp -Cr ”+file+“ i9089303@pc18637
media/VFX/”os.system(line)
This version is the plan B. I wanted to be procedural by reading the file with its path, frame with padding and extension automatically by the output parameter -ex. ch(“vm_picture”)-. In this case the script would had this form:
import os
file = ch(“vm_picture”)
line = “scp -Cr ”+file+“ i9089303@pc18637
media/VFX/”os.system(line)
but it gives me back a warning and interrupts the rendering on the first frame. Warning: failed to load ‘SOP_unix.svg’ ‘/home/myusername/houdini11.1/config/Icons/SVGIcons.cache’ corrupted?
I know by testing it (using print and print type()) that it gives back a string which hold all the information which I need but for some reason this warning brakes everything.
any ideas how to fix this?


