Oh, I found out what went wrong. I had inadvertently deleted a line of
code to kick of the download before I added the rpc object to my list
of rpcs. Sorry for the confusion, must have been too tired to notice
last night.

Thanks,
Prateek

On Nov 14, 10:00 am, someone1 <[email protected]> wrote:
> 0Traceback (most recent call last):  File "/base/python27_runtime/
> python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511,
> in __call__    rv = self.handle_exception(request, response, e)  File
> "/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/
> webapp2.py", line 1505, in __call__    rv =
> self.router.dispatch(request, response)  File "/base/python27_runtime/
> python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1253,
> in default_dispatcher    return route.handler_adapter(request,
> response)  File "/base/python27_runtime/python27_lib/versions/
> third_party/webapp2-2.3/webapp2.py", line 1077, in __call__    return
> handler.dispatch()  File "/base/python27_runtime/python27_lib/versions/
> third_party/webapp2-2.3/webapp2.py", line 547, in dispatch    return
> self.handle_exception(e, self.app.debug)  File "/base/python27_runtime/
> python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 545,
> in dispatch    return method(*args, **kwargs)  File "/base/
> python27_runtime/python27_lib/versions/1/google/appengine/ext/deferred/
> deferred.py", line 289, in post    run(self.request.body)  File "/base/
> python27_runtime/python27_lib/versions/1/google/appengine/ext/deferred/
> deferred.py", line 131, in run    return func(*args, **kwds)  File "/
> base/data/home/apps/s~referabuyer/aggregator.354671765578034008/
> referabuyer/deferred.py", line 50, in downloadAllListingsBySeller
> to_put = saveItems(rpc, page, salt, name, downloadAllListingsBySeller,
> bulk_size, after)  File "/base/data/home/apps/s~referabuyer/aggregator.
> 354671765578034008/referabuyer/deferred.py", line 118, in saveItems
> result = rpc.get_result()   File "/base/python27_runtime/python27_lib/
> versions/1/google/appengine/api/apiproxy_stub_map.py", line 589, in
> get_result    self.check_success()  File "/base/python27_runtime/
> python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
> line 556, in check_success    self.wait()  File "/base/
> python27_runtime/python27_lib/versions/1/google/appengine/api/
> apiproxy_stub_map.py", line 530, in wait    assert self.__rpc.state !=
> apiproxy_rpc.RPC.IDLE, repr(self.state)AssertionError: 0
>
> I was downloading from eBay's API. I set a couple pages to download
> and then start iterating through them to parse out. I defer tasks to a
> backend to download from eBay's API quickly. However, I should note
> that in this test there was only 1 task in queue and nothing else was
> going on.
>
> Thanks,
> Prateek
> On Nov 14, 8:29 am, "Greg Darke (Google)" <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > Can you please add the full stack trace?
>
> > And if it is repeatable either a code snippet or an explanation of
> > what your program was doing when the exception occured.
>
> > On 14 November 2011 18:29, someone1 <[email protected]> wrote:
>
> > > I am continunously getting the following error for a segment of code
> > > that has been working fine until just now:
>
> > > ...
> > >    result = rpc.get_result()
> > >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > > appengine/api/apiproxy_stub_map.py", line 589, in get_result
> > >    self.check_success()
> > >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > > appengine/api/apiproxy_stub_map.py", line 556, in check_success
> > >    self.wait()
> > >  File "/base/python27_runtime/python27_lib/versions/1/google/
> > > appengine/api/apiproxy_stub_map.py", line 530, in wait
> > >    assert self.__rpc.state != apiproxy_rpc.RPC.IDLE, repr(self.state)
> > > AssertionError: 0
>
> > > Is this an issue I can resolve or an AppEngine thing? My code runs in
> > > a backend with python27 (threadsafe: false)
>
> > > Thanks,
> > > Prateek
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Google App Engine" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to 
> > > [email protected].
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/google-appengine?hl=en.

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

Reply via email to