隆二 泉

隆二 泉

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

OTL PythonModule Error March 23, 2015, 10:09 p.m.

No one?

OTL PythonModule Error March 22, 2015, 3:17 p.m.

Hi,

I have a weird issue I can't solve.

I made an asset, with a python script in the otl (pythonmodule), containing some functions, called by buttons.

Everythings worked fine.

But when I drop a fresh node (tab > digital asset > myOtl), and I press a button, I get “AttributeError: ‘module’ object has no attribute ‘StartApp’ ” (StartApp being a function defined in the pythonModule).

But when I allow the editing of content, and click on “apply” once in the type properties window, everythings work fine. As if when I create my node, houdini isn't evaluating/reading the script inside the otl.

Does anyone have an idea what's going on? It's driving me crazy ><

Thanks in advance,


Ryuji

ForEach Node Dec. 18, 2014, 6:41 a.m.

Hi,

Thank you very much Sadhu, it works like a charm! ^^