Google App

9 views
Skip to first unread message

Robert Hancock

unread,
Mar 17, 2010, 12:59:40 AM3/17/10
to Google App Engine
python manage.py
/usr/local/google_appengine/google/appengine/api/
datastore_file_stub.py:40: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
import md5
/usr/local/google_appengine/google/appengine/api/memcache/__init__.py:
31: DeprecationWarning: the sha module is deprecated; use the hashlib
module instead
import sha
Traceback (most recent call last):
File "manage.py", line 21, in <module>
InstallAppengineHelperForDjango()
File "/local/src/djangocode/myproject/appengine_django/__init__.py",
line 544, in InstallAppengineHelperForDjango
InstallDjangoModuleReplacements()
File "/local/src/djangocode/myproject/appengine_django/__init__.py",
line 261, in InstallDjangoModuleReplacements
import django.db
File "/usr/local/lib/python2.6/dist-packages/django/db/__init__.py",
line 57, in <module>
'TIME_ZONE': settings.TIME_ZONE,
File "/local/src/djangocode/myproject/appengine_django/db/base.py",
line 117, in __init__
self._setup_stubs()
File "/local/src/djangocode/myproject/appengine_django/db/base.py",
line 128, in _setup_stubs
from google.appengine.tools import dev_appserver_main
File "/usr/local/google_appengine/google/appengine/tools/
dev_appserver_main.py", line 82, in <module>
from google.appengine.tools import appcfg
File "/usr/local/google_appengine/google/appengine/tools/appcfg.py",
line 53, in <module>
from google.appengine.api import dosinfo
File "/usr/local/google_appengine/google/appengine/api/dosinfo.py",
line 25, in <module>
import ipaddr
ImportError: No module named ipaddr

Andi Albrecht

unread,
Mar 17, 2010, 4:01:22 AM3/17/10
to google-a...@googlegroups.com
There was another post mentioning the same problem, but with a bit more information than just a plain traceback... The ipaddr dependency was added to the helper in revision 102. It should work when you update the App Engine helper.

Andi


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.


Tim Hoffman

unread,
Mar 17, 2010, 8:55:34 AM3/17/10
to Google App Engine
You should always check what you are doing against python 2.5.

Whilst things might work with 2.6 it isn't supported.

T

Reply all
Reply to author
Forward
0 new messages