Modify

Opened 9 years ago

Closed 9 years ago

#12540 closed defect (fixed)

IndexError: tuple index out of range

Reported by: trac@… Owned by: Ryan J Ollos
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

Announcer plugin fails to send message. Stack trace:

2015-10-14 11:37:23,957 Trac[api] ERROR: AnnouncementSystem failed.
Traceback (most recent call last):
  File "E:\Python27\lib\site-packages\tracannouncer-1.0dev_r0-py2.7.egg\announcer\api.py", line 560, in _real_send
    subscriptions = self.resolver.subscriptions(evt)
  File "E:\Python27\lib\site-packages\tracannouncer-1.0dev_r0-py2.7.egg\announcer\api.py", line 299, in subscriptions
    [x for x in sp.matches(event) if x]
  File "E:\Python27\lib\site-packages\tracannouncer-1.0dev_r0-py2.7.egg\announcer\opt\subscribers.py", line 419, in matches
    s[3], s[4])
  • tracannouncer 1.0dev-r0
  • Python 2.7

Possible fix: change the tracannouncer-1.0dev_r0-py2.7.egg\announcer\opt\subscribers.py, line 419 to:

    s[2], s[3])

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 9 years ago by Ryan J Ollos

Owner: changed from Steffen Hoffmann to Ryan J Ollos
Status: newaccepted

Looks like a typo in [12338]. Could you please confirm the fix after I commit the change?

comment:3 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 14934:

1.0dev: Fix tuple index error. Fixes #12540.

It appears the error was introduced in [12338].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.