Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#542 closed defect (fixed)

internal errors on view and create new ticket

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

Description

i get following when trying to view a ticket:

Traceback (most recent call last):
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 492, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 487, in real_cgi_start
    dispatch_request(path_info, args, req, env, database)
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 397, in dispatch_request
    module.run()
  File "/usr/lib/python2.1/site-packages/trac/Module.py", line 45, in run
    self.render()
  File "/usr/lib/python2.1/site-packages/trac/Ticket.py", line 404, in render
    self.insert_ticket_data(self.req.hdf, id, ticket, reporter_id)
  File "/usr/lib/python2.1/site-packages/trac/Ticket.py", line 327, in insert_ticket_data
    evals = dict(zip(ticket.keys(), map(lambda x: escape(x), ticket.values())))
NameError: global name 'dict' is not defined 

and this when trying to create new ticket:

Traceback (most recent call last):
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 492, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 487, in real_cgi_start
    dispatch_request(path_info, args, req, env, database)
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 397, in dispatch_request
    module.run()
  File "/usr/lib/python2.1/site-packages/trac/Module.py", line 45, in run
    self.render()
  File "/usr/lib/python2.1/site-packages/trac/Ticket.py", line 268, in render
    if 'description' in ticket:
  File "/usr/lib/python2.1/UserDict.py", line 14, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 0

using trunk r754, phyton2.1

Attachments (0)

Change History (1)

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

Resolution: fixed
Status: newclosed

Fixed in [756].

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.