[Zope3-Users] benji york's quick_start.txt

Matthew Russell matt.horizon5 at gmail.com
Wed Oct 5 13:12:51 EDT 2005


Hi,

I'm following Benji's quick_start.txt
(http://www.benjiyork.com/quick_start.txt).
I've followed everything precisly up to the "Adding Menu Entries"
section, at which point
zope3 throws the following error:

Traceback (most recent call last):
  File "/home/matt/zope3_quick_start/zope3/src/zope/publisher/publish.py",
line 138, in publish
    result = publication.callObject(request, object)
  File "/home/matt/zope3_quick_start/zope3/src/zope/app/publication/zopepublication.py",
line 164, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/home/matt/zope3_quick_start/zope3/src/zope/publisher/publish.py",
line 113, in mapply
    return debug_call(object, args)
  File "/home/matt/zope3_quick_start/zope3/src/zope/publisher/publish.py",
line 119, in debug_call
    return object(*args)
  File "/home/matt/zope3_quick_start/zope3/src/zope/formlib/form.py",
line 739, in __call__
    self.update()
  File "/home/matt/zope3_quick_start/zope3/src/zope/formlib/form.py",
line 720, in update
    result = action.success(data)
  File "/home/matt/zope3_quick_start/zope3/src/zope/formlib/form.py",
line 568, in success
    return self.success_handler(self.form, self, data)
  File "/home/matt/zope3_quick_start/zope3/src/zope/formlib/form.py",
line 780, in handle_edit_action
    mapping={'date_time':
  File "/home/matt/zope3_quick_start/zope3/src/zope/interface/interface.py",
line 704, in __call__
    raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <zope.publisher.browser.BrowserRequest
instance URL=http://localhost:8080/hello/@@edit.html>, <InterfaceClass
zope.interface.common.idatetime.ITZInfo>)


I assume this is because I'm using a checkout from the trunk, and
something's borked?
If not, then I assume there is an omission in the quick_start.txt, and
the view class needs to implement IBrowerRequest (or something like
that... not sure!)

Environment:
Ubuntu Linux (Breezy)
Python 2.4.2
Zope3 (svn checkout as persibed by quick_start.txt)

Anyone have the same error or know where I'm going wrong?
I've made sure to check and re-check the code to ensure it matches
that in the quick_start.txt.

cheers,
Matt
--
Cheers,
matt


More information about the Zope3-users mailing list