Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#7042 closed defect (fixed)

TypeError: gettext_noop() takes exactly 1 argument (2 given)

Reported by: dx@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.11
Component: ticket system Version: 0.11b2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /admin/ticket/milestones/1.0, Trac issued an internal error.

Setting the milestone as completed, at 03/25/08 00:00:00 (a few minutes in the future)

Request parameters:

{'panel_id': u'milestones', 'description': u'First official stable release of the msnp13-based emesene.\r\n * Msnp13\r\n * All basic features\r\n * Display pictures, custom emoticons\r\n * Switchboard based file transfer\r\n * etc', 'completed': u'on', '__FORM_TOKEN': u'505fd2b4c0a13651f9ff9738', 'path_info': u'1.0', 'completeddate': u'03/25/08 00:00:00', 'save': u'Save', 'duedate': u'', 'cat_id': u'ticket', 'name': u'1.0'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4) Gecko/2008031011 Minefield/3.0b4

System Information

Trac 0.11b2
Python 2.3.5 (#2, Oct 16 2006, 19:19:48)
[GCC 3.3.5 (Debian 1:3.3.5-13)]
setuptools 0.6c7
MySQL server: "5.0.24a-standard-log", client: "5.0.16", thread-safe: 1
MySQLdb 1.2.1_p2
Genshi 0.4.4
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/home/dx/packages/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/main.py", line 419, in _dispatch_request
    dispatcher.dispatch(req)
  File "/home/dx/packages/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/main.py", line 196, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/dx/packages/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/admin/web_ui.py", line 109, in process_request
    path_info)
  File "/home/dx/packages/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/ticket/admin.py", line 42, in render_admin_panel
    return self._render_admin_panel(req, cat, page, version)
  File "/home/dx/packages/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/ticket/admin.py", line 150, in _render_admin_panel
    'Invalid Completion Date'))
TypeError: gettext_noop() takes exactly 1 argument (2 given)

Attachments (0)

Change History (1)

comment:1 by Christopher Lenz, 17 years ago

Component: generalticket system
Milestone: 0.11
Resolution: fixed
Status: newclosed

Fixed in [6749]

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.