brian-zhao / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

GoogleAppEngineLauncher 1.3.1 compatibility issue? #161

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. upgrade GoogleAppEngineLauncher 1.3.0 to 1.3.1
2. python manage.py runserver

What is the expected output? What do you see instead?

failed to launch server with these message:

Traceback (most recent call last):
  File "manage.py", line 19, in <module>
    InstallAppengineHelperForDjango()
  File "/Users/Reiot/Documents/warclouds/appengine_django/__init__.py", line 544, in 
InstallAppengineHelperForDjango
    InstallDjangoModuleReplacements()
  File "/Users/Reiot/Documents/warclouds/appengine_django/__init__.py", line 261, in 
InstallDjangoModuleReplacements
    import django.db
  File "/Users/Reiot/Documents/warclouds/__init__.py", line 57, in <module>

  File "/Users/Reiot/Documents/warclouds/appengine_django/db/base.py", line 117, in __init__
    self._setup_stubs()
  File "/Users/Reiot/Documents/warclouds/appengine_django/db/base.py", line 128, in 
_setup_stubs
    from google.appengine.tools import dev_appserver_main
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-
default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_ap
pserver_
main.py", line 82, in <module>
    from google.appengine.tools import appcfg
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-
default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg
.py", line 
53, in <module>
    from google.appengine.api import dosinfo
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-
default.bundle/Contents/Resources/google_appengine/google/appengine/api/dosinfo.
py", line 
25, in <module>
    import ipaddr
ImportError: No module named ipaddr

What version of the product are you using? On what operating system?

- GoogleAppEngineLauncher 1.3.1
- Mac OSX 10.6.2
- python 2.5.4
- appengine_django r101

Please provide any additional information below.

Original issue reported on code.google.com by Reio...@gmail.com on 11 Feb 2010 at 4:41

GoogleCodeExporter commented 8 years ago
fixed after installing ipaddr library via "easy_install ipaddr". 

Original comment by Reio...@gmail.com on 11 Feb 2010 at 4:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi, just apply this patch from: http://code.google.com/p/google-app-engine-
django/source/detail?r=102

-------

Log message

Adds new dependency, ipaddr, from SDK
Affected files     expand all   collapse all
    Modify  /trunk/appengine_django/__init__.py diff
...         
129 129             SDK_PATH,
130 130             os.path.join(SDK_PATH, 'lib', 'antlr3'),
131 131             os.path.join(SDK_PATH, 'lib', 'django'),
132 +           os.path.join(SDK_PATH, 'lib', 'ipaddr'),
132 133             os.path.join(SDK_PATH, 'lib', 'webob'),
133 134             os.path.join(SDK_PATH, 'lib', 'yaml', 'lib'),
134 135         ]

Original comment by deccico on 13 Feb 2010 at 9:46

GoogleCodeExporter commented 8 years ago
I have updated my __init__.py file with the above but getting the same result.  
Anyone getting the same thing?  
Very frustrated.

Original comment by stallar...@gmail.com on 6 May 2010 at 5:24

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
http://stackoverflow.com/questions/2313611/django-and-google-app-engine-helper-n
ot-finding-the-ipaddr-module/2955681

Original comment by stewart....@gmail.com on 2 Jun 2010 at 12:40

GoogleCodeExporter commented 8 years ago
This was fixed in r102 back in February.

Original comment by m...@google.com on 8 Jun 2010 at 11:49

GoogleCodeExporter commented 8 years ago
I see that the fix has been checked in to svn, but when is this fix going to be 
released? The only download in this project is r100.

Original comment by allyourc...@gmail.com on 18 Jun 2010 at 8:50

GoogleCodeExporter commented 8 years ago
I've uploaded a new zip of r105.

In general you should consider code 'released' as soon as it is committed. We 
don't have a formal release process for the helper at this point in time, the 
zip files are just provided as a convenience.

Cheers

Original comment by m...@google.com on 21 Jun 2010 at 10:40

GoogleCodeExporter commented 8 years ago
I see. Thanks. Maybe this should be noted in the wiki?

Original comment by allyourc...@gmail.com on 21 Jun 2010 at 10:18

GoogleCodeExporter commented 8 years ago
In my previous comment, this = "checked in = released"

Original comment by allyourc...@gmail.com on 21 Jun 2010 at 10:19