Modify ↓
Opened 19 years ago
Closed 19 years ago
#1865 closed defect (invalid)
TypeError: int() argument must be a string or a number
Reported by: | 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: |
Description
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 dispatcher.dispatch(req) 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 , 19 years ago
comment:2 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
After removing everything from /usr/share/trac prior to installation it worked.
Maybe the installer should take care of that…
Note:
See TracTickets
for help on using tickets.
Are you sure that your
ticket.cs
template is up to date? It should contain a hidden form field named "ts" (short for timestamp).