470,849 Members | 1,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

import error on solaris

I am embedding python in C++ using SWIG.
* The appication runs as a server.
* Mutiple clients send requests which execute some
python scripts with import statements.
* Each request is handled in a separate thread which
has its own interepreter for script execution.
* Requests are succesfully completed fine for some
time and then I see some "ImportErrors" for example
"ImportError: No module named string"

Apart from these python replated errors I see some
"too many files open" errors in my other server code.

Other than solaris things work fine on other unix
platforms and windos too. One additional thing I do
for solaris is
"import DLFCN; sys.setdlopenflags(DLFCN.RTLD_NOW |

One of my question is, is importing some module create
a file handle ?

Any help on this is appreciated.

Atul Kshirsagar
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Jul 19 '05 #1
0 994

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Skip Montanaro | last post: by
reply views Thread by Vidhya CS | last post: by
1 post views Thread by Jeff | last post: by
13 posts views Thread by Mary Lei | last post: by
reply views Thread by Julie Warden | last post: by
1 post views Thread by jrefran | last post: by
1 post views Thread by jrefran | last post: by
2 posts views Thread by jianbing.chen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.