Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#289 closed defect (fixed)

internal error on changeing ticket

Reported by: vittorio Owned by: Jonas Borgström
Priority: high Milestone: 0.7
Component: ticket system Version: devel
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

adding comment or changeing ticket doesnt work anymore. introduced by changeset [448]. using python 2.1

Traceback (most recent call last):
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 421, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 411, in real_cgi_start
    module.run()
  File "/usr/lib/python2.1/site-packages/trac/Module.py", line 34, in run
    self.render()
  File "/usr/lib/python2.1/site-packages/trac/Ticket.py", line 275, in render
    for name in self.args:
  File "/usr/lib/python2.1/cgi.py", line 550, in __getitem__
    raise KeyError, key
KeyError: 0

Attachments (0)

Change History (2)

comment:1 by Jonas Borgström, 15 years ago

Status: newassigned
for name in self.args.keys():

has to be used with python < 2.3

I'll fix this in my next commit.

comment:2 by Jonas Borgström, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [452].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.