UserChangeSubscriber causes “tuple index out of range” errors
|Reported by:||anonymous||Owned by:|
2010-11-21 19:53:46,537 Trac[api] ERROR: AnnouncementSystem failed. Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/api.py", line 536, in _real_send subscriptions = self.resolver.subscriptions(evt) File "/usr/local/lib/python2.6/dist-packages/TracAnnouncer-0.12.1.dev-py2.6.egg/announcer/api.py", line 354, in subscriptions ordered_subs = sorted(subscriptions, key=itemgetter(1,2,3,6)) IndexError: tuple index out of range
It appears that UserChangeSubscriber is, at least sometimes, returning tuples that are only 4 items long. I am not entirely clear on why (or how) this is happening. In looking at the data stored in the subscription_attribute table, “target” is always blank, so I am not entirely sure that this subscriber isn’t simply broken.