> Many thanks, it works when setting the LANG environment variable.
BTW:
For Windows users, when running Python command-line programs,
you can also modify the properties of the "cmd.exe" window and
tell windows to use the TT Lucida Console font instead of the raster
font.
Then, before starting th
Our program that makes use of cx_Oracle and multi-threading (and works
fine on Windows, Linux and other platforms, including HP-UX PA-RISC),
fails to run on HP-UX Itanium.
When trying to start the first daemon thread, the program raises an
exception:
...
File "/usr/local/lib/python2.6/threading.p
New info: The problem is not related to the specific program - it is
definitely a build problem, as the following test shows:
Python 2.6.2 (r262:71600, Apr 28 2009, 17:38:15)
[GCC 4.2.3] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.
>>> import threading
>>> threa
Daniel:
> What do you get with:
> import thread
> thread.start_new_thread(int, ('1',2))
>
This results in the same error message:
thread.error: can't start new thread
Aahz:
> You probably want to start by figuring out which threading library is
> being used -- Python normally wants Posix threads,
Why not set up PYTHONPATH together with other environment variables in
a shell script (bash, or CMD on Windows) and call that shell script
instead of your Python script directly?
This is probably the easiest and still a very powerful and generic
solution for this kind of problem. We do it that way