rendered paste bodytwisted.python.components.CannotAdapt: WovenContext(tag=None, isAttrib=True) to <MetaInterface nevow.livepage.IClientHandle>
/usr/lib/python2.4/site-packages/nevow/flat/twist.py, line 17 in drive
15
def drive():
16
try:
17
next = iterable.next()
18
except StopIteration:
Locals
drive <function drive at 0x2aaaae089e60>
iterable <generator object at 0x2aaaae06e3f8>
/usr/lib/python2.4/site-packages/nevow/flat/ten.py, line 87 in iterflatten
85
while rest:
86
gen = rest.pop()
87
for item in gen:
88
if isinstance(item, str):
Locals
rest [<listiterator object at 0x2aaaae091b50>, <generator object at 0x2aaaae06e440>, <generator object at 0x2aaaae08af80>]
item ' oncommand="'
gen <generator object at 0x2aaaae0aa8c0>
/usr/lib/python2.4/site-packages/nevow/flat/flatstan.py, line 110 in TagSerializer
108
continue
109
yield ' %s="' % k
110
yield serialize(v, attribContext)
111
yield '"'
Locals
attribContext WovenContext(tag=None, isAttrib=True)
v <nevow.livepage.handler object at 0x2aaaae0ac290>
k 'oncommand'
Globals
serialize <function serialize at 0x2aaaad120c08>
/usr/lib/python2.4/site-packages/nevow/flat/ten.py, line 74 in serialize
72
def serialize(obj, context):
73
#warnings.warn('serialize is deprecated; it has been renamed partialflatten.', stacklevel=2)
74
return partialflatten(context, obj)
75
Locals
obj <nevow.livepage.handler object at 0x2aaaae0ac290>
context WovenContext(tag=None, isAttrib=True)
Globals
serialize <function serialize at 0x2aaaad120c08>
partialflatten <function partialflatten at 0x2aaaad120b90>
warnings <module 'warnings' from '/usr/lib/python2.4/warnings.pyc'>
/usr/lib/python2.4/site-packages/nevow/flat/ten.py, line 65 in partialflatten
63
flattener = getFlattener(obj)
64
if flattener is not None:
65
return flattener(obj, context)
66
Locals
flattener <function flattenHandler at 0x2aaaad8d6938>
obj <nevow.livepage.handler object at 0x2aaaae0ac290>
context WovenContext(tag=None, isAttrib=True)
Globals
getFlattener <function getFlattener at 0x2aaaad120aa0>
/usr/lib/python2.4/site-packages/nevow/livepage.py, line 866 in flattenHandler
864
865
def flattenHandler(handler, ctx):
866
client = IClientHandle(ctx)
867
iden = handler.identifier
Locals
handler <nevow.livepage.handler object at 0x2aaaae0ac290>
ctx WovenContext(tag=None, isAttrib=True)
Globals
flattenHandler <function flattenHandler at 0x2aaaad8d6938>
handler <class 'nevow.livepage.handler'>
IClientHandle <MetaInterface nevow.livepage.IClientHandle>
/usr/lib/python2.4/site-packages/twisted/python/components.py, line 345 in __call__
343
adapter = default
344
if adapter is default and default is _Nothing:
345
raise CannotAdapt("%s to %s" % (adaptable, self))
346
return adapter
Locals
default <class twisted.python.components._Nothing at 0x2aaaac522c50>
adapter <class twisted.python.components._Nothing at 0x2aaaac522c50>
adaptable WovenContext(tag=None, isAttrib=True)
self <MetaInterface nevow.livepage.IClientHandle>
Globals
_Nothing <class twisted.python.components._Nothing at 0x2aaaac522c50>
CannotAdapt <class twisted.python.components.CannotAdapt at 0x2aaaac522e30>
twisted.python.components.CannotAdapt: WovenContext(tag=None, isAttrib=True) to <MetaInterface nevow.livepage.IClientHandle>