ankurpiyush26 / pubsubhubbub

Automatically exported from code.google.com/p/pubsubhubbub
Other
1 stars 0 forks source link

Hub feed ID recording broken sometimes #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For topic = http://feeds2.feedburner.com/bankref found new feed ID u''; old 
feed ID was None

#
E 06-27 10:51PM 29.801

Property feed_id is required
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/pubsubhubbub/memory-queue.342978944075695396/main.py", line 646, in decorated
    return func(myself, *args, **kwargs)
  File "/base/data/home/apps/pubsubhubbub/memory-queue.342978944075695396/main.py", line 3005, in post
    KnownFeedIdentity.update(feed_id, topic)
  File "/base/data/home/apps/pubsubhubbub/memory-queue.342978944075695396/main.py", line 1791, in update
    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 2223, in RunInTransactionCustomRetries
    result = function(*args, **kwargs)
  File "/base/data/home/apps/pubsubhubbub/memory-queue.342978944075695396/main.py", line 1786, in txn
    known_feed = cls(feed_id=feed_id, key_name=get_hash_key_name(feed_id))
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 754, in __init__
    prop.__set__(self, value)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 503, in __set__
    value = self.validate(value)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2205, in validate
    value = super(UnindexedProperty, self).validate(value)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 530, in validate
    raise BadValueError('Property %s is required' % self.name)
BadValueError: Property feed_id is required

Original issue reported on code.google.com by bslatkin on 28 Jun 2010 at 6:03

GoogleCodeExporter commented 9 years ago
Fixed in r394

Original comment by bslatkin on 6 Nov 2010 at 12:57