This is fixed in head now.

On Thu, Jun 3, 2010 at 11:24 PM, Laszlo Horvath <[email protected]> wrote:
> Hey Brett
>
> Thanks for help & your job done with pubsubhubbub, its a great app.
>
> Laszlo
>
> On Jun 3, 8:35 pm, Brett Slatkin <[email protected]> wrote:
>> Hey Laszlo,
>>
>> This is a byproduct of my recent fork-join queue change in r354. If
>> you checkout r353 instead you should be in good shape. I have another
>> set of changes I'll check-in soon that fix this in head. Thanks for
>> your patience!
>>
>> -Brett
>>
>>
>>
>> On Thu, Jun 3, 2010 at 1:31 AM, Laszlo Horvath <[email protected]> wrote:
>> > I am getting these kind of messages in appengine log while it
>> > seemingly works fine (ie hub notifications received & processed
>> > properly) :
>>
>> > Cannot operate on different entity groups in a transaction:
>> > (kind=u'FeedRecord',
>> > name=u'hash_a73467635489ca5500d93b726451a42839b1dffc') and
>> > (kind=u'FeedRecord',
>> > name=u'hash_a6b9be9560fd1f42034a028eb3ac0d5932603ec1').
>> > Traceback (most recent call last):
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > ext/webapp/__init__.py", line 513, in __call__
>> >    handler.post(*groups)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 646, in decorated
>> >    return func(myself, *args, **kwargs)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2719, in post
>> >    async_proxy.wait()
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > async_apiproxy.py", line 101, in wait
>> >    self.wait_one()
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > async_apiproxy.py", line 93, in wait_one
>> >    rpc.CheckSuccess()
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > api/apiproxy_rpc.py", line 161, in __Callback
>> >    self.callback()
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > async_apiproxy.py", line 69, in <lambda>
>> >    lambda: user_callback(pbresponse, None),
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > urlfetch_async.py", line 93, in completion_callback
>> >    callback(result, user_exception)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2352, in wrapper
>> >    exception)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2530, in <lambda>
>> >    feed_record, work, fetch_url, attempts, *args)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2584, in callback
>> >    if parse_feed(feed_record, headers, content):
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2403, in parse_feed
>> >    feed_record.topic, format, content)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2274, in find_feed_updates
>> >    topic, key_set))
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 1337, in get_entries_for_topic
>> >    for entry_id in entry_id_list])
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > ext/db/__init__.py", line 992, in get
>> >    results = get(keys, rpc=rpc)
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > ext/db/__init__.py", line 1245, in get
>> >    entities = datastore.Get(keys, rpc=rpc)
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > api/datastore.py", line 335, in Get
>> >    _MaybeSetupTransaction(req, keys)
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > api/datastore.py", line 2314, in _MaybeSetupTransaction
>> >    raise _DifferentEntityGroupError(expected_group, group)
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > api/datastore.py", line 2360, in _DifferentEntityGroupError
>> >    b.kind(), id_or_name(b)))
>> > BadRequestError: Cannot operate on different entity groups in a
>> > transaction: (kind=u'FeedRecord',
>> > name=u'hash_a73467635489ca5500d93b726451a42839b1dffc') and
>> > (kind=u'FeedRecord',
>> > name=u'hash_a6b9be9560fd1f42034a028eb3ac0d5932603ec1').
>>
>> > --------------------------------------------
>>
>> > 06-03 01:09AM 50.878
>> > Nested transactions are not supported.
>> > Traceback (most recent call last):
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > ext/webapp/__init__.py", line 513, in __call__
>> >    handler.post(*groups)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 646, in decorated
>> >    return func(myself, *args, **kwargs)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2719, in post
>> >    async_proxy.wait()
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > async_apiproxy.py", line 101, in wait
>> >    self.wait_one()
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > async_apiproxy.py", line 93, in wait_one
>> >    rpc.CheckSuccess()
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > api/apiproxy_rpc.py", line 161, in __Callback
>> >    self.callback()
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > async_apiproxy.py", line 69, in <lambda>
>> >    lambda: user_callback(pbresponse, None),
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > urlfetch_async.py", line 93, in completion_callback
>> >    callback(result, user_exception)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2352, in wrapper
>> >    exception)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2530, in <lambda>
>> >    feed_record, work, fetch_url, attempts, *args)
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 2586, in callback
>> >    work.done()
>> >  File "/base/data/home/apps/sse-test1-hub/1.342195527323599807/
>> > main.py", line 1159, in done
>> >    return db.run_in_transaction(txn)
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > api/datastore.py", line 2132, in RunInTransaction
>> >    DEFAULT_TRANSACTION_RETRIES, function, *args, **kwargs)
>> >  File "/base/python_runtime/python_lib/versions/1/google/appengine/
>> > api/datastore.py", line 2206, in RunInTransactionCustomRetries
>> >    'Nested transactions are not supported.')
>> > BadRequestError: Nested transactions are not supported.
>>
>> > --------------------------------------------
>> > The percent of errors:
>>
>> > /work/pull_feeds         58%
>> > /work/push_events 87%
>> > /work/event_cleanup 2.5%
>> > /work/poll_bootstrap 1.9%
>> > /work/subscription_cleanup 1.2%

Reply via email to