I am trying to build Zope 3.3.1 on FC6 x86_64. Python is 2.4.4. Config reports that it is an acceptable version. I get a lot of test failures like: Error in test testNOK (ZEO.tests.testAuth.PlainTextAuth) Traceback (most recent call last): File "/usr/lib64/python2.4/unittest.py", line 251, in run self.setUp() File "/home/Zope-3.3.1/build/lib.linux-x86_64-2.4/ZEO/tests/ testAuth.py", line 41, in setUp self.__super_setUp() File "/home/Zope-3.3.1/build/lib.linux-x86_64-2.4/ZEO/tests/ ConnectionTests.py", line 112, in setUp self.startServer() File "/home/Zope-3.3.1/build/lib.linux-x86_64-2.4/ZEO/tests/ ConnectionTests.py", line 211, in startServer zeoport, adminaddr, pid, path = forker.start_zeo_server( File "/home/Zope-3.3.1/build/lib.linux-x86_64-2.4/ZEO/tests/ forker.py", line 149, in start_zeo_server s.connect(adminaddr) File "<string>", line 1, in connect gaierror: (-2, 'Name or service not known') Do I have to downgrade to python 2.4.3? Thanks for any suggestions. Roman Budzianowski plone@budzianowski.net
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Roman Budzianowski wrote:
I am trying to build Zope 3.3.1 on FC6 x86_64. Python is 2.4.4. Config reports that it is an acceptable version. I get a lot of test failures like:
Error in test testNOK (ZEO.tests.testAuth.PlainTextAuth) Traceback (most recent call last): File "/usr/lib64/python2.4/unittest.py", line 251, in run self.setUp() File "/home/Zope-3.3.1/build/lib.linux-x86_64-2.4/ZEO/tests/ testAuth.py", line 41, in setUp self.__super_setUp() File "/home/Zope-3.3.1/build/lib.linux-x86_64-2.4/ZEO/tests/ ConnectionTests.py", line 112, in setUp self.startServer() File "/home/Zope-3.3.1/build/lib.linux-x86_64-2.4/ZEO/tests/ ConnectionTests.py", line 211, in startServer zeoport, adminaddr, pid, path = forker.start_zeo_server( File "/home/Zope-3.3.1/build/lib.linux-x86_64-2.4/ZEO/tests/ forker.py", line 149, in start_zeo_server s.connect(adminaddr) File "<string>", line 1, in connect gaierror: (-2, 'Name or service not known')
Do I have to downgrade to python 2.4.3?
Nope. You've got some kind of name resolution problem: the error message says that it is trying to bind to an unknown hostname (likely 'localhost'). Check that you have that name in /etc/hosts. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsdXl+gerLs4ltQ4RAgoGAJ42hnEIxKZy6zDchNryPzi6Ak9YjACgjoQq LiTnEE5PprULqMyKWH9VYWw= =QBYr -----END PGP SIGNATURE-----
Right you are. For some reason a brand new installation of FC6 didn't include 127.0.0.1 address in /etc/hosts. Thanks a lot. Roman On Aug 2, 2007, at 6:02 AM, Tres Seaver wrote:
File "<string>", line 1, in connect gaierror: (-2, 'Name or service not known')
Do I have to downgrade to python 2.4.3?
Nope. You've got some kind of name resolution problem: the error message says that it is trying to bind to an unknown hostname (likely 'localhost'). Check that you have that name in /etc/hosts.
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGsdXl+gerLs4ltQ4RAgoGAJ42hnEIxKZy6zDchNryPzi6Ak9YjACgjoQq LiTnEE5PprULqMyKWH9VYWw= =QBYr -----END PGP SIGNATURE-----
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Roman Budzianowski -
Tres Seaver