Hello,

This weekend I got round to experimenting with 0.6a1, mostly to see whether my 
XMLForms code, which was developed on 0.5.1rc2, would work with the new 
release. I can report a degree of success, but then I found some bugs in my own 
code and the rest of the weekend's coding activities were concerned with 
sorting them out. ;-)

However, there was one problem which I found perplexing: with the new Webware 
(and WebKit) installed at the same location in the filesystem as the previous 
release, with the WebKit.cgi program replaced (to make sure that everything 
which should have been changed had actually been changed), and with all 
environment details identical to before (as far as I could control), my 
XMLFormsServletFactory couldn't forward requests to standard Python handlers 
because the imp.find_module call in the ServletFactory module was failing to 
locate them.

Regardless of whether I kept using the forwardRequestFast method (now 
deprecated, I note) or the forward method in the Application class (I think), 
AppServer seemed unable to locate my handler modules. What is even more bizarre 
is that when I inserted trace statements in the code and then used the values 
printed by AppServer in a hand-made imp.find_module call in an interactive 
interpreter session, I always managed to issue the call with success.

In the end, I replaced the imp.find_module call with an invocation of the built-
in __import__ function, but I find this sequence of events most bizarre. I'll 
attempt to post the AppServer log later in the week, along with some more 
details. Has anyone else had problems with their handlers not being imported?

Paul

P.S. Hardly any of the PSP examples seemed to work in the new release. I'll try 
and post details of this later on, as well.

-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to