· 8 years ago · Jun 03, 2018, 03:06 PM
1--> --> -->
2
3
4<type 'exceptions.AttributeError'> Python 2.5.2: /usr/bin/python
5Sun Feb 8 16:26:49 2009
6
7A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
8 /home/j/Desktop/wegoeat/trunk/common/.google_appengine/google/appengine/tools/dev_appserver.py in _HandleRequest(self=<google.appengine.tools.dev_appserver.DevAppServerRequestHandler instance at 0x90a2fcc>)
9 2459 infile,
10 2460 outfile,
11 2461 base_env_dict=env_dict)
12 2462 finally:
13 2463 self.module_manager.UpdateModuleFileModificationTimes()
14base_env_dict undefined, env_dict = {'APPLICATION_ID': 'wegoeathawaii', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}
15 /home/j/Desktop/wegoeat/trunk/common/.google_appengine/google/appengine/tools/dev_appserver.py in Dispatch(self=<google.appengine.tools.dev_appserver.MatcherDispatcher object at 0xab7584c>, relative_url='/restaurants/', path=None, headers=<mimetools.Message instance at 0xa87748c>, infile=<cStringIO.StringI object at 0xab85590>, outfile=<cStringIO.StringO object at 0xa90a4e0>, base_env_dict={'APPLICATION_ID': 'wegoeathawaii', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
16 352 infile,
17 353 outfile,
18 354 base_env_dict=base_env_dict)
19 355
20 356 return
21base_env_dict = {'APPLICATION_ID': 'wegoeathawaii', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'}
22 /home/j/Desktop/wegoeat/trunk/common/.google_appengine/google/appengine/tools/dev_appserver.py in Dispatch(self=<google.appengine.tools.dev_appserver.CGIDispatcher object at 0x9078eac>, relative_url='/restaurants/', path='common/appenginepatch/main.py', headers=<mimetools.Message instance at 0xa87748c>, infile=<cStringIO.StringI object at 0xab85590>, outfile=<cStringIO.StringO object at 0xa90a4e0>, base_env_dict={'APPLICATION_ID': 'wegoeathawaii', 'CURRENT_VERSION_ID': '1.1', 'REMOTE_ADDR': '127.0.0.1', 'REQUEST_METHOD': 'GET', 'SERVER_NAME': 'localhost', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'Development/1.0'})
23 1869 infile,
24 1870 outfile,
25 1871 self._module_dict)
26 1872 handler.AddDebuggingConsole(relative_url, env, outfile)
27 1873 finally:
28self = <google.appengine.tools.dev_appserver.CGIDispatcher object at 0x9078eac>, self._module_dict = {'Cookie': <module 'Cookie' from '/usr/lib/python2.5/Cookie.pyc'>, 'StringIO': <module 'StringIO' from '/usr/lib/python2.5/StringIO.pyc'>, 'UserDict': <module 'UserDict' from '/usr/lib/python2.5/UserDict.pyc'>, '__future__': <module '__future__' from '/usr/lib/python2.5/__future__.pyc'>, '__main__': <module 'common.appenginepatch.main' from '/home...top/wegoeat/trunk/common/appenginepatch/main.py'>, '__main__.cStringIO': None, '__main__.cgi': None, '__main__.csv': None, '__main__.datetime': None, '__main__.django': None, ...}
29 /home/j/Desktop/wegoeat/trunk/common/.google_appengine/google/appengine/tools/dev_appserver.py in ExecuteCGI(root_path=u'/home/j/Desktop/wegoeat/trunk', handler_path='common/appenginepatch/main.py', cgi_path=u'/home/j/Desktop/wegoeat/trunk/common/appenginepatch/main.py', env={'APPLICATION_ID': 'wegoeathawaii', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CURRENT_VERSION_ID': '1.1', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', ...}, infile=<cStringIO.StringI object at 0xab85590>, outfile=<cStringIO.StringO object at 0xa90a4e0>, module_dict={'Cookie': <module 'Cookie' from '/usr/lib/python2.5/Cookie.pyc'>, 'StringIO': <module 'StringIO' from '/usr/lib/python2.5/StringIO.pyc'>, 'UserDict': <module 'UserDict' from '/usr/lib/python2.5/UserDict.pyc'>, '__future__': <module '__future__' from '/usr/lib/python2.5/__future__.pyc'>, '__main__': <module 'common.appenginepatch.main' from '/home...top/wegoeat/trunk/common/appenginepatch/main.py'>, '__main__.cStringIO': None, '__main__.cgi': None, '__main__.csv': None, '__main__.datetime': None, '__main__.django': None, ...}, exec_script=<function ExecuteOrImportScript at 0x8c06144>)
30 1787 logging.debug('Executing CGI with env:\n%s', pprint.pformat(env))
31 1788 try:
32 1789 reset_modules = exec_script(handler_path, cgi_path, hook)
33 1790 except SystemExit, e:
34 1791 logging.debug('CGI exited with status: %s', e)
35reset_modules = True, exec_script = <function ExecuteOrImportScript at 0x8c06144>, handler_path = 'common/appenginepatch/main.py', cgi_path = u'/home/j/Desktop/wegoeat/trunk/common/appenginepatch/main.py', hook = <google.appengine.tools.dev_appserver.HardenedModulesHook object at 0xabd816c>
36 /home/j/Desktop/wegoeat/trunk/common/.google_appengine/google/appengine/tools/dev_appserver.py in ExecuteOrImportScript(handler_path='common/appenginepatch/main.py', cgi_path=u'/home/j/Desktop/wegoeat/trunk/common/appenginepatch/main.py', import_hook=<google.appengine.tools.dev_appserver.HardenedModulesHook object at 0xabd816c>)
37 1685 exec module_code in script_module.__dict__
38 1686 else:
39 1687 script_module.main()
40 1688
41 1689 sys.stdout.flush()
42script_module = <module 'common.appenginepatch.main' from '/home...top/wegoeat/trunk/common/appenginepatch/main.py'>, script_module.main = <function real_main at 0x9737a04>
43 /home/j/Desktop/wegoeat/trunk/common/appenginepatch/main.py in real_main()
44 24
45 25 # Run the WSGI CGI handler with that application.
46 26 util.run_wsgi_app(application)
47 27
48 28 def profile_main():
49global util = <module 'google.appengine.ext.webapp.util' from ..._appengine/google/appengine/ext/webapp/util.pyc'>, util.run_wsgi_app = <function run_wsgi_app at 0x97408b4>, application = <django.core.handlers.wsgi.WSGIHandler object at 0xa64a6ac>
50 /home/j/Desktop/wegoeat/trunk/common/.google_appengine/google/appengine/ext/webapp/util.py in run_wsgi_app(application=<django.core.handlers.wsgi.WSGIHandler object at 0xa64a6ac>)
51 74 env["wsgi.multithread"] = False
52 75 env["wsgi.multiprocess"] = False
53 76 result = application(env, _start_response)
54 77 if result is not None:
55 78 for data in result:
56result undefined, application = <django.core.handlers.wsgi.WSGIHandler object at 0xa64a6ac>, env = {'APPLICATION_ID': 'wegoeathawaii', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CURRENT_VERSION_ID': '1.1', 'DJANGO_SETTINGS_MODULE': 'settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', ...}, global _start_response = <function _start_response at 0x97408ec>
57 /home/j/Desktop/wegoeat/trunk/common/zip-packages/django.zip/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0xa64a6ac>, environ={'APPLICATION_ID': 'wegoeathawaii', 'AUTH_DOMAIN': 'gmail.com', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CURRENT_VERSION_ID': '1.1', 'DJANGO_SETTINGS_MODULE': 'settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', ...}, start_response=<function _start_response at 0x97408ec>)
58 /home/j/Desktop/wegoeat/trunk/common/zip-packages/django.zip/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object at 0xa64a6ac>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
59 /home/j/Desktop/wegoeat/trunk/common/zip-packages/django.zip/django/conf/__init__.py in __getattr__(self=<django.conf.LazySettings object at 0x92dd70c>, name='ROOT_URLCONF')
60 /home/j/Desktop/wegoeat/trunk/common/zip-packages/django.zip/django/conf/__init__.py in __getattr__(self=<django.conf.UserSettingsHolder object at 0x9444eec>, name='ROOT_URLCONF')
61
62<type 'exceptions.AttributeError'>: 'module' object has no attribute 'ROOT_URLCONF'
63 args = ("'module' object has no attribute 'ROOT_URLCONF'",)
64 message = "'module' object has no attribute 'ROOT_URLCONF'"