Bonjonr a tous,
j'apprend le python en m'aidant du livre "Apprendre a programmer avec python 3" de gérard swinnen et en suis au début des application réseau.
je dois donc créer ma première page web en python et utilise pour se faire 2 fichier (.conf,.py) dans le .conf :

[global]
server.socket_host="127.0.0.1"
server.socket_port=8080
server.thread_pool=5
tools.sessions.on=True
tools.encode.encoding="Utf-8"
[/annexes]
tools.staticdir.on=True
tools.staticdir.dir="annexes"


tandis que le fichier .py:

import cherrypy

class MonSiteWeb(object):
def index(self):
return "<h1>Bonjour a tous!<h1>"
index.exposed=True
cherrypy.quickstart(MonSiteWeb(),config="tutoriel.conf")


ces deux texte entierrement tiré du livre devrait donc fonctionner (et oui j'ai installer le modul cherrypy, l'importation seul ne pose pas de probleme)
ces 4 commande fonctionne sans la dernière ligne du .py :
import cherrypy
a=MonSiteWeb()
a.index()
print(a.index())

l'erreur viendrait donc de cette dernière ligne concernant cherrypy seulement venant a peine de commencer à l'utiliser je ne sais pas comment interpréter cet énorme message d'erreur ni le résoudre :

[09/May/2012:18:57:18] ENGINE Listening for SIGTERM.
[09/May/2012:18:57:18] ENGINE Bus STARTING
CherryPy Checker:
dir is a relative path and no root provided.
section: [/annexes]
root: None
dir: 'annexes'

[09/May/2012:18:57:18] ENGINE Started monitor thread '_TimeoutMonitor'.
[09/May/2012:18:57:18] ENGINE Started monitor thread 'Autoreloader'.
[09/May/2012:18:57:18] ENGINE Serving on 127.0.0.1:8080
[09/May/2012:18:57:18] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "C:\Python31\lib\site-packages\cherrypy\process\servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "C:\Python31\lib\site-packages\cherrypy\wsgiserver\__init__.py", line 1343, in start
self.tick()
File "C:\Python31\lib\site-packages\cherrypy\wsgiserver\__init__.py", line 1417, in tick
conn = self.ConnectionClass(self, s, makefile)
File "C:\Python31\lib\site-packages\cherrypy\wsgiserver\__init__.py", line 911, in __init__
self.rfile = makefile(sock, "rb", self.rbufsize)
File "C:\Python31\lib\site-packages\cherrypy\wsgiserver\__init__.py", line 890, in CP_makefile
return io.BufferedReader(socket.SocketIO(sock, mode), bufsize)
File "C:\Python31\lib\_pyio.py", line 885, in __init__
raise ValueError("invalid buffer size")
ValueError: invalid buffer size

[09/May/2012:18:57:18] ENGINE Bus STARTED
[09/May/2012:18:57:18] ENGINE Bus STOPPING
[09/May/2012:18:57:19] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8080)) shut down
[09/May/2012:18:57:19] ENGINE Stopped thread '_TimeoutMonitor'.
[09/May/2012:18:57:19] ENGINE Stopped thread 'Autoreloader'.
[09/May/2012:18:57:19] ENGINE Bus STOPPED
[09/May/2012:18:57:19] ENGINE Bus EXITING
[09/May/2012:18:57:19] ENGINE Bus EXITED
[09/May/2012:18:57:19] ENGINE Waiting for child threads to terminate...
Exception in thread HTTPServer Thread-3:
Traceback (most recent call last):
File "C:\Python31\lib\threading.py", line 516, in _bootstrap_inner
self.run()
File "C:\Python31\lib\threading.py", line 469, in run
self._target(*self._args, **self._kwargs)
File "C:\Python31\lib\site-packages\cherrypy\process\servers.py", line 75, in _start_http_thread
self.httpserver.start()
File "C:\Python31\lib\site-packages\cherrypy\wsgiserver\__init__.py", line 1343, in start
self.tick()
File "C:\Python31\lib\site-packages\cherrypy\wsgiserver\__init__.py", line 1417, in tick
conn = self.ConnectionClass(self, s, makefile)
File "C:\Python31\lib\site-packages\cherrypy\wsgiserver\__init__.py", line 911, in __init__
self.rfile = makefile(sock, "rb", self.rbufsize)
File "C:\Python31\lib\site-packages\cherrypy\wsgiserver\__init__.py", line 890, in CP_makefile
return io.BufferedReader(socket.SocketIO(sock, mode), bufsize)
File "C:\Python31\lib\_pyio.py", line 885, in __init__
raise ValueError("invalid buffer size")
ValueError: invalid buffer size


HELP PLZZZZ