Hi, all.

I'm getting a weird traceback from one of my servlets:
/Users/randall/Devel/Work/shadowcash/context/editprofile.py

Traceback (most recent call last):
File "/opt/Webware/WebKit/Application.py", line 415, in dispatchRequest
self.handleGoodURL(transaction)
File "/opt/Webware/WebKit/Application.py", line 568, in handleGoodURL
self.createServletInTransaction(transaction)
File "/opt/Webware/WebKit/Application.py", line 1061, in createServletInTransaction
inst = self.getServlet(transaction, path)
File "/opt/Webware/WebKit/Application.py", line 995, in getServlet
inst = factory.servletForTransaction(transaction)
File "./WebKit/ServletFactory.py", line 199, in servletForTransaction
AssertionError


on which line I find:
assert issubclass(theClass, Servlet)

which would seem to indicate that my class (editprofile) is not
inheriting from Page.  I have a class called Profile that this
servlet subclasses, and all of my servlets that subclass Profile
have the same error, unless they subclass a class that has itself
subclassed Profile.  If that makes sense. :)

So my "createprofile" servlet inherits from editprofile, but works
fine until it forwards to editprofile after a new profile was
created.

I found a similar problem had by Edmund Lian on the Cheetah list,
but the cause there (class name not being the same as the filename)
doesn't seem to apply.

Anyone know why this could be happening?


-- Randall Randall <[EMAIL PROTECTED]> "Not only can money buy happiness, it isn't even particularly expensive any more." -- Spike Jones



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to