FeatureNotEnabledError on Managed VM for Image Service

106 views
Skip to first unread message

Nickolas Daskalou

unread,
Apr 23, 2015, 10:36:31 AM4/23/15
to google-a...@googlegroups.com
Hi all,

Wondering if anyone knows what the problem is here.

Runtime: Python

I have just changed a module over to Managed VMs, and it uses the Images Python API (https://cloud.google.com/appengine/docs/python/images/).

The module was working fine before the change (been running for almost one year), but now on Managed VMs I get this error (in production only, dev server is working fine):


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 1529, in __call__ rv = self.router.dispatch(request, response) File "/home/vmagent/python_vm_runtime/lib/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher return route.handler_adapter(request, response) File "/home/vmagent/python_vm_runtime/lib/webapp2-2.5.2/webapp2.py", line 1102, in __call__ return handler.dispatch() File "/home/vmagent/app/some/file/path.py", line 333, in dispatch result = super(Controller, self).dispatch() File "/home/vmagent/python_vm_runtime/lib/webapp2-2.5.2/webapp2.py", line 572, in dispatch return self.handle_exception(e, self.app.debug) File "/home/vmagent/python_vm_runtime/lib/webapp2-2.5.2/webapp2.py", line 570, in dispatch return method(*args, **kwargs) File "/home/vmagent/app/some/other/file.py", line 113, in get ret = self.some_method(self.ai, **options) File "/home/vmagent/app/some/other/file.py", line 888, in some_method tsr=tsr) 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 311, in _WaitImpl raise self._TranslateToError(parsed_response) File "/home/vmagent/python_vm_runtime/google/appengine/ext/vmruntime/vmstub.py", line 164, in _TranslateToError raise self._ErrorException(exception_type, msg) FeatureNotEnabledError: The API call images.Transform() is currently not enabled.


Billing is enabled on this project/app.


Any Googlers who have been recently active on this list have any idea?

Do I need to request the Images API to be switched on for my Managed VM module?

I can PM the app, module and version if needed.


Thanks,

Nick

Patrice (Cloud Platform Support)

unread,
May 19, 2015, 1:14:15 PM5/19/15
to google-a...@googlegroups.com, ni...@daskalou.com
Hi Nick,

Sorry for the delay in answering. My first guess is that your managed VM needs the Python Imaging Library installed, just like you need to have it installed on your local machine for the API to work on the devserver.

Can you confirm if you have it on your managed vm or not?

Cheers
Reply all
Reply to author
Forward
0 new messages