[Twisted-web] livepage error

Christopher Zorn christopher.zorn at gmail.com
Mon Apr 18 11:49:47 MDT 2005


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.



More information about the Twisted-web mailing list