Sagi
unread,Jan 25, 2012, 12:59:06 PM1/25/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
I am encountering a sporadic issue with requests failing because
"django 1.2 was requested, but 0.96.4.None is already in use".
The first two lines in my main.py read:
from google.appengine.dist import use_library
use_library('django', '1.2')
...so I'm not sure how come 0.96 is already in use.
This has been affecting my production site for a while and I'm at a
loss on how to remedy it.
The site might be up and running fine for a couple of days and then it
out of nowhere (no new deployment) refuses to serve requests because
of this and in order to fix it all I do is upload a new version with a
trivial change (e.g. an extra empty line somewhere).
The full error is:
<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~dingitapp/1.356297547119531589/
main.py", line 2, in <module>
use_library('django', '1.2')
File "/base/python_runtime/python_lib/versions/1/google/appengine/
dist/_library.py", line 414, in use_library
InstallLibrary(name, version, explicit=True)
File "/base/python_runtime/python_lib/versions/1/google/appengine/
dist/_library.py", line 367, in InstallLibrary
CheckInstalledVersion(name, version, explicit=True)
File "/base/python_runtime/python_lib/versions/1/google/appengine/
dist/_library.py", line 300, in CheckInstalledVersion
(name, desired_version, installed_version))
Any suggestion?