On Wed, 2003-01-22 at 02:49, Max Ischenko wrote: > Here is a couple of problems I encounter when upgrade from 0.7 to 0.8b1. > > - I added a line > from MiscUtils import SubclassResponsibilityError > to webware.common module because a FunFormKit relies on it.
Then FFK shouldn't be doing that, I'll fix it there. > - I wasn't able to see my context until I explicitly added it > to Context dict. Is it a new feature? Version 0.7 didn't contain a > ref. in the configuration file and still worked OK. That seems correct, you should have to add your context to the context dictionary. > - My class (derived from HTTPServlet) returns 1 in canBeThreaded() > method. This cause the following error: > Traceback (most recent call last): > File "./WebKit/Application.py", line 415, in dispatchRequest >self.handleGoodURL(transaction) > File "./WebKit/Application.py", line 563, in handleGoodURL >self.createServletInTransaction(transaction) > File "./WebKit/Application.py", line 1051, in createServletInTransaction > cache['instances'].put(inst) > AttributeError: 'list' object has no attribute 'put' > After I replaced return 1 with return 0 servlet had started working. Okay, the .put should have been .append. It should be fixed in CVS. Ian ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss