Modify

Opened 7 years ago

Closed 7 years ago

#1975 closed defect (fixed)

IndexError: list index out of range

Reported by: khundeen Owned by: khundeen
Priority: high Component: TracMetrixPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description (last modified by khundeen)

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

  88.
  89. urlcomp = req.path_info.split('/')
  90.
  91. self.env.log.info(urlcomp)
  92.
  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
  98.

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 7 years ago by khundeen

  • Status changed from new to assigned

comment:2 Changed 7 years ago by khundeen

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from khundeen. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.