4

Recently I just updated my GAE SDK version to 1.6.4, while am trying to start my server, Its throwing "No module named webob" & getting exit. Note: Am using python2.5 Is there any external patch or stuff needed here to resolved this issue?

If anybody faces this issue and resolved it, please guide me, how did you resolve that..

Best regards.

Niks Jain
  • 1,617
  • 5
  • 27
  • 53
  • 1
    webob should be included with SDK. The first thing I would try is updating to the latest version of the SDK currently [1.7.0](https://developers.google.com/appengine/downloads) Also, what OS are you running? – Kyle Finley Jul 12 '12 at 08:46
  • Am doing development on OS Windows7. BTW have you tried 1.7.0v, is it working fine at your side.? – Niks Jain Jul 12 '12 at 08:54
  • 1.7.0 should be fine did you run into a problem? – Kyle Finley Jul 12 '12 at 08:56
  • @KyleFinley: Thanks alot buddy, Previously i was using 1.6.1v, So if i directly move to 1.7.0v then it requires any external patch or so, to run AppEngine server? – Niks Jain Jul 12 '12 at 09:00
  • The SDK shouldn't require a patch. It looks like you might be using AppEngine-Patch. IDK if it will cause any issues with that. The one thing I do know is that the production server is running 1.7.0 so for testing purposes you are better off doing the same. – Kyle Finley Jul 12 '12 at 09:10
  • @KyleFinley: Dear, I just updated to 1.7.0v, but still facing the same ImportError: No Module Named Webob. :( – Niks Jain Jul 12 '12 at 09:54

3 Answers3

6

installing webob solved this for me:

pip install webob==1.1.1
Bhavesh Patadiya
  • 25,740
  • 15
  • 81
  • 107
radztech
  • 439
  • 1
  • 6
  • 14
1

You may need to specify it in your app.yaml

See documentation here https://developers.google.com/appengine/docs/python/tools/libraries27

dragonx
  • 14,963
  • 27
  • 44
  • Need to specify in python25 runtime as well? – Niks Jain Jul 13 '12 at 06:17
  • Are you using django-nonrel or some other framework? 1.6.4 added a new version of webob, so I think the original is now webob_0_9 – dragonx Jul 13 '12 at 20:08
  • 1
    yes, am using django-nonrel framework. then should i replace this old's webob version with new version? – Niks Jain Jul 14 '12 at 05:52
  • 2
    You need to update your django-nonrel from github. If you don't want to update everything, you want to incorporate this change. https://github.com/dragonx/djangoappengine/commit/257e3390ab4768abbb6d82af6c16438cb9ede3cb – dragonx Jul 14 '12 at 05:59
  • previously i found the same solution, but couldn't able to apply it :(. BTW where do i need to keep this **boot.py**, i mean in appengine dir or in project dir? – Niks Jain Jul 14 '12 at 06:10
  • it's in the djangoappengine folder. – dragonx Jul 14 '12 at 06:14
1

below is the exact command that resolved it for me:

sudo pip install webob==1.1.1
Venu Murthy
  • 2,064
  • 1
  • 15
  • 13