All pastes #929246 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-03-05 17:15 UTC
rendered paste body
  class Root(controllers.RootController):
  File "/opt/enomalism2/trunk/enomalism2/controllers.py", line 188, in Root
    "isinstance(tg_exceptions,sqlobject.dberrors.OperationalError)")
  File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4.3-py2.4.egg/turbogears/errorhandling.py", line 127, in register
    dispatch_error.when(dispatch_error.parse(when, *combine_contexts(
  File "/var/lib/python-support/python2.4/dispatch/functions.py", line 326, in parse
    return parse_expr(expr_string,builder)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 383, in parse_expr
    return build(builder, parser.expr(expr).totuple(1)[1])
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 51, in com_binary
    return getattr(builder,opname)(items)
  File "/var/lib/python-support/python2.4/dispatch/predicates.py", line 609, in And
    return reduce(operator.and_,[build(self,expr) for expr in items])
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 217, in atom
    return build(builder,nodelist[2])
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 51, in com_binary
    return getattr(builder,opname)(items)
  File "/var/lib/python-support/python2.4/dispatch/predicates.py", line 609, in And
    return reduce(operator.and_,[build(self,expr) for expr in items])
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 217, in atom
    return build(builder,nodelist[2])
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 178, in power
    return com_call_function(builder,nodelist,node[2])
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 284, in com_call_function
    return builder.CallFunc(primaryNode, args, kw, star_node, dstar_node)
  File "/var/lib/python-support/python2.4/dispatch/predicates.py", line 545, in method
    return expressionSignature(op(self.expr_builder,*args), self.mode)
  File "/var/lib/python-support/python2.4/dispatch/predicates.py", line 170, in CallFunc
    return Call(func.value, *[build(self,arg) for arg in args])
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 181, in power
    return builder.Getattr(nodelist, node[2][1])
  File "/var/lib/python-support/python2.4/dispatch/predicates.py", line 151, in Getattr
    expr = build(self,expr)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.4/dispatch/ast_builder.py", line 181, in power
    return builder.Getattr(nodelist, node[2][1])
  File "/var/lib/python-support/python2.4/dispatch/predicates.py", line 153, in Getattr
    return Const(getattr(expr.value,attr))
AttributeError: 'module' object has no attribute 'dberrors'
etch:/opt/enomalism2/trunk#