Hi!


I'm trying to deploy an application on my own server before doing that at the
real production server, but when it is using 'prod.cfg' as the configuration,
I get the following traceback:


2005/11/24 02:58:18 CONFIG INFO Server parameters:
2005/11/24 02:58:18 CONFIG INFO   server.environment: production
2005/11/24 02:58:18 CONFIG INFO   server.logToScreen: False
2005/11/24 02:58:18 CONFIG INFO   server.logFile: server.log
2005/11/24 02:58:18 CONFIG INFO   server.protocolVersion: HTTP/1.0
2005/11/24 02:58:18 CONFIG INFO   server.socketHost: 
2005/11/24 02:58:18 CONFIG INFO   server.socketPort: 8080
2005/11/24 02:58:18 CONFIG INFO   server.socketFile: 
2005/11/24 02:58:18 CONFIG INFO   server.reverseDNS: False
2005/11/24 02:58:18 CONFIG INFO   server.socketQueueSize: 5
2005/11/24 02:58:18 CONFIG INFO   server.threadPool: 0
2005/11/24 02:58:18 HTTP INFO Serving HTTP on http://localhost:8080/
2005/11/24 02:58:21 HTTP INFO 127.0.0.1 - GET / HTTP/1.1
2005/11/24 02:58:21  INFO Traceback (most recent call last):
  File 
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
 line 271, i
n run
    main()
  File 
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0-py2.4.egg/cherrypy/_cphttptools.py",
 line 502, i
n main
    body = page_handler(*args, **cherrypy.request.paramMap)
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/controllers.py",
 line 205, in new
func
    output = func(self, *args, **kw)
  File 
"/home/godoy/desenvolvimento/python/TurboGears/trunk/turbogears/identity/conditions.py",
 line 114
, in _wrapper
    url= threadData._provider.url_for_identity_failure( e )
AttributeError: 'thread._local' object has no attribute '_provider'

2005/11/24 02:58:21 HTTP INFO 127.0.0.1 - GET /favicon.ico HTTP/1.1
2005/11/24 02:58:24 HTTP INFO <Ctrl-C> hit: shutting down server
2005/11/24 02:58:24 HTTP INFO HTTP Server shut down
2005/11/24 02:58:24 HTTP INFO CherryPy shut down


If I use the development setup, everything goes fine and works.

All versions are as of SVN and TurboGears is at SVN 243.

Anyone else with this problem?

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

Reply via email to