All pastes #502127 Raw Copy code Copy link Edit

Miscellany

public text v1 · immutable
#502127 ·published 2007-05-22 11:16 UTC
rendered paste body
------
2007-05-22T08:38:46 ERROR SiteError http://sparky:8080/f/CompIndex.html
Traceback (most recent call last):
  File "/opt/Zope-3.1.1/lib/python/zope/publisher/publish.py", line 133, in publish
    result = publication.callObject(request, obj)
  File "/opt/Zope-3.1.1/lib/python/zope/app/publication/zopepublication.py", line 161, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/opt/Zope-3.1.1/lib/python/zope/publisher/publish.py", line 108, in mapply
    return debug_call(obj, args)
   - __traceback_info__: <security proxied zope.app.publisher.browser.viewmeta.ViewComputer instance at 0xb5d925ec>
  File "/opt/Zope-3.1.1/lib/python/zope/publisher/publish.py", line 114, in debug_call
    return obj(*args)
  File "/opt/Zope-3.1.1/lib/python/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/opt/Zope-3.1.1/lib/python/zope/app/pagetemplate/viewpagetemplatefile.py", line 51, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/opt/Zope-3.1.1/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/opt/Zope-3.1.1/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/opt/Zope-3.1.1/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/opt/Zope-3.1.1/lib/python/zope/tal/talinterpreter.py", line 824, in do_loop_tal
    self.interpret(block)
  File "/opt/Zope-3.1.1/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/opt/Zope-3.1.1/lib/python/zope/tal/talinterpreter.py", line 623, in do_insertText_tal
    text = self.engine.evaluateText(stuff[0])
  File "/opt/Zope-3.1.1/lib/python/zope/tales/tales.py", line 704, in evaluateText
    text = self.evaluate(expr)
  File "/opt/Zope-3.1.1/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - /home/acripps/zope/lib/python/ship/computer/browser/templates/computerView.pt
   - Line 32, Column 28
   - Expression: <PathExpr standard:u'user'>
   - Names:
      {'args': (),
       'context': <ship.computer.computer.Computer object at 0xb5e13cec>,
       'default': <object object at 0xb7d3b568>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': {},
       'request': <zope.publisher.browser.BrowserRequest instance URL=http://sparky:8080/f/CompIndex.html>,
       'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object at 0xb6c570ec>,
       'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object at 0xb5e4cf2c>,
       'view': <zope.app.publisher.browser.viewmeta.ViewComputer object at 0xb5d925ec>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0xb5e4c4cc>}
  File "/opt/Zope-3.1.1/lib/python/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/opt/Zope-3.1.1/lib/python/zope/tales/expressions.py", line 194, in _eval
    ob = self._subexprs[-1](econtext)
  File "/opt/Zope-3.1.1/lib/python/zope/tales/expressions.py", line 118, in _eval
    ob = vars[base]
KeyError: 'user'
127.0.0.1 - - [22/May/2007:08:38:46 -0230] "GET /f/CompIndex.html HTTP/1.1" 500 84 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.4 (like Gecko)"