Also FYI, we run some image manipulations for ImageResizer.io <https://imageresizer.io/> on the classic App Engine module, and others (like image blur) on the managed VM module.
The classic App Engine module receives the image transformation request from the client, and depending on what image manipulation was requested, decides when to route it internally to the managed VM module. It is not an ideal solution but it is working for us. Having the managed VM being able to access App Engine's image service would definitely simplify our implementation. Nick On 6 November 2015 at 12:23, Nickolas Daskalou <[email protected]> wrote: > Hi Zengyang, > > We had the same problem (I created the other question you linked to). > > We also had PIL installed and some tinkering did not help, so we switched > the module back to classic App Engine long before it took Google Support > one month to reply back to me. > > If you get it working, please let me know how! > > Nick > > > On 6 November 2015 at 10:14, Zengyang Wang <[email protected]> wrote: > >> After switching to a Managed VM, calls to the Image API are now broken: >> >> E 16:35:47.227 The API call images.Transform() is currently not enabled. >> Traceback (most recent call last): >> File "/home/vmagent/python_vm_runtime/lib/webapp2-2.5.2/webapp2.py", >> line 570, in dispatch >> return method(*args, **kwargs) >> ... >> >> File >> "/home/vmagent/python_vm_runtime/google/appengine/api/images/__init__.py", >> line 800, in execute_transforms >> return rpc.get_result() >> File >> "/home/vmagent/python_vm_runtime/google/appengine/api/apiproxy_stub_map.py", >> line 613, in get_result >> return self.__get_result_hook(self) >> File >> "/home/vmagent/python_vm_runtime/google/appengine/api/images/__init__.py", >> line 885, in execute_transforms_hook >> rpc.check_success() >> File >> "/home/vmagent/python_vm_runtime/google/appengine/api/apiproxy_stub_map.py", >> line 579, in check_success >> self.__rpc.CheckSuccess() >> File >> "/home/vmagent/python_vm_runtime/google/appengine/ext/vmruntime/vmstub.py", >> line 321, in _WaitImpl >> raise self._TranslateToError(parsed_response) >> File >> "/home/vmagent/python_vm_runtime/google/appengine/ext/vmruntime/vmstub.py", >> line 174, in _TranslateToError >> raise self._ErrorException(exception_type, msg) >> FeatureNotEnabledError: The API call images.Transform() is currently >> not enabled. >> >> I've tried installing PIL properly as per >> https://groups.google.com/forum/#!topic/google-appengine/KgCZa1pb7FA but >> it didn't help. This only happens in the Managed VM environment, and I'm >> having trouble debugging it. Does anyone have a solution for this problem? >> I'm using the python runtime (gcr.io/google_appengine/python-compat). >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/google-appengine. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-appengine/b8a2bdf1-6609-4868-858d-c1d896ec396b%40googlegroups.com >> <https://groups.google.com/d/msgid/google-appengine/b8a2bdf1-6609-4868-858d-c1d896ec396b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAOj3zuBEysuQ8VW%3DyPa4m5QF9Go_X%3DHjoCF5R0u52DWOm%3D5VSg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
