well, i managed to narrow the problem down to some weird import problems. i use 4suite's xslt processor to create the output page. with this processor it is possible to register python modules providing xpath extension functions. it turns out, that registering more than one such extension module leads to the exception below upon requesting the resource again.
so my workaround will be to put all extension functions in one module. it would still be nice to find out what exactly is going on.
regards,
robert


Robert Forkel wrote:

hi,
just installed webware 0.8.1 and ran into the following problem:
i created my own context using the provided utility, changed the Main class in Main.py so it does now have only a writeHTML method which consists of just one call to self.write passing a string generated via xslt. the page created like this contains a form, but i'm not sure whether this matters. the first request works fine, on the second request i get:


Traceback (most recent call last):
File "./WebKit/ThreadedAppServer.py", line 293, in threadloop
File "./WebKit/ThreadedAppServer.py", line 532, in handleRequest
File "./WebKit/Application.py", line 375, in dispatchRawRequest
File "./WebKit/Application.py", line 945, in createRequestForDict
File "./WebKit/HTTPRequest.py", line 33, in __init__
File "./WebUtils/FieldStorage.py", line 17, in __init__
TypeError: unbound method __init__() must be called with FieldStorage instance as first argument (got FieldStorage instance instead)


i cannot make any sense of this traceback.  any suggestions?
regards,
robert



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss


.





-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to