Here is our main.py.

The issue happens from time to time without any reason, et it makes our app 
down for our costumers, it's very annoying.

Please, what can we do to resolve this one ?

Thanks

--

SETTINGS_MODULE = "greendizer.settings"


# ------------------------------------------------------------------------


import os

os.environ['DJANGO_SETTINGS_MODULE'] = SETTINGS_MODULE


import sys

from google.appengine.dist import use_library


# Use of Django 1.2

# for k in [k for k in sys.modules if k.startswith('django')]:

#    del sys.modules[k]

use_library('django', '1.2')

import django

# Force Django to reload its settings.

from django.conf import settings

settings._target = None

# Force sys.path to have our own directory first, in case we want to import

# from it.

root = os.path.split(__file__)[0]

sys.path.insert(0, os.path.join(root, 'libs'))

--

LOGS

--

<class 'google.appengine.dist._library.UnacceptableVersionError'>: django 1.2 
was requested, but 0.96.4.None is already in use
Traceback (most recent call last):
  File 
"/base/data/home/apps/s~greenspizer-hr/2-8-6.359435397647322308/main.py", line 
14, in <module>
    use_library('django', '1.2')
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py", 
line 455, in use_library
    InstallLibrary(name, version, explicit=True)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py", 
line 408, in InstallLibrary
    CheckInstalledVersion(name, version, explicit=True)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/dist/_library.py", 
line 341, in CheckInstalledVersion
    (name, desired_version, installed_version))



-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/DcbGIMTH3sMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to