[Zope3-Users] Installation prerequisites

John Poltorak jp at warpix.org
Sun Nov 14 06:59:08 EST 2004


On Thu, Nov 11, 2004 at 11:11:42AM -0500, Stephan Richter wrote:
> On Thursday 11 November 2004 09:11, John Poltorak wrote:
> > Would you know what the result of this test is on Linux? How would I set
> > about running this particular test by itself?
> 
> From a checkout:
> 
> $ Python test.py -vpu --dir src/ZConfig/components/basic/ tests \ 
>    test_derived_dict
> 
> Configuration file found.
> Running UNIT tests at level 1
> Running UNIT tests from /opt/zope/Zope3/Zope3-Trunk
>    1/1 (100.0%): test_derived_dict (...est_mapping.BasicSectionTypeTestCase)
> ----------------------------------------------------------------------
> Ran 1 test in 0.011s
> 
> OK

I've managed to run one test - ZConfig.components.logger.tests.test_logger 
and it manages to find these sorts of errors:-

  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')


How do I find exactly what this objecting to?

I inserted 'print host' just before line 1004 in the hope that I could 
identify why 'getaddrinfo' failed.

Any suggestions as to how identify the cause of this error?

 
> 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