Hello, Carlos.
Did you manage to make this working?

On Wednesday, October 15, 2014 at 4:51:43 AM UTC+2, Cláudio Bastos wrote:
>
> Hi, 
>
> i'm struggling to make Web2py and Google Cloud Endpoints work together.
>
> When I change app.yaml to include :
>
>
> - url: /_ah/spi/.*
>   script: my_api.application
>
> libraries:
> - name: pycrypto
>   version: "2.6"
>
> it tells me :
>
>
> INFO     2014-10-14 23:42:24,845 module.py:659] default: "POST 
>> /_ah/spi/BackendService.getApiConfigs HTTP/1.1" 500 -
>> INFO     2014-10-14 23:42:24,846 module.py:659] default: "GET 
>> /_ah/api/discovery/v1/apis HTTP/1.1" 500 60
>> ERROR    2014-10-15 02:42:24,927 wsgi.py:262] 
>> Traceback (most recent call last):
>>   File "C:\Program Files\Google\Cloud 
>> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\runtime\wsgi.py",
>>  
>> line 239, in Handle
>>     handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
>>   File "C:\Program Files\Google\Cloud 
>> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\runtime\wsgi.py",
>>  
>> line 298, in _LoadHandler
>>     handler, path, err = LoadObject(self._handler)
>>   File "C:\Program Files\Google\Cloud 
>> SDK\google-cloud-sdk\platform\google_appengine\google\appengine\runtime\wsgi.py",
>>  
>> line 84, in LoadObject
>>     obj = __import__(path[0])
>>   File "C:\Devel\workspace\myproject\gaehandler.py", line 52, in <module>
>>     class MyApi(remote.service):
>> AttributeError: 'module' object has no attribute 'service'
>
>
> So it's like it couldn't import protorpc module.
> I checked my appengine sdk and see that there is protorpc/remote.py with 
> Service class in there.
>
> Does anyone know any way to make it happen?
>
> Thanks
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to