slo2otl.py Error

   4364   4   0
User Avatar
Member
691 posts
Joined: June 2006
Offline
Hi!!

I have try to convert my *.slo shaders with slo2otl.py, but always the shell say´s:

line 12, in <module>
import rmands
ImportError: No module named rmands

Thanks.
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Staff
2595 posts
Joined: July 2005
Offline
alejandro
Hi!!

I have try to convert my *.slo shaders with slo2otl.py, but always the shell say´s:

line 12, in <module>
import rmands
ImportError: No module named rmands

Thanks.

Try running “hython slo2otl.py *.slo” instead. The rmands module is part of the Houdini distribution, so Python needs to have the proper path set up. hython should do this.
User Avatar
Member
691 posts
Joined: June 2006
Offline
Hi!!

It didn't work, the shell says:

hython can´t open file ´slo2otl.py´: No such file or directory

Can you send me a more detail example of how it works? What type of shell do i open etc…

Please.

Thanks.
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
320 posts
Joined: Aug. 2007
Offline
alejandro
Hi!!

It didn't work, the shell says:

hython can´t open file ´slo2otl.py´: No such file or directory

Can you send me a more detail example of how it works? What type of shell do i open etc…

Please.

Thanks.

You need to have the Houdini environment sourced in whichever shell you're using.

Use the shell that comes with Houdini. It's in your programs menu, or type hcmd from Run.

This should work:
hython %HFS%\bin\slo2otl.py -v -l myshader.otl myshader.slo

You could also use Cygwin to source houdini_setup_bash and run

hython $HFS/bin/slo2otl.py
www.alan-warren.com
User Avatar
Member
691 posts
Joined: June 2006
Offline
Thanks Alan it works!!!!!!!!!!!
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
  • Quick Links