I built a web app a month ago and then tested it. It had been working fine during last month without any code modifications but suddenly today I saw there an error occurring permanently.
<type 'exceptions.ImportError'>: cannot import name service_handlers
Traceback (most recent call last):
File "/base/data/home/apps/infinillaapp/1.351169771270370877/services.py", line 10, in <module>
from protorpc import service_handlers
I tried to import the module different ways but nothing helped. So, I suppose there is something wrong with the GAE environment? Also, it works fine as before on the local machine. Did anybody face such unexpected module import problems with GAE?
This is a bit of a guess; but I thinkprotorpc is going to be included in AppEngine 1.5.1, maybe they have added it in the background somewhere and it’s conflicting.Try adding the protorpc path to the beginging of sys.path:
Also, try updating protorpc to the latest version to see if you get the error locally as much of the GAE specific code has moved. The new import should be: