BrianK
BrianK
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Can you turn off auto-load of help browser without opening? Dec. 10, 2008, 11:07 p.m.
found it…
in hcommon.pref:
startupHelp := 0;
but that didn't solve the problem for this person for some reason… If anyone's seen that error before, I'd love to know what it's from.
in hcommon.pref:
startupHelp := 0;
but that didn't solve the problem for this person for some reason… If anyone's seen that error before, I'd love to know what it's from.
Can you turn off auto-load of help browser without opening? Dec. 10, 2008, 10:59 p.m.
I'm getting some python error when Houdini launches on some of our machines.
The error looks like:
help system: error: cannot import name Punctuation
exception: ImportError
details: Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/home/prisms/builder-new/Nightly9.5/dev/src/houdini/help/houdinihelp/__init__.py”,
line 7, in <module>
# Copyright © 1999 by Secret Labs AB.
File “/home/prisms/builder-new/Nightly9.5/dev/src/houdini/help/houdinihelp/streams.py”,
line 13, in <module>
File
“/home/prisms/builder-new/Nightly9.5/dev/src/houdini/help/houdinihelp/helpfilters.py”,
line 13, in <module>
File “/home/prisms/builder-new/Nightly9.5/dev/src/houdini/help/houdinihelp/coloring.py”,
line 2, in <module>
ImportError: cannot import name Punctuation
My quick work-around is to have the user go to a machine without this issue, open houdini, turn off “Load help browser on start,” close Houdini, then go back to their workstation. I would imagine there is a better way. Anyone know how to turn off autoload of help browser? I don't see it in the houdini.pref file, but that doesn't mean it's not there.
Using H9.5.241 on Linux.
Thanks
The error looks like:
help system: error: cannot import name Punctuation
exception: ImportError
details: Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
File “/home/prisms/builder-new/Nightly9.5/dev/src/houdini/help/houdinihelp/__init__.py”,
line 7, in <module>
# Copyright © 1999 by Secret Labs AB.
File “/home/prisms/builder-new/Nightly9.5/dev/src/houdini/help/houdinihelp/streams.py”,
line 13, in <module>
File
“/home/prisms/builder-new/Nightly9.5/dev/src/houdini/help/houdinihelp/helpfilters.py”,
line 13, in <module>
File “/home/prisms/builder-new/Nightly9.5/dev/src/houdini/help/houdinihelp/coloring.py”,
line 2, in <module>
ImportError: cannot import name Punctuation
My quick work-around is to have the user go to a machine without this issue, open houdini, turn off “Load help browser on start,” close Houdini, then go back to their workstation. I would imagine there is a better way. Anyone know how to turn off autoload of help browser? I don't see it in the houdini.pref file, but that doesn't mean it's not there.
Using H9.5.241 on Linux.
Thanks
HDK: Can you fill a UT_String from stdin? Oct. 23, 2008, 5:20 p.m.
edwardmaybe “ANSI string” is not the correct term. I mean…
I don't see how you can do that safely with ANSI strings though. Take for example, "char str; cin >> str". Now what happens if the user types in more than 4 characters? You might not crash of course until the user types in more than 16 characters due to memory alignment but doing so is definitely not safe.
#include <string>
#include <iostream>
#include <UT/UT_String.h>
using namespace std;
int main() {
UT_String myUT;
string mySTR;
cin >> mySTR;
myUT = mySTR.c_str();
return 0;
}