>From some googling, it appears that the call to socket.getaddrinfo() is failing for some reason.
this might be related to a Python bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1250170&group_id=5470&atid=105470 Some ideas: - Check your /etc/hosts file for anything strange - check the output of the 'hostname' shell command - manually set the server.socket_host config variable (maybe even to 'localhost') Anybody else? Kevin Horn On 3/15/07, Pierce <[EMAIL PROTECTED]> wrote: > > > I have an R3 laptop running Fedora core linux. I installed > TurboGears, and that seemed to work without difficulty. However, when > I started up a simple project with tg-admin quickstart---as described > on page 15017 of the TurboGears book, when I say > python start-hello.py, I get the following: > 2007-03-15 20:52:44,896 cherrypy.msg INFO CONFIG: Server parameters: > 2007-03-15 20:52:44,896 cherrypy.msg INFO CONFIG: > server.environment: development > 2007-03-15 20:52:44,897 cherrypy.msg INFO CONFIG: > server.log_to_screen: True > 2007-03-15 20:52:44,897 cherrypy.msg INFO CONFIG: server.log_file: > 2007-03-15 20:52:44,897 cherrypy.msg INFO CONFIG: > server.log_tracebacks: True > 2007-03-15 20:52:44,898 cherrypy.msg INFO CONFIG: > server.log_request_headers: True > 2007-03-15 20:52:44,898 cherrypy.msg INFO CONFIG: > server.protocol_version: HTTP/1.0 > 2007-03-15 20:52:44,898 cherrypy.msg INFO CONFIG: > server.socket_host: > 2007-03-15 20:52:44,898 cherrypy.msg INFO CONFIG: > server.socket_port: 3000 > 2007-03-15 20:52:44,898 cherrypy.msg INFO CONFIG: > server.socket_file: > 2007-03-15 20:52:44,899 cherrypy.msg INFO CONFIG: > server.reverse_dns: False > 2007-03-15 20:52:44,899 cherrypy.msg INFO CONFIG: > server.socket_queue_size: 5 > 2007-03-15 20:52:44,899 cherrypy.msg INFO CONFIG: > server.thread_pool: 10 > port, host 3000 lo > Unhandled exception in thread started by <bound method Server._start > of <cherrypy._cpserver.Server object at 0xb7ba00ac>> > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/ > cherrypy/_cpserver.py", line 79, in _start > self.start_http_server() > File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/ > cherrypy/_cpserver.py", line 99, in start_http_server > wait_for_free_port(host, port) > File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/ > cherrypy/_cpserver.py", line 245, in wait_for_free_port > check_port(host, port) > File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/ > cherrypy/_cpserver.py", line 220, in check_port > socket.SOCK_STREAM): > socket.gaierror: (-2, 'Name or service not known') > Established under name 'hello: development' > > Any ideas what I should do next? > Thanks. > > Pierce > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

