Hello, I tried the 20 Minute Wiki tutorial, but when i run 'python
start-andresj.py' (andresj was the name of the project), it had an
error:
socket.gaierror: (-2, 'Name or service not known')
that was the last line of the error message. all the info was:
2007-06-21 18:55:49,141 cherrypy.msg INFO CONFIG: Server parameters:
2007-06-21 18:55:49,141 cherrypy.msg INFO CONFIG:
server.environment: development
2007-06-21 18:55:49,141 cherrypy.msg INFO CONFIG:
server.log_to_screen: True
2007-06-21 18:55:49,141 cherrypy.msg INFO CONFIG: server.log_file:
2007-06-21 18:55:49,141 cherrypy.msg INFO CONFIG:
server.log_tracebacks: True
2007-06-21 18:55:49,142 cherrypy.msg INFO CONFIG:
server.log_request_headers: True
2007-06-21 18:55:49,142 cherrypy.msg INFO CONFIG:
server.protocol_version: HTTP/1.0
2007-06-21 18:55:49,142 cherrypy.msg INFO CONFIG:
server.socket_host:
2007-06-21 18:55:49,142 cherrypy.msg INFO CONFIG:
server.socket_port: 8080
2007-06-21 18:55:49,143 cherrypy.msg INFO CONFIG:
server.socket_file:
2007-06-21 18:55:49,143 cherrypy.msg INFO CONFIG:
server.reverse_dns: False
2007-06-21 18:55:49,143 cherrypy.msg INFO CONFIG:
server.socket_queue_size: 5
2007-06-21 18:55:49,143 cherrypy.msg INFO CONFIG:
server.thread_pool: 10
Unhandled exception in thread started by <bound method Server._start
of <cherrypy._cpserver.Server object at 0xb3a0d0>>
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/CherryPy-2.2.1-
py2.5.egg/cherrypy/_cpserver.py", line 79, in _start
self.start_http_server()
File "/usr/local/lib/python2.5/site-packages/CherryPy-2.2.1-
py2.5.egg/cherrypy/_cpserver.py", line 99, in start_http_server
wait_for_free_port(host, port)
File "/usr/local/lib/python2.5/site-packages/CherryPy-2.2.1-
py2.5.egg/cherrypy/_cpserver.py", line 244, in wait_for_free_port
check_port(host, port)
File "/usr/local/lib/python2.5/site-packages/CherryPy-2.2.1-
py2.5.egg/cherrypy/_cpserver.py", line 219, in check_port
socket.SOCK_STREAM):
socket.gaierror: (-2, 'Name or service not known')
and then it hung there... until I pressed Ctrl+C and it closed:
2007-06-21 18:56:47,934 cherrypy.msg INFO ENGINE: <Ctrl-C> hit:
shutting down autoreloader
2007-06-21 18:56:47,935 cherrypy.msg INFO HTTP: HTTP Server shut down
2007-06-21 18:56:47,935 cherrypy.msg INFO ENGINE: <Ctrl-C> hit:
shutting down autoreloader
2007-06-21 18:56:47,936 cherrypy.msg INFO HTTP: HTTP Server shut down
2007-06-21 18:56:47,940 cherrypy.msg INFO ENGINE: CherryPy shut down
2007-06-21 18:56:47,944 cherrypy.msg INFO ENGINE: CherryPy shut down
i don' t know why was the error. i am using Ubuntu Fesity, and
followed what http://docs.turbogears.org/1.0/InstallUbuntu says to
install turbogears.
can someone help me please? thank you in advance... :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---