By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,172 Members | 727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,172 IT Pros & Developers. It's quick & easy.

import error on solaris

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.