Edgewall Software

Opened 17 years ago

Closed 17 years ago

#1865 closed defect (invalid)

TypeError: int() argument must be a string or a number

Reported by: Markus Tacker <m@…> Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: devel
Severity: critical Keywords:
Cc: m@… Branch:
Release Notes:
API Changes:
Internal Changes:


Revision [2046].

Closing a ticket produces this error:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 203, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 452, in dispatch_request
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 312, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 172, in process_request
    self._do_save(req, db, ticket)
  File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 292, in _do_save
    if int(req.args.get('ts')) != ticket.time_changed:
TypeError: int() argument must be a string or a number

Attachments (0)

Change History (2)

comment:1 by Christopher Lenz, 17 years ago

Are you sure that your ticket.cs template is up to date? It should contain a hidden form field named "ts" (short for timestamp).

comment:2 by Markus Tacker <m@…>, 17 years ago

Resolution: invalid
Status: newclosed

After removing everything from /usr/share/trac prior to installation it worked.

Maybe the installer should take care of that…

Modify Ticket

Change Properties
Set your email in Preferences
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.