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.

- 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.

- 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.

-- 
Bst rgrds, M.A.X.: Mechanical Artificial Xenomorph.


-------------------------------------------------------
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

Reply via email to