Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#2405 closed Bugs (duplicate)

TypeError: a float is required

Reported by: Andrey.Semashev@… Owned by: Douglas Gregor
Milestone: Boost 1.37.0 Component: trac / subversion
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

How to Reproduce

While doing a GET operation on /ticket/382, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': u'382'}

User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008092700 SUSE/3.0.3-2.2 Firefox/3.0.3

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 (3)

comment:1 by Marshall Clow, 14 years ago

Resolution: duplicate
Status: newclosed

Sadly, this is a duplicate of #2085 It appears that all the bugs brought over from Sourceforge are affected.

Note: See TracTickets for help on using tickets.