Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5879 closed defect (invalid)

Error when adding new ticket

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Tim Hatch)

This is what I saw after creating a new ticket:

Trac detected an internal error: If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.

TracGuide — The Trac User and Administration Guide

Python Traceback

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 239, in dispatch
    template, content_type = self._post_process_request(req,
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 269, in _post_process_request
    content_type)
  File "/usr/local/share/trac/plugins/TracMasterTickets-1.0-py2.4.egg/mastertickets/web_ui.py", line 59, in post_process_request
    req.hdf['project.footer'] = Markup(req.hdf['project.footer'] + Markup(html.DIV(linkify_ids(self.env, req, blocks_ids), id='linkified_blocking', style='display:none')))
  File "/usr/local/share/trac/plugins/TracMasterTickets-1.0-py2.4.egg/mastertickets/util.py", line 19, in linkify_ids
    return Markup(', '.join([unicode(html.A('#%s'%i, href=req.href.ticket(i), class_='%s ticket'%Ticket(env, i)['status'])) for i in ids]))
  File "/var/lib/python-support/python2.4/trac/ticket/model.py", line 40, in __init__
    self._fetch_ticket(tkt_id, db)
  File "/var/lib/python-support/python2.4/trac/ticket/model.py", line 86, in _fetch_ticket
    raise TracError('Ticket %d does not exist.' % tkt_id,
TypeError: int argument required

Attachments (0)

Change History (1)

comment:1 by Tim Hatch, 17 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

Fix formatting.

This is an issue with the master tickets plugin, please report it on trac-hacks.org instead. It looks like the blocks_ids is being passed around as a list of strings, not numbers?

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 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.