Opened 14 years ago
Closed 14 years ago
#2085 closed Bugs (fixed)
TypeError: a float is required
| Reported by: | anonymous | Owned by: | Douglas Gregor |
|---|---|---|---|
| Milestone: | Boost 1.36.0 | Component: | None |
| Version: | Boost 1.35.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
How to Reproduce
While doing a GET operation on /ticket/663, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'id': u'663'}
User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080529 BonEcho/2.0.0.14
System Information
| Trac | 0.11
|
| Python | 2.4.4 (#1, Jan 25 2007, 13:04:51) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]
|
| setuptools | 0.6c8
|
| SQLite | 3.5.4
|
| pysqlite | 2.4.1
|
| Genshi | 0.5
|
| Subversion | 1.4.2 (r22196)
|
| jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last):
File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request
dispatcher.dispatch(req)
File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 197, in dispatch
resp = chosen_handler.process_request(req)
File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/ticket/web_ui.py", line 152, in process_request
return self._process_ticket_request(req)
File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/ticket/web_ui.py", line 412, in _process_ticket_request
ticket = Ticket(self.env, id, version=version)
File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/ticket/model.py", line 47, in __init__
self._fetch_ticket(tkt_id, db)
File "/opt/trac2/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/ticket/model.py", line 105, in _fetch_ticket
self.time_changed = datetime.fromtimestamp(row[len(std_fields) + 1], utc)
TypeError: a float is required
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
| Owner: | set to |
|---|
comment:3 by , 14 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 14 years ago
This appears to be true for all of the bugs that were brought over from SourceForge.
comment:5 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
This is fixed now. Big thanks to Ben Artin!
Note:
See TracTickets
for help on using tickets.

Happens for me, too.