[Zope3-Users] Installation prerequisites

John Poltorak jp at warpix.org
Wed Nov 10 19:13:40 EST 2004


On Wed, Nov 10, 2004 at 06:36:45PM -0500, Stephan Richter wrote:
> On Wednesday 10 November 2004 12:09, John Poltorak wrote:
> > I'm checking to see if I can install Zope X3 on OS/2 - v2.7.3 installs OK
> > so I thought I'd see how far things go with X3...
> 
> Wow, note that noone ever has tried to run Zope X3 on OS/2.

There aren't many of us left, but it still seems to do most of what I want 
and since it builds and runs v2.7.3 I thought I'd give Zope X3 a try. It 
should test the Posixness (if there is such a word) of Zope.

 
> > When running make check every single test seems to fail. Most errors
> > include the msg 'no host given' or 'Connection refused'. This suggests
> > that I have something missing from my environment.
> >
> > How do I figure out what is wrong?
> 
> This certainly seems like a problem with networking. 

It could be some thing very simple like a missing $HOSTNAME or somesuch...

> I do not understand 
> though, why nearly every unittest should fail. Could you try running a couple 
> of tests in zope.interface (for example) and send the traceback of the 
> failures to the list?

I'm not sure what you mean by 'zope.inteface', so I'll paste the begining 
and end of of a log of 'make check'. If you want some thing else please 
say.



/usr/bin/python install.py -q build
/usr/bin/python test.py -v
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Error in test test_derived_dict 
(ZConfig.components.basic.tests.test_mapping.BasicSectionTypeTestCase)
Traceback (most recent call last):
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/components/basic/tests/test_mapping.py", 
line 51, in setUp
    self.__class__.schema = self.load_schema_text(SIMPLE_SCHEMA)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/tests/support.py", 
line 54, in load_schema_text
    self.schema = ZConfig.loadSchemaFile(sio, url)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/loader.py", 
line 34, in loadSchemaFile
    return SchemaLoader().loadFile(file, url)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/loader.py", 
line 74, in loadFile
    return self.loadResource(r)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/loader.py", 
line 159, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/schema.py", 
line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/local/python/Lib/xml/sax/__init__.py", line 33, in parse
    parser.parse(source)
  File "/usr/local/python/Lib/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/python/Lib/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/python/Lib/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/python/Lib/xml/sax/expatreader.py", line 300, in 
start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/schema.py", 
line 103, in startElement
    getattr(self, "start_" + name)(attrs)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/schema.py", 
line 308, in start_import
    self.loadComponent(src)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/schema.py", 
line 311, in loadComponent
    r = self._loader.openResource(src)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/loader.py", 
line 94, in openResource
    file = urllib2.urlopen(url)
  File "/usr/local/python/Lib/urllib2.py", line 129, in urlopen
    return _opener.open(url, data)
  File "/usr/local/python/Lib/urllib2.py", line 326, in open
    '_open', req)
  File "/usr/local/python/Lib/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/usr/local/python/Lib/urllib2.py", line 980, in file_open
    return self.open_local_file(req)
  File "/usr/local/python/Lib/urllib2.py", line 1004, in open_local_file
    if not host or \
gaierror: (7, 'getaddrinfo failed')


[lots of other tests]



======================================================================
ERROR: test_schema (zope.app.server.tests.test_schema.TestConfiguration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/python/Lib/site-packages/zope/app/server/tests/test_schema.py", 
line 30, in test_schema
    ZConfig.loadSchema(filename)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/loader.py", 
line 31, in loadSchema
    return SchemaLoader().loadURL(url)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/loader.py", 
line 65, in loadURL
    return self.loadResource(r)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/loader.py", 
line 159, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/schema.py", 
line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/local/python/Lib/xml/sax/__init__.py", line 33, in parse
    parser.parse(source)
  File "/usr/local/python/Lib/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/python/Lib/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/python/Lib/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/python/Lib/xml/sax/expatreader.py", line 300, in 
start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/schema.py", 
line 103, in startElement
    getattr(self, "start_" + name)(attrs)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/schema.py", 
line 308, in start_import
    self.loadComponent(src)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/schema.py", 
line 311, in loadComponent
    r = self._loader.openResource(src)
  File 
"G:/ux2bs/workdir/ZopeX3-3.0.0/build/lib.os2emx-2.3/ZConfig/loader.py", 
line 94, in openResource
    file = urllib2.urlopen(url)
  File "/usr/local/python/Lib/urllib2.py", line 129, in urlopen
    return _opener.open(url, data)
  File "/usr/local/python/Lib/urllib2.py", line 326, in open
    '_open', req)
  File "/usr/local/python/Lib/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/usr/local/python/Lib/urllib2.py", line 980, in file_open
    return self.open_local_file(req)
  File "/usr/local/python/Lib/urllib2.py", line 1004, in open_local_file
    if not host or \
gaierror: (7, 'getaddrinfo failed')

======================================================================
FAIL: test_RuntimeInfoView 
(zope.app.applicationcontrol.browser.tests.test_runtimeinfoview.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/python/Lib/site-packages/zope/app/applicationcontrol/browser/tests/test_runtimeinfoview.py", 
line 51, in test_RuntimeInfoView
    self.failUnless(assert_keys == test_keys)
  File "/usr/local/python/Lib/unittest.py", line 278, in failUnless
    if not expr: raise self.failureException, msg
AssertionError

----------------------------------------------------------------------
Ran 3960 tests in 3302.030s

FAILED (failures=1, errors=158)
make: *** [check] Error 1






 

 
> Regards,
> Stephan
> -- 
> Stephan Richter
> CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
> Web2k - Web Software Design, Development and Training


-- 
John




More information about the Zope3-users mailing list