Re: [Zope3-dev] Broken tests since last checkout

2007-02-19 Thread Baiju M

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 ?
manager.open('http://localhost/sampledata.html')
  File D:\trunk\Zope3\src\zope\testbrowser\browser.py, line 223, in
open
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
_mech_open
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
http_open
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
request
self.response = self.caller(request_string, handle_errors)
  File D:\trunk\Zope3\src\zope\app\testing\functional.py, line 592, in
__call__
environment)
  File D:\trunk\Zope3\src\zope\app\testing\functional.py, line 625, in
chooseRequestClass
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)
  File
D:\trunk\Zope3\src\zope\app\publication\requestpublicationregistry.py,
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?

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



[Zope3-dev] Broken tests since last checkout

2007-02-18 Thread Roger Ineichen
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 ?
manager.open('http://localhost/sampledata.html')
  File D:\trunk\Zope3\src\zope\testbrowser\browser.py, line 223, in
open
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
_mech_open
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
http_open
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
request
self.response = self.caller(request_string, handle_errors)
  File D:\trunk\Zope3\src\zope\app\testing\functional.py, line 592, in
__call__
environment)
  File D:\trunk\Zope3\src\zope\app\testing\functional.py, line 625, in
chooseRequestClass
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)
  File
D:\trunk\Zope3\src\zope\app\publication\requestpublicationregistry.py,
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?

Regards
Roger Ineichen
_
END OF MESSAGE

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



[Zope3-dev] Broken Tests

2006-03-13 Thread Benji York
It looks like revision 65953 (updated to Docutils 0.4.0) broke the 
unit tests.  For details see 
http://buildbot.zope.org:8002/Zope3%20trunk%202.4%20Linux%20zc-buildbot/builds/382/test/0 



Andreas, do you have any idea why that might be?
--
Benji York
Senior Software Engineer
Zope Corporation
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



Re: [Zope3-dev] Broken Tests

2006-03-13 Thread Andreas Jung



--On 13. März 2006 16:49:27 -0500 Benji York [EMAIL PROTECTED] wrote:


It looks like revision 65953 (updated to Docutils 0.4.0) broke the unit
tests.  For details see
http://buildbot.zope.org:8002/Zope3%20trunk%202.4%20Linux%20zc-buildbot/b
uilds/382/test/0

Andreas, do you have any idea why that might be?


I fixed the problem in managerdetails. Docutils seems to perform tighter 
type checking. Since the reST adapter defines 'unicode' as input_encoding we
need to pass a unicode string (see managerdetails.py). The other problem is 
also already fixed.


Apart from that I did not receive and buildbot mails indicating the error.
Is there a problem with buildbot?

Andreas

pgpWUTu51kWPM.pgp
Description: PGP signature
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com