Re: [Zope3-Users] zope.testbrowser and vhost

2007-01-04 Thread Dominique Lederer
Gary Poster schrieb: On Jan 2, 2007, at 2:29 PM, Benji York wrote: Dominique Lederer wrote: i see there is a VirtualHostingBrowser class in zope.testbrowser.testing, but i dont have a clue on how to use this. Use VirtualHostTestBrowserSuite instead of unittest.TestSuite and the tests

[Zope3-Users] mapply error

2007-01-04 Thread David Johnson
I have a content type that gives the following exception whenever I try to click on it. Not sure why. Any ideas? File /usr/share/zope3/lib/python/zope/publisher/publish.py, line 56, in unwrapMethod raise TypeError(mapply() can not call %s % `object`) TypeError: mapply() can not call

Re: [Zope3-Users] mapply error

2007-01-04 Thread David Johnson
Okay. It appears the problem is that the object is part of a content container, and this container has a __getitem__ method which was not returning the item. It is working. Thanks. On Jan 4, 2007, at 6:32 PM, David Johnson wrote: I have a content type that gives the following exception