You'd have to ask the AppEngine people.  Someone from that team submitted
the input_stream.py change.
The problem is that both protocol buffers and AppEngine place themselves in
the "google" package.  Protocol Buffers has, from day one, declared the
package as a "namespace package" using setuptools, which theoretically
allows sharing of the package.  For things to work, though, AppEngine has to
cooperate by doing the same thing in their own code.

On Thu, Jul 2, 2009 at 6:46 PM, Dan <danbr...@gmail.com> wrote:

>
> Hello-
> I'm working with GAE and ran into this error when trying to use
> protocol buffers:
>
> from google.protobuf import descriptor
> ImportError: No module named protobuf
>
> I saw some mention of people using hacks to do this in the past, but
> also saw that the release notes for protocol buffers v 2.10 said this:
> * Changes to input_stream.py should make protobuf compatible with
> appengine.
>
> I'm not sure what is meant by "compatible" in that statement, but I'd
> like to know if GAE still requires the hackery described in these
> threads referenced below. Is there an up-to-date howto or something
> like that somewhere that I missed?
>
>
> http://groups.google.com/group/protobuf/browse_thread/thread/6430dc5d7ceb145a/b8634dddbe4425f3?lnk=gst&q=gae#b8634dddbe4425f3
>
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/db910ed40ae495fc/f41873a476db744e
>
> Dan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to