Apologies if this is the wrong mailing list to send this to.
I upgraded my TurboGears 1.0b2 installation on my OS/X box today to 1.0
using tgsetup.py (new 1.0 version), and now I can't start the server
within projects, including a brand new one created with 'tg-admin
quickstart':
visigoth:~/python/tgprojects avitous$ tg-admin quickstart
Enter project name: Hello1
Enter package name [hello1]:
Do you need Identity (usernames/passwords) in this project? [no]
. . . (creation messages snipped)
visigoth:~/python/tgprojects avitous$ cd Hello1/
visigoth:~/python/tgprojects/Hello1 avitous$ python start-hello1.py
2007-01-04 18:09:36,424 cherrypy.msg INFO CONFIG: Server parameters:
2007-01-04 18:09:36,426 cherrypy.msg INFO CONFIG: server.environment:
development
2007-01-04 18:09:36,427 cherrypy.msg INFO CONFIG:
server.log_to_screen: True
2007-01-04 18:09:36,428 cherrypy.msg INFO CONFIG: server.log_file:
2007-01-04 18:09:36,429 cherrypy.msg INFO CONFIG:
server.log_tracebacks: True
2007-01-04 18:09:36,430 cherrypy.msg INFO CONFIG:
server.log_request_headers: True
2007-01-04 18:09:36,431 cherrypy.msg INFO CONFIG:
server.protocol_version: HTTP/1.0
2007-01-04 18:09:36,436 cherrypy.msg INFO CONFIG: server.socket_host:
2007-01-04 18:09:36,437 cherrypy.msg INFO CONFIG: server.socket_port: 8080
2007-01-04 18:09:36,438 cherrypy.msg INFO CONFIG: server.socket_file:
2007-01-04 18:09:36,439 cherrypy.msg INFO CONFIG: server.reverse_dns:
False
2007-01-04 18:09:36,440 cherrypy.msg INFO CONFIG:
server.socket_queue_size: 5
2007-01-04 18:09:36,441 cherrypy.msg INFO CONFIG: server.thread_pool: 10
Traceback (most recent call last):
File "start-hello1.py", line 25, in ?
start_server(Root())
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/startup.py",
line 300, in start_server
cherrypy.server.start()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpserver.py",
line 72, in start
Engine.start(self)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cpengine.py",
line 91, in start
autoreload.main(self._start, freq=freq)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/lib/autoreload.py",
line 59, in main
reloader_thread(freq)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears-1.0-py2.4.egg/turbogears/startup.py",
line 50, in reloader_thread
modlist = [modules[modname] for modname in modules if
modname.startswith(package)]
RuntimeError: dictionary changed size during iteration
2007-01-04 18:09:36,558 cherrypy.msg INFO ENGINE: SystemExit raised:
shutting down autoreloader
2007-01-04 18:09:36,560 cherrypy.msg INFO HTTP: HTTP Server shut down
2007-01-04 18:09:36,567 cherrypy.msg INFO ENGINE: CherryPy shut down
This happens with any of my (beginner...) turbogears apps, including
those which were working under 1.0b2 before upgrade. Python 2.4.3 from
DarwinPorts is being used for this.
Any insight anybody could shed would be welcome. If this constitutes a
bug I need to file somewhere, where should I file it?
Thanks,
Anderson
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---