Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2190 closed Bugs (duplicate)

TypeError: a float is required

Reported by: anonymous Owned by: René Rivera
Milestone: Component: website
Version: Severity: Problem
Keywords: Cc:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'id': u'349'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.0; da; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

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

comment:1 by Marshall Clow, 14 years ago

Resolution: duplicate
Status: newclosed

Marshall sez: This is a duplicate of #2190, and seems to affect old bugs (i.e, bug #s before 952)

I will investigate further.

comment:2 by Marshall Clow, 14 years ago

D'oh! It's a duplicate of #2085, not #2190

Note: See TracTickets for help on using tickets.