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
OTL PythonModule Error
2097 2 0- 隆二 泉
- Member
- 14 posts
- Joined: March 2014
- Offline
- 隆二 泉
- Member
- 14 posts
- Joined: March 2014
- Offline
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
If we can't see the code, how we can debug it? You need person which had similar problem recently. I myself don't remember when was the last time I had problem when accessing Python module. Probably some freshmen problems. Upload asset if you can, or at least stripped enough version so we could test.
-
- Quick Links