[Twisted-web] livepage error
Donovan Preston
dp at ulaluma.com
Mon Apr 18 17:58:57 MDT 2005
On Apr 18, 2005, at 10:49 AM, Christopher Zorn wrote:
> Hello, I am getting a strange error with livepage
>
> In a rend.Page class I have the following
>
> def render_body(self, ctx, data):
> realm, mind = data
>
> def unload(client):
> print "unload"
>
> return ctx.tag(onunload=livepage.handler(unload))
>
> This worked before, but now I get the following Exception :
>
> twisted.python.components.CannotAdapt: WovenContext(tag=None,
> isAttrib=True) to <MetaInterface nevow.livepage.IClientHandle>
>
> If more detail is needed please let me know.
You are now required to subclass nevow.livepage.LivePage in order to
use it.
dp
More information about the Twisted-web
mailing list