Opened 11 years ago

Closed 11 years ago

#1975 closed defect (fixed)

IndexError: list index out of range

Reported by: Bhuricha Deen Sethanandha Owned by: Bhuricha Deen Sethanandha
Priority: high Component: TracMetrixPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description (last modified by Bhuricha Deen Sethanandha)

"/u/bhuricha/lib/python2.5/site-packages/Trac-0.11dev_r5933-py2.5.egg/trac/web/", line 381, in  dispatch_request
"/u/bhuricha/lib/python2.5/site-packages/Trac-0.11dev_r5933-py2.5.egg/trac/web/", line 160, in dispatch
"/u/bhuricha/source/trac-hacks/tracmetrixplugin/0.11/tracmetrixplugin/", line 93, in match_request
Code fragment:

  89. urlcomp = req.path_info.split('/')
  93. if urlcomp[1] == 'pdashboard':
  94. if len(urlcomp) == 3: #url has 2
  95. req.args['imagename'] = urlcomp[2]
  96. else:
  97. req.args['imagename'] = None

Local variables:
Name    Value
req     <Request "GET u''">
self    <tracmetrixplugin.web_ui.PDashboard object at 0x1ceead0>
urlcomp     [u'']

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by Bhuricha Deen Sethanandha

Status: newassigned

comment:2 Changed 11 years ago by Bhuricha Deen Sethanandha

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Bhuricha Deen Sethanandha.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.