Edgewall Software

Opened 14 years ago

Last modified 11 years ago

#9314 closed defect

timestamp out of range for platform time_t — at Version 1

Reported by: s.vallosio@… Owned by:
Priority: normal Milestone:
Component: wiki system Version: 0.11-stable
Severity: normal Keywords: timestamp, update
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Hi, i have updated the wiki to version 0.11.7 but I get the following problem:

Trac detected an internal error:

ValueError: timestamp out of range for platform time_t
This is the Python Traceback:
File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 450, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 206, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/wiki/web_ui.py", line 118, in process_request
  page = WikiPage(self.env, pagename)
File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/wiki/model.py", line 43, in __init__
  self._fetch(name, version, db)
File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/wiki/model.py", line 70, in _fetch
  self.time = datetime.fromtimestamp(time, utc)
}}
This is the System Information:
{{{
Trac: 0.11.7 
Python: 2.4.2 (#2, Sep 30 2005, 21:23:58) [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] 
setuptools: 0.6c9 
SQLite: 3.2.1 
pysqlite: 2.0.3 
Genshi: 0.6 
mod_python: < 3.2 
Subversion: 1.2.0 (r14790) 
jQuery: 1.2.6 
}}}
Can you help me, please!?

Change History (1)

comment:1 by Christian Boos, 14 years ago

Description: modified (diff)
Severity: blockernormal

Are you sure it was an upgrade and not a downgrade from trunk?

Does it happen for all pages?

For the page it happens, what's in the db?

$ echo "select * from wiki where name='WikiStart' and version=(select max(version) from wiki where name='WikiStart');" \
    | sqlite3 your_tracenv/db/trac.db 
Note: See TracTickets for help on using tickets.