[p4a-user] Error while trying to run tests on p4a.video

4 views
Skip to first unread message

Noe Misael Nieto Arroyo

unread,
Apr 27, 2010, 9:18:56 PM4/27/10
to p4a-...@googlegroups.com
Hi,

I'm very new to python testing.

I was trying to run the tests on p4a.video on a Plone 3.3.5 buildout. But I'm getting this error instead:

$ bin/instance test -s p4a.video
Traceback (most recent call last):
  File "bin/instance", line 158, in ?
    plone.recipe.zope2instance.ctl.main(
  File "/app/buildout/eggs/plone.recipe.zope2instance-3.6-py2.4.egg/plone/recipe/zope2instance/ctl.py", line 329, in main
    handlers.root_handler(options.configroot)
  File "/home/tzicatl/Documentos/programar/iservices/anec/parts/zope2/lib/python/Zope2/Startup/handlers.py", line 226, in root_handler
    config.port_base)
  File "/home/tzicatl/Documentos/programar/iservices/anec/parts/zope2/lib/python/ZServer/datatypes.py", line 38, in prepare
    self.ip = socket.gethostbyname(self.host)
socket.gaierror: (-5, 'No address associated with hostname')


Would it be the package or my machine? 

---
Noe Nieto

--
You received this message because you are subscribed to the Google Groups "Plone4Artists users" group.
To post to this group, send email to p4a-...@googlegroups.com
To unsubscribe from this group, send email to p4a-user-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/p4a-user?hl=en
Visit the Plone4Artists site at http://plone4artists.org

Lucie Lejard

unread,
Apr 29, 2010, 2:58:55 AM4/29/10
to p4a-...@googlegroups.com, Noe Misael Nieto Arroyo
you can add a pdb trace to see what it is trying to do, meaning what is
self.host.


--
lu...@sixfeetup.com | +1 (317) 861-5948 x605
six feet up presents INDIGO : The Help Line for Plone
More info at http://sixfeetup.com/indigo or call +1 (866) 749-3338

Noe Misael Nieto Arroyo

unread,
Apr 29, 2010, 5:02:15 PM4/29/10
to Lucie Lejard, p4a-...@googlegroups.com
My buildout.cfg file was bad. I corrected it and it worked well.

Thanks.

--Noe.

2010/4/29 Lucie Lejard <lu...@sixfeetup.com>
Reply all
Reply to author
Forward
0 new messages