Edgewall Software

Ticket #5879 (closed defect: invalid)

Opened 16 months ago

Last modified 16 months ago

Error when adding new ticket

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc:

Description (last modified by thatch) (diff)

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

Change History

Changed 16 months ago by thatch

  • status changed from new to closed
  • resolution set to invalid
  • description modified (diff)

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?

Add/Change #5879 (Error when adding new ticket)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.