Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10156 closed defect (cantfix)

ValueError: timestamp out of range for platform time_t

Reported by: helmut.wieser@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Remy Blank)

How to Reproduce While doing a GET operation on /wiki/TracCgi, Trac issued an internal error.

please provide additional details here

Request parameters:

{ page : u TracCgi }

User Agent was: Mozilla/5.0 Windows NT 6.1; WOW64; rv:2.0 Gecko/20100101 Firefox/4.0

System Information

Trac 0.11
Python 2.5 r25:51908, Sep 19 2006, 09:52:17 MSC v.1310 32 bit Intel
setuptools 0.6c8
SQLite 3.3.4
pysqlite 2.3.2
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.5.1 r32289
jQuery: 1.2.3

Python Traceback

Traceback  most recent call last :
File  C: Program Files VisualSVN Server Trac python lib site-packages trac-0.11-py2.5.egg trac web main.py , line 423, in _dispatch_request
dispatcher.dispatch req
File  C: Program Files VisualSVN Server Trac python lib site-packages trac-0.11-py2.5.egg trac web main.py , line 197, in dispatch
resp   chosen_handler.process_request req
File  C: Program Files VisualSVN Server Trac python lib site-packages trac-0.11-py2.5.egg trac wiki web_ui.py , line 114, in process_request
page   WikiPage self.env, pageNAME
File  C: Program Files VisualSVN Server Trac python lib site-packages trac-0.11-py2.5.egg trac wiki model.py , line 43, in __init__
self._fetch NAME, version, db
File  C: Program Files VisualSVN Server Trac python lib site-packages trac-0.11-py2.5.egg trac wiki model.py , line 70, in _fetch
self.time   datetime.fromtimestamp time, utc
ValueError: timestamp out of range for platform time_t

I've been running trac-0.11 on win32 fine. Upgraded to 0.12, worked ok. Trac-admin /path/to/repo wiki upgrade gave the following error: KeyError: 'trac
wiki
default-pages'

I couldn't find any reference. Now the timestamps are in the wrong (old) format. Can I fix them all manually, or is there a way to fix trac-admin wiki upgrade?

Here's some more info:

"select version, time from wiki where name='WikiStart' and version=select max(version) from wiki where name='WikiStart');" 18|1297861035000000

"select value from system where name='database_version';" 26

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 13 years ago

Description: modified (diff)
Resolution: cantfix
Status: newclosed
Trac 0.11

You are still running 0.11, but your timestamps are from 0.12. You should completely remove 0.11 from your system, as it seems to interfere.

This is an InstallationIssue.

comment:2 by anonymous, 13 years ago

That's just the wiki reporting it, isn't it? Which didn't upgrade yet. I removed the trac folder from site-packages before I installed trac-0.12, though.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.