sebastian-ardila / 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

ImportError: No module named whoosh (needs path update for SDK 1.5.3) #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upgrade App Engine SDK to 1.5.3
2. run manage.py test

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

Traceback (most recent call last):
  File "./manage.py", line 21, in <module>
  ...
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py", line 121, in <module>
    from google.appengine.api.search import simple_search_stub
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/search/simple_search_stub.py", line 38, in <module>
    from whoosh import analysis
ImportError: No module named whoosh

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

revision 114

Please provide any additional information below.

This patch adds in the new import paths needed.

Original issue reported on code.google.com by kumar.mcmillan on 18 Aug 2011 at 4:03

Attachments:

GoogleCodeExporter commented 9 years ago
Or, you could also add:

/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-def
ault.bundle/Contents/Resources/google_appengine/lib/whoosh:/Applications/GoogleA
ppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/
Resources/google_appengine/lib/protopc:/Applications/GoogleAppEngineLauncher.app
/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_app
engine/lib/graphy to your PYTHONPATH and all should be good.

Original comment by py.adri...@gmail.com on 18 Aug 2011 at 10:10

GoogleCodeExporter commented 9 years ago
Btw, in both patches 'protopc' should be 'protorpc'...

Original comment by erikab...@gmail.com on 20 Aug 2011 at 10:12

GoogleCodeExporter commented 9 years ago
Whoops! This fixes the typo in the protorpc path. Thanks.

Original comment by kumar.mcmillan on 20 Aug 2011 at 3:43

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r115.

Original comment by m...@google.com on 20 Aug 2011 at 4:00