Re: [google-appengine] Simple data access works on dev server, error when deployed

2009-12-22 Thread Ikai L (Google)
Have you had any luck with this? I'm seeing this line in the trace:

ProtocolBufferEncodeError: int32 too big

Is there any place where you may be trying to assign a number that is larger
than a 32-bit integer?

On Sat, Dec 19, 2009 at 8:19 PM, Mookie danwils...@gmail.com wrote:

 Hi everyone,

 My app works on my local dev server, but upon deployment I get the
 error below. I'm following the instructions from this step-by-step
 guide to writing your own blog engine:

 http://brizzled.clapper.org/id/77

 ...and the failing line of code was not modified from what the author
 provides. Here's the link to the code:

 http://www.clapper.org/software/python/picoblog/picoblog.zip

 Any ideas?

 ---

 Traceback (most recent call last):
  File /base/python_lib/versions/1/google/appengine/ext/webapp/
 __init__.py, line 507, in __call__
handler.get(*groups)
  File /base/data/home/apps/pmdan-blog/1.338572358233171964/blog.py,
 line 243, in get
articles = Article.published()
  File /base/data/home/apps/pmdan-blog/1.338572358233171964/
 models.py, line 39, in published
.fetch(FETCH_THEM_ALL)
  File /base/python_lib/versions/1/google/appengine/ext/db/
 __init__.py, line 1585, in fetch
raw = raw_query.Get(limit, offset)
  File /base/python_lib/versions/1/google/appengine/api/
 datastore.py, line 1079, in Get
prefetch_count=limit)._Get(limit)
  File /base/python_lib/versions/1/google/appengine/api/
 datastore.py, line 1013, in _Run
datastore_pb.QueryResult())
  File /base/python_lib/versions/1/google/appengine/api/
 datastore.py, line 160, in _MakeSyncCall
resp = apiproxy_stub_map.MakeSyncCall(service, call, request,
 response)
  File /base/python_lib/versions/1/google/appengine/api/
 apiproxy_stub_map.py, line 78, in MakeSyncCall
return apiproxy.MakeSyncCall(service, call, request, response)
  File /base/python_lib/versions/1/google/appengine/api/
 apiproxy_stub_map.py, line 276, in MakeSyncCall
rpc.MakeCall(service, call, request, response)
  File /base/python_lib/versions/1/google/appengine/api/
 apiproxy_rpc.py, line 93, in MakeCall
self._MakeCallImpl()
  File /base/python_lib/versions/1/google/appengine/runtime/
 apiproxy.py, line 128, in _MakeCallImpl
self.request.Output(e)
  File /base/python_lib/versions/1/google/net/proto/
 ProtocolBuffer.py, line 163, in Output
self.OutputUnchecked(e)
  File /base/python_lib/versions/1/google/appengine/datastore/
 datastore_pb.py, line 889, in OutputUnchecked
out.putVarInt32(self.limit_)
  File /base/python_lib/versions/1/google/net/proto/
 ProtocolBuffer.py, line 301, in putVarInt32
raise ProtocolBufferEncodeError, int32 too big
 ProtocolBufferEncodeError: int32 too big

 --

 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.





-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

--

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




[google-appengine] Simple data access works on dev server, error when deployed

2009-12-21 Thread Mookie
Hi everyone,

My app works on my local dev server, but upon deployment I get the
error below. I'm following the instructions from this step-by-step
guide to writing your own blog engine:

http://brizzled.clapper.org/id/77

...and the failing line of code was not modified from what the author
provides. Here's the link to the code:

http://www.clapper.org/software/python/picoblog/picoblog.zip

Any ideas?

---

Traceback (most recent call last):
  File /base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py, line 507, in __call__
handler.get(*groups)
  File /base/data/home/apps/pmdan-blog/1.338572358233171964/blog.py,
line 243, in get
articles = Article.published()
  File /base/data/home/apps/pmdan-blog/1.338572358233171964/
models.py, line 39, in published
.fetch(FETCH_THEM_ALL)
  File /base/python_lib/versions/1/google/appengine/ext/db/
__init__.py, line 1585, in fetch
raw = raw_query.Get(limit, offset)
  File /base/python_lib/versions/1/google/appengine/api/
datastore.py, line 1079, in Get
prefetch_count=limit)._Get(limit)
  File /base/python_lib/versions/1/google/appengine/api/
datastore.py, line 1013, in _Run
datastore_pb.QueryResult())
  File /base/python_lib/versions/1/google/appengine/api/
datastore.py, line 160, in _MakeSyncCall
resp = apiproxy_stub_map.MakeSyncCall(service, call, request,
response)
  File /base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py, line 78, in MakeSyncCall
return apiproxy.MakeSyncCall(service, call, request, response)
  File /base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py, line 276, in MakeSyncCall
rpc.MakeCall(service, call, request, response)
  File /base/python_lib/versions/1/google/appengine/api/
apiproxy_rpc.py, line 93, in MakeCall
self._MakeCallImpl()
  File /base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py, line 128, in _MakeCallImpl
self.request.Output(e)
  File /base/python_lib/versions/1/google/net/proto/
ProtocolBuffer.py, line 163, in Output
self.OutputUnchecked(e)
  File /base/python_lib/versions/1/google/appengine/datastore/
datastore_pb.py, line 889, in OutputUnchecked
out.putVarInt32(self.limit_)
  File /base/python_lib/versions/1/google/net/proto/
ProtocolBuffer.py, line 301, in putVarInt32
raise ProtocolBufferEncodeError, int32 too big
ProtocolBufferEncodeError: int32 too big

--

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