Note that there are some explanatory texts on larger screens.

plurals
  1. POPath to django on google app engine
    primarykey
    data
    text
    <p>I completely don't understand this error. I use django-nonrel, upload it to my application by manage.py. And <em>sometimes</em> I have this:</p> <pre><code>&lt;type 'exceptions.AttributeError'&gt;: 'Settings' object has no attribute 'DATABASE_ROUTERS' Traceback (most recent call last): File "/base/data/home/apps/appid/3.347077242893060339/execute.py", line 2, in &lt;module&gt; from djapp import queue_controller File "/base/data/home/apps/appid/3.347077242893060339/djapp/queue_controller.py", line 5, in &lt;module&gt; from djapp.models import Operation File "/base/data/home/apps/appid/3.347077242893060339/djapp/models.py", line 3, in &lt;module&gt; from django.db import models File "/base/data/home/apps/appid/3.347077242893060339/django/db/__init__.py", line 66, in &lt;module&gt; router = ConnectionRouter(settings.DATABASE_ROUTERS) File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/conf/__init__.py", line 32, in __getattr__ return getattr(self._target, name) </code></pre> <p>or </p> <pre><code>&lt;type 'exceptions.ImportError'&gt;: No module named files.uploadhandler Traceback (most recent call last): File "/base/data/home/apps/appid/3.347067228745038183/djangoappengine/main/main.py", line 28, in &lt;module&gt; from django.core.handlers.wsgi import WSGIHandler File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/core/handlers/wsgi.py", line 1, in &lt;module&gt; from django.core.handlers.base import BaseHandler File "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/core/handlers/base.py", line 3, in &lt;module&gt; from django import http File "/base/data/home/apps/appid/3.347067228745038183/django/http/__init__.py", line 28, in &lt;module&gt; from django.http.multipartparser import MultiPartParser File "/base/data/home/apps/appid/3.347067228745038183/django/http/multipartparser.py", line 14, in &lt;module&gt; from django.core.files.uploadhandler import StopUpload, SkipFile, StopFutureHandlers </code></pre> <p>What is wrong with the path? Why does this happen? At first the path is "/base/data/home/apps/app-id/3.347046818251769742/django/", then it is "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/".<br> And how to avoid this error?</p> <p>I have checked sys.path, uploaded new django several times, removed all unnecessary files, I am lost :(</p> <pre><code>sys.path = ['/base/data/home/apps/appid/3.347077364008022180', '/base/data/home/apps/appid/3.347077364008022180/djangoappengine/lib', '/base/python_runtime/python_dist/lib/python25.zip', '/base/python_runtime/python_dist/lib/python2.5/', '/base/python_runtime/python_dist/lib/python2.5/plat-linux2', '/base/python_runtime/python_dist/lib/python2.5/lib-tk', '/base/python_runtime/python_dist/lib/python2.5/lib-dynload', '/base/python_runtime/python_lib/versions/1', '/base/data/home/apps/appid/3.347077364008022180/'] </code></pre>
    singulars
    1. This table or related slice is empty.
    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