[Karrigell-main] Problem importing?
Brought to you by:
quentel
From: Lear, R. <Rus...@us...> - 2004-07-27 16:21:44
|
I've just started using Karrigell and it looks like it'll be great for what I'm trying to do - if I can get around a problem I'm having. If I run the following .py script: import brokeredServices results = """ <html> <body> <h1>status = probing...</h1> </body> </html> """ print results Karrigell crashes every third access (so if I visit the url pointing to the script and hit refresh twice, it crashes). The following is in the console running Karrigell: D:\home\lear\projects\webSvcs\Karrigell-2.0.3>python Karrigell.py Karrigell 2.0.3 running on port 8181 Debug level 1 localhost - - [27/Jul/2004 09:03:47] "GET /MyServlet.py?c=3 HTTP/1.1" 200 - localhost - - [27/Jul/2004 09:03:48] "GET /MyServlet.py?c=3 HTTP/1.1" 200 - 09:03:49: Debug: c:\PROJECTS\wx\src\msw\app.cpp(407): 'UnregisterClass(MDI parent)' failed with error 0x00000583 (class does not exist.). 09:03:49: Debug: c:\PROJECTS\wx\src\msw\app.cpp(415): 'UnregisterClass(no redraw MDI parent frame)' failed with error 0x00000583 (class does not exist.). 09:03:49: Debug: c:\PROJECTS\wx\src\msw\app.cpp(423): 'UnregisterClass(MDI child)' failed with error 0x00000583 (class does not exist.). 09:03:49: Debug: c:\PROJECTS\wx\src\msw\app.cpp(431): 'UnregisterClass(no redraw MDI child)' failed with error 0x00000583 (class does not exist.). 09:03:49: Debug: c:\PROJECTS\wx\src\msw\app.cpp(439): 'UnregisterClass(canvas)' failed with error 0x00000583 (class does not exist.). 09:03:49: Debug: c:\PROJECTS\wx\src\msw\app.cpp(446): 'UnregisterClass(no redraw canvas)' failed with error 0x00000583 (class does not exist.). D:\home\lear\projects\webSvcs\Karrigell-2.0.3> (And I'm returned to the command prompt). If I remove the "import brokeredServices" line, all is well. (In my real script I actually use something from that module!). The brokeredServices module is one of mine which has been installed into the Python site-packages using the python distutils. It's been working in other contexts for some months now. I don't know what the "c:\PROJECTS\wx\src\msw\app.cpp" is - it isn't mine. I'm running Python 2.3 on Windows XP (I haven't had a chance to try this out on Linux). Karrigell v2.0.3. IIS is running but doesn't seem to be a factor. Any clues as to what I'm doing wrong and how I can avoid doing it while still importing my module? There seems to be something I'm doing in my brokeredServices module that doesn't play well with Karrigell (it's kind of big, so any clues for things to watch for would be appreciated). Thanks, Russell. |