Modify ↓
#4841 closed defect (invalid)
TypeError: int() argument must be a string or a number
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.3 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /ticket/529, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'id': u'529'}
System Information
| Trac | 0.10.3
|
| Python | 2.4.3 (#1, Jun 13 2006, 16:41:45) [GCC 4.0.2 20051125 (Red Hat 4.0.2-8)]
|
| SQLite | 3.1.2
|
| pysqlite | 1.1.6
|
| Genshi | 0.3.3
|
| Subversion | 1.2.3
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 412, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 213, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 117, in process_request
return self.process_ticket_request(req)
File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 226, in process_ticket_request
self._insert_ticket_data(context, data, get_reporter_id(req, 'author'))
File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 816, in _insert_ticket_data
for change in self.grouped_changelog_entries(ticket, context.db):
File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 861, in grouped_changelog_entries
changelog = ticket.get_changelog(when=when, db=db)
File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 273, in get_changelog
when = int(when)
TypeError: int() argument must be a string or a number
Attachments (0)
Change History (3)
comment:1 by , 19 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 19 years ago
Ah, and by the way, Genshi 0.3.3 is too old. Check wiki:Trac0.11/TracInstall.
comment:3 by , 19 years ago
I was downgrading from dev to 0.10.3, didn't do a clean install. Works now :)
Note:
See TracTickets
for help on using tickets.



Hm, how did you manage to get "Trac 0.10.3" in the system information!?!
Looks like you have a "mixed" installation, parts of it are still from 0.10 (like the trac/ticket/model.py, line 273 shows) and some other parts (obviously) from 0.11.
Please reinstall cleanly 0.11 and the issue should go away (see Trac0.11/Install).
(hint: rm -fr /usr/lib/python2.4/site-packages/trac, then do a clean checkout of trunk, then 'python setup.py install' from there)