Paste number 54568: zalchemy demo example error

Paste number 54568: zalchemy demo example error
Pasted by: jacob
10 months, 1 hour ago
#zope | Context in IRC logs
Paste contents:
Raw Source | XML | Display As
2008-01-21T16:58:23 ERROR SiteError http://localhost:8080/another/m2/+/z3c.zalchemy.demo.demo_2.message.HelloWorldMessage2%3D
Traceback (most recent call last):
  File "/home/jacob/zope/lib/python/zope/publisher/publish.py", line 133, in publish
    result = publication.callObject(request, obj)
  File "/home/jacob/zope/lib/python/zope/app/publication/zopepublication.py", line 167, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/home/jacob/zope/lib/python/zope/publisher/publish.py", line 108, in mapply
    return debug_call(obj, args)
   - __traceback_info__: <security proxied zope.app.publisher.browser.viewmeta.AddHelloWorldMessage instance at 0xa1bb02c>
  File "/home/jacob/zope/lib/python/zope/publisher/publish.py", line 114, in debug_call
    return obj(*args)
  File "/home/jacob/zope/lib/python/zope/formlib/form.py", line 773, in __call__
    self.update()
  File "/home/jacob/zope/lib/python/zope/formlib/form.py", line 754, in update
    result = action.success(data)
  File "/home/jacob/zope/lib/python/zope/formlib/form.py", line 598, in success
    return self.success_handler(self.form, self, data)
  File "/home/jacob/zope/lib/python/zope/formlib/form.py", line 865, in handle_add
    self.createAndAdd(data)
  File "/home/jacob/zope/lib/python/zope/formlib/form.py", line 872, in createAndAdd
    return self.add(ob)
  File "/home/jacob/zope/lib/python/zope/formlib/form.py", line 881, in add
    ob = self.context.add(object)
  File "/home/jacob/zope/lib/python/zope/app/container/browser/adding.py", line 74, in add
    return container[name]
  File "/usr/lib/python2.4/site-packages/z3c.zalchemy-0.1.1-py2.4.egg/z3c/zalchemy/demo/demo_2/container.py", line 41, in __getitem__
    raise KeyError(name)
KeyError: 'HelloWorldMessage2'

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.