Note that there are some explanatory texts on larger screens.

plurals
  1. POdjango app with app engine on windows
    primarykey
    data
    text
    <p>I'm trying to install app engine with django 1.1 on windows.</p> <p>When launching the app engine I'm getting the following error: <a href="http://slexy.org/view/s21oLrbkHh" rel="nofollow noreferrer">http://slexy.org/view/s21oLrbkHh</a></p> <p>The steps I do are: 1.) Create new app via launcher 2.) Copy my code (Which is empty django project)</p> <p>My main.py code is attached below. I'm falling on line: "import django.db" which I can do successfully from cmd.</p> <p>Do you have an idea? </p> <p>main.py:</p> <pre><code>\# main.py import os, sys os.environ["DJANGO\_SETTINGS\_MODULE"] = "taskhood.settings" sys.path.append("/home/brox/tmp/mashname") \# Google App Engine imports. from google.appengine.ext.webapp import util \# Django version from google.appengine.dist import use_library use_library('django', '1.1') \# Force Django to reload its settings. from django.conf import settings settings._target = None import django.core.handlers.wsgi import django.core.signals import django.db import django.dispatch.dispatcher def log_exception(*args, **kwds): logging.exception('Exception in request:') \# Log errors. django.dispatch.Signal.connect( django.core.signals.got_request_exception, log_exception) \# Unregister the rollback event handler. django.dispatch.Signal.disconnect( django.core.signals.got_request_exception, django.db._rollback_on_exception) def main(): # Create a Django application for WSGI. application = django.core.handlers.wsgi.WSGIHandler() # Run the WSGI CGI handler with that application. util.run_wsgi_app(application) if __name__ == "__main__": main() </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload