On 2/18/07, Roger Ineichen <[EMAIL PROTECTED]> wrote:
Since the newest Zope3 trunk checkout,
some tests are not running. This tests are based
on a custom test layer.

Exception raised:
    Traceback (most recent call last):
      File "D:\trunk\Zope3\src\zope\testing\doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest README.txt[4]>", line 1, in ?
      File "D:\trunk\Zope3\src\zope\testbrowser\browser.py", line 223, in
        self.mech_browser.open(url, data)
      File "D:\trunk\Zope3\src\mechanize\_mechanize.py", line 177, in open
        return self._mech_open(url, data)
      File "D:\trunk\Zope3\src\mechanize\_mechanize.py", line 202, in
        response = UserAgent.open(self, self.request, data)
      File "D:\trunk\Zope3\src\mechanize\_opener.py", line 234, in open
        response = urlopen(self, req, data)
      File "C:\Python24\lib\urllib2.py", line 376, in _open
        '_open', req)
      File "C:\Python24\lib\urllib2.py", line 337, in _call_chain
        result = func(*args)
      File "D:\trunk\Zope3\src\zope\testbrowser\testing.py", line 123, in
        return self.do_open(PublisherConnection, req)
      File "C:\Python24\lib\urllib2.py", line 993, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "D:\trunk\Zope3\src\zope\testbrowser\testing.py", line 80, in
        self.response = self.caller(request_string, handle_errors)
      File "D:\trunk\Zope3\src\zope\app\testing\functional.py", line 592, in
      File "D:\trunk\Zope3\src\zope\app\testing\functional.py", line 625, in
        return chooseClasses(method, environment)
      File "D:\trunk\Zope3\src\zope\app\publication\httpfactory.py", line
33, in chooseClasses
        factory = factoryRegistry.lookup(method, content_type, environment)
line 97, in lookup
        raise ConfigurationError('No registered publisher found '
    ConfigurationError: No registered publisher found for (GET/)

Does anybody have any hints why the publisher is missing?

I am not getting this error when running 'python2.4 test.py' in Zope 3
trunk checkout.
How did you run this test?

Baiju M
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to