Latest appengine code doesnt seem to have complete code for protorpc

98 views
Skip to first unread message

Yasser Bashir

unread,
Jun 27, 2013, 8:48:17 AM6/27/13
to google-prot...@googlegroups.com
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 196, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 255, in _LoadHandler
    handler = __import__(path[0])
  File "C:\Users\Shah Lateef\Projects\gtv2\services.py", line 1, in <module>
    from protorpc.webapp import service_handlers
  File "C:\Program Files (x86)\Google\google_appengine\lib\protorpc\protorpc\webapp\service_handlers.py", line 95, in <module>
    from .google_imports import webapp
ImportError: No module named google_imports
INFO     2013-06-27 17:40:50,275 server.py:593] default: "POST /_ah/spi/BackendService.getApiConfigs HTTP/1.1" 500 -
INFO     2013-06-27 17:40:50,276 server.py:593] default: "GET /_ah/api/discovery/v1/apis HTTP/1.1" 500 60


I checked the protorpc package on google code and that does have a .google_imports file in the protorpc folder.  Its missing in the latest built release of appengine (1.8.1)

Rafe Kaplan

unread,
Jun 27, 2013, 2:37:11 PM6/27/13
to google-prot...@googlegroups.com
Thanks for the heads up.  Will get that synced up.


--
You received this message because you are subscribed to the Google Groups "ProtoRPC Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-protorpc-d...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
 - Rafe Kaplan

Rafe Kaplan

unread,
Jun 28, 2013, 5:50:15 PM6/28/13
to google-prot...@googlegroups.com
  It looks like the problem is not that the file is missing from the SDK but that the import is being done incorrectly in the webapp source code.

  We are looking in to fixing this but I'd like to take this opportunity to point out that protorpc.webapp module is deprecated and you should instead use protorpc.wsgi.service.  It's very similar to configure as webapp and is slightly lighter weight.
--
 - Rafe Kaplan

Marc Nieper-Wißkirchen

unread,
Jun 3, 2014, 4:56:56 AM6/3/14
to google-prot...@googlegroups.com


Am Freitag, 28. Juni 2013 23:50:15 UTC+2 schrieb Rafe Kaplan:
  It looks like the problem is not that the file is missing from the SDK but that the import is being done incorrectly in the webapp source code.

  We are looking in to fixing this but I'd like to take this opportunity to point out that protorpc.webapp module is deprecated and you should instead use protorpc.wsgi.service.  It's very similar to configure as webapp and is slightly lighter weight.

What about "protorpc/webapp/forms.py"? Is this deprecated as well? So far, I haven't found a replacement that works without the webapp service.

Marc Nieper-Wißkirchen
 


On Thu, Jun 27, 2013 at 11:37 AM, Rafe Kaplan <ra...@google.com> wrote:
Thanks for the heads up.  Will get that synced up.
On Thu, Jun 27, 2013 at 5:48 AM, Yasser Bashir <cli...@arbisoft.com> wrote:
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 196, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 255, in _LoadHandler
    handler = __import__(path[0])
  File "C:\Users\Shah Lateef\Projects\gtv2\services.py", line 1, in <module>
    from protorpc.webapp import service_handlers
  File "C:\Program Files (x86)\Google\google_appengine\lib\protorpc\protorpc\webapp\service_handlers.py", line 95, in <module>
    from .google_imports import webapp
ImportError: No module named google_imports
INFO     2013-06-27 17:40:50,275 server.py:593] default: "POST /_ah/spi/BackendService.getApiConfigs HTTP/1.1" 500 -
INFO     2013-06-27 17:40:50,276 server.py:593] default: "GET /_ah/api/discovery/v1/apis HTTP/1.1" 500 60


I checked the protorpc package on google code and that does have a .google_imports file in the protorpc folder.  Its missing in the latest built release of appengine (1.8.1)

--
You received this message because you are subscribed to the Google Groups "ProtoRPC Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-protorpc-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
 - Rafe Kaplan



--
 - Rafe Kaplan

Rafe Kaplan

unread,
Jun 16, 2014, 1:58:31 PM6/16/14
to google-prot...@googlegroups.com
Forms was deprecated on account that they are rather tricky to write
properly secure. I'd have loved to have continued to improve them but
when we switched over to the protorpc/wsgi module, there was not
enough time to get it right.
>>>> an email to google-protorpc-d...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> --
>>> - Rafe Kaplan
>>
>>
>>
>>
>> --
>> - Rafe Kaplan
>
> --
> You received this message because you are subscribed to the Google Groups
> "ProtoRPC Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-protorpc-d...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
- Rafe Kaplan
Reply all
Reply to author
Forward
0 new messages