You haven't set the DATABASE_ENGINE setting yet

31 views
Skip to first unread message

Howard

unread,
May 5, 2009, 11:01:14 PM5/5/09
to Google App Engine, Patrick Fleisch
I suddenly started to get this error... but never changed this
setting. This error is critical and causing my entire site to crash.
The DATABASE_ENGINE was set to 'dummy'. I have also tried to set it
to 'appengine', neither seems to be working.

Nick Johnson (Google)

unread,
May 6, 2009, 6:13:08 AM5/6/09
to google-a...@googlegroups.com
Hi Howard,

We need much more information to be of any assistance. Where are you
getting this error? Using Java, or Python?

Please post the complete stacktrace, as well as any relevant code and
configuration files.

-Nick Johnson

Albert

unread,
May 6, 2009, 12:10:43 PM5/6/09
to Google App Engine
I am getting the exact the same error, under python runtime
when I check the log , I got pages of such errors, I know nothing
about this ,
seeming that if I set DEBUG = TRUE will decrease such errors but I am
not sure of this
stack trace:
<class 'django.core.exceptions.ImproperlyConfigured'>: You haven't set
the DATABASE_ENGINE setting yet.
Traceback (most recent call last):
File "/base/data/home/apps/bbstop10/1.333251275883085776/
django_bootstrap.py", line 71, in <module>
main()
File "/base/data/home/apps/bbstop10/1.333251275883085776/
django_bootstrap.py", line 68, in main
util.run_wsgi_app(application)
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
util.py", line 76, in run_wsgi_app
result = application(env, _start_response)
File "/base/python_lib/versions/1/django/core/handlers/wsgi.py",
line 189, in __call__
response = self.get_response(request)
File "/base/python_lib/versions/1/django/core/handlers/base.py",
line 115, in get_response
receivers = dispatcher.send(signal=signals.got_request_exception)
File "/base/python_lib/versions/1/django/dispatch/dispatcher.py",
line 360, in send
**named
File "/base/python_lib/versions/1/django/dispatch/robustapply.py",
line 47, in robustApply
return receiver(*arguments, **named)
File "/base/python_lib/versions/1/django/db/__init__.py", line 47,
in _rollback_on_exception
transaction.rollback_unless_managed()
File "/base/python_lib/versions/1/django/db/transaction.py", line
145, in rollback_unless_managed
connection._rollback()
File "/base/python_lib/versions/1/django/db/backends/dummy/base.py",
line 13, in complain
raise ImproperlyConfigured, "You haven't set the DATABASE_ENGINE
setting yet."

Albert

unread,
May 6, 2009, 12:18:24 PM5/6/09
to Google App Engine
It is a very weird error, you know , It just don't happen all the
time, but if I trigger /service/bbs/ (a django gateway for PYAMF) and
the service is not completed, I got my whole site down and all errors
were about DATABASE_ENGINE setting etc, and after a while it recovers
automatically

If you know the problem ,please do let me know, thanks

#
/service/bbs/ 500 187ms 33cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows
NT 6.0; zh-CN; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR
3.5.30729),gzip(gfe)
See details

202.120.40.90 - - [06/May/2009:09:01:49 -0700] "POST /service/bbs/
HTTP/1.1" 500 0 "http://bbstop10.appspot.com/page/BbsRender.swf"
"Mozilla/5.0 (Windows; U; Windows NT 6.0; zh-CN; rv:1.9.0.10) Gecko/
2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729),gzip(gfe)"

#
E 05-06 09:01AM 49.359
#
/list/ 500 30ms 44cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 6.0;
zh-CN; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR
3.5.30729),gzip(gfe)
See details

202.120.40.90 - - [06/May/2009:09:03:36 -0700] "GET /list/ HTTP/1.1"
500 0 "http://bbstop10.appspot.com/?
origin=103&xn_sig_in_iframe=1&xn_sig_method=get&xn_sig_time=1241625811291&xn_sig_added=1&xn_sig_user=228993921&xn_sig_session_key=2.7e653581969961021b70c96921e5c7ac.
3600.1241632800-228993921&xn_sig_expires=0&xn_sig_api_key=fbd740bc879045e6938f023225c1c8b2&xn_sig_app_id=29481"
"Mozilla/5.0 (Windows; U; Windows NT 6.0; zh-CN; rv:1.9.0.10) Gecko/
2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729),gzip(gfe)"

#
E 05-06 09:03AM 36.186

ryan

unread,
May 6, 2009, 11:22:11 PM5/6/09
to Google App Engine
just for the record, DATABASE_ENGINE is a django thing, not an app
engine thing.

(that's as much as i can help, since i don't really know anything
about django.)
Reply all
Reply to author
Forward
0 new messages