<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Two days ago, I downloaded the
Zope3-MS4-Windows.zip file to begin my study of Zope3.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Today, I'm still on the first command in the
README.txt file: python test.py -v. I just cannot get past the ZEO tests. If
anyone can help me with the unit tests, I would greatly appreciate
it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>First, my environment:</FONT></DIV>
<DIV><FONT face=Arial size=2>Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC
v.1200 32 bit (Intel)] on win32</FONT></DIV>
<DIV><FONT face=Arial size=2>Windows XP Personal SP1</FONT></DIV>
<DIV><FONT face=Arial size=2>AMD Athlon 1GHz, 384MB RAM</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Every unit test which wanders down into
start_zeo_server() in forker.py fails by timing out with multiple 10061
Connection refused errors (an error for every one of the 120 passes through
the loop.) I've found references to this behavior several places on the 'Net. I
even saw where the loop limit was bumped from 20 to 120 on October 15 by
'jeremy' to account for slow DB starts. I can set the limit to 1000 and never
get a connection.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have not recompiled any C files - I'm running
everything as it came out of the box.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The first unit test failure is the testNOK test,
followed by testOK, and countless others (I can't tell you how many because it
takes HOURS due to the retry loop in start_zeo_server). Here's the unit test
output (which incidentally differs significantly from the traceback issued by
test.py and I've attached it after the unit test traceback....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>testNOK (zodb.zeo.tests.test_auth.PlainTextAuth)
.. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Error in test testNOK
(zodb.zeo.tests.test_auth.PlainTextAuth)<BR>Traceback (most recent call
last):<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\test_auth.py", line
42, in setUp<BR> self.__super_setUp()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\connection.py", line
89, in setUp<BR> self.startServer()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\connection.py", line
181, in startServer<BR> zeoport, adminaddr, pid, path =
forker.start_zeo_server(<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\forker.py", line 110,
in start_zeo_server<BR> s.connect(adminaddr)<BR> File
"<string>", line 1, in connect<BR>error: (10061, 'Connection
refused')</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>testNOK (zodb.zeo.tests.test_auth.DigestAuth) ...
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Error in test testNOK
(zodb.zeo.tests.test_auth.DigestAuth)<BR>Traceback (most recent call
last):<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\test_auth.py", line
42, in setUp<BR> self.__super_setUp()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\connection.py", line
89, in setUp<BR> self.startServer()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\connection.py", line
181, in startServer<BR> zeoport, adminaddr, pid, path =
forker.start_zeo_server(<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\forker.py", line 110,
in start_zeo_server<BR> s.connect(adminaddr)<BR> File
"<string>", line 1, in connect<BR>error: (10061, 'Connection
refused')</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR>======================================================================<BR>ERROR:
testNOK
(zodb.zeo.tests.test_auth.PlainTextAuth)<BR>----------------------------------------------------------------------<BR>Traceback
(most recent call last):<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\test_auth.py", line
42, in setUp<BR> self.__super_setUp()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\connection.py", line
89, in setUp<BR> self.startServer()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\connection.py", line
181, in startServer<BR> zeoport, adminaddr, pid, path =
forker.start_zeo_server(<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\forker.py", line 110,
in start_zeo_server<BR> s.connect(adminaddr)<BR> File
"<string>", line 1, in connect<BR>error: (10061, 'Connection
refused')</DIV>
<DIV> </DIV>
<DIV>======================================================================<BR>ERROR:
testNOK
(zodb.zeo.tests.test_auth.DigestAuth)<BR>----------------------------------------------------------------------<BR>Traceback
(most recent call last):<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\test_auth.py", line
42, in setUp<BR> self.__super_setUp()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\connection.py", line
89, in setUp<BR> self.startServer()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\connection.py", line
181, in startServer<BR> zeoport, adminaddr, pid, path =
forker.start_zeo_server(<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\forker.py", line 110,
in start_zeo_server<BR> s.connect(adminaddr)<BR> File
"<string>", line 1, in connect<BR>error: (10061, 'Connection
refused')</DIV>
<DIV> </DIV>
<DIV>----------------------------------------------------------------------<BR>Ran
2 tests in 288.585s</DIV>
<DIV> </DIV>
<DIV>FAILED (errors=2)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here's what appears on the screen when the test
fails:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>C:\rascal\dev\Zope3\Zope3-MS4-Windows>python
test.py -vv . "testNOK"</FONT></DIV>
<DIV><FONT face=Arial size=2>Running unit tests at level 1<BR>Running unit tests
from C:\rascal\dev\Zope3\Zope3-MS4-Windows</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>Traceback (most recent call last):<BR>
File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\zeoserver.py",<BR>line
182, in ?<BR> main()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\zeoserver.py",<BR>line
135, in main<BR> zo.realize(["-C", configfile])<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zdaemon\zdoptions.py", line 25<BR>9,
in realize<BR> self.load_schema()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zdaemon\zdoptions.py", line 31<BR>0,
in load_schema<BR> self.schema =
ZConfig.loadSchema(self.schemafile)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\loader.py", line 37, i<BR>n
loadSchema<BR> return SchemaLoader().loadURL(url)<BR>
File "C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\loader.py", line 71,
i<BR>n loadURL<BR> return self.loadResource(r)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\loader.py", line 137,<BR>in
loadResource<BR> schema =
ZConfig.schema.parseResource(resource, self)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\schema.py", line 43, i<BR>n
parseResource<BR> xml.sax.parse(resource.file,
parser)<BR> File "C:\PYTHON23\Lib\xml\sax\__init__.py", line 33, in
parse<BR> parser.parse(source)<BR> File
"C:\PYTHON23\Lib\xml\sax\expatreader.py", line 107, in
parse<BR> xmlreader.IncrementalParser.parse(self,
source)<BR> File "C:\PYTHON23\Lib\xml\sax\xmlreader.py", line 123, in
parse<BR> self.feed(buffer)<BR> File
"C:\PYTHON23\Lib\xml\sax\expatreader.py", line 207, in
feed<BR> self._parser.Parse(data, isFinal)<BR> File
"C:\PYTHON23\Lib\xml\sax\expatreader.py", line 300, in
start_element<BR> self._cont_handler.startElement(name,
AttributesImpl(attrs))<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\schema.py", line 119,<BR>in
startElement<BR> getattr(self, "start_" +
name)(attrs)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\schema.py", line 306,<BR>in
start_import<BR> src = self._loader.schemaComponentSource(pkg,
file)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\loader.py", line 156,<BR>in
schemaComponentSource<BR> raise ZConfig.SchemaError("could not
load package %s: %s"<BR>ZConfig.SchemaError: could not load package zodb/zeo: No
module named zodb/zeo<BR>Traceback (most recent call last):<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\zeoserver.py",<BR>line
182, in ?<BR> main()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zodb\zeo\tests\zeoserver.py",<BR>line
135, in main<BR> zo.realize(["-C", configfile])<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zdaemon\zdoptions.py", line 25<BR>9,
in realize<BR> self.load_schema()<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\zdaemon\zdoptions.py", line 31<BR>0,
in load_schema<BR> self.schema =
ZConfig.loadSchema(self.schemafile)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\loader.py", line 37, i<BR>n
loadSchema<BR> return SchemaLoader().loadURL(url)<BR>
File "C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\loader.py", line 71,
i<BR>n loadURL<BR> return self.loadResource(r)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\loader.py", line 137,<BR>in
loadResource<BR> schema =
ZConfig.schema.parseResource(resource, self)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\schema.py", line 43, i<BR>n
parseResource<BR> xml.sax.parse(resource.file,
parser)<BR> File "C:\PYTHON23\Lib\xml\sax\__init__.py", line 33, in
parse<BR> parser.parse(source)<BR> File
"C:\PYTHON23\Lib\xml\sax\expatreader.py", line 107, in
parse<BR> xmlreader.IncrementalParser.parse(self,
source)<BR> File "C:\PYTHON23\Lib\xml\sax\xmlreader.py", line 123, in
parse<BR> self.feed(buffer)<BR> File
"C:\PYTHON23\Lib\xml\sax\expatreader.py", line 207, in
feed<BR> self._parser.Parse(data, isFinal)<BR> File
"C:\PYTHON23\Lib\xml\sax\expatreader.py", line 300, in
start_element<BR> self._cont_handler.startElement(name,
AttributesImpl(attrs))<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\schema.py", line 119,<BR>in
startElement<BR> getattr(self, "start_" +
name)(attrs)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\schema.py", line 306,<BR>in
start_import<BR> src = self._loader.schemaComponentSource(pkg,
file)<BR> File
"C:\rascal\dev\Zope3\Zope3-MS4-Windows\src\ZConfig\loader.py", line 156,<BR>in
schemaComponentSource<BR> raise ZConfig.SchemaError("could not
load package %s: %s"<BR>ZConfig.SchemaError: could not load package zodb/zeo: No
module named zodb/zeo</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>C:\rascal\dev\Zope3\Zope3-MS4-Windows></FONT></DIV></BODY></HTML>