Opened 2 years ago

Closed 2 years ago

#23245 closed Bug (worksforme)

TypeError: 'set' object does not support indexing

Reported by: SAMUEL BARFIELD III Owned by: SAMUEL BARFIELD III
Component: *.djangoproject.com Version:
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

How to Reproduce

While doing a GET operation on /watchlist, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'action': u'watch', 'realm': u'wiki', 'resid': u'TitleIndex'}

User agent: Mozilla/5.0 (PLAYSTATION 3 4.60) AppleWebKit/531.22.8 (KHTML, like Gecko)

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/home/trac/venv/lib/python2.6/site-packages/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/home/trac/venv/lib/python2.6/site-packages/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/trac/venv/lib/python2.6/site-packages/tracwatchlist/plugin.py", line 524, in process_request
    req.redirect(req.href(realm,new_res[0]))
TypeError: 'set' object does not support indexing

Change History (3)

comment:1 Changed 2 years ago by Baptiste Mispelon

Resolution: invalid
Status: newclosed

How does this relate to Django?

comment:2 Changed 2 years ago by Aymeric Augustin

Resolution: invalid
Status: closednew

We have the watch list plugin installed because someone requested it at some point.

Maybe we just need to update it.

comment:3 Changed 2 years ago by Aymeric Augustin

Cc: SAMUEL BUSINESS OF INFORMATION removed
Component: Core (Management commands)*.djangoproject.com
Has patch: unset
Keywords: SAMUEL SAMUEL BUSINESS OF INFORMATION removed
Resolution: worksforme
Severity: Release blockerNormal
Status: newclosed
Type: UncategorizedBug
UI/UX: unset
Version: 1.4

That said, the plugin appears to work just fine. I can't reproduce the issue.

Note: See TracTickets for help on using tickets.
Back to Top