Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10256 closed defect (worksforme)

OverflowError: date value out of range

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

Description

How to Reproduce

While doing a GET operation on /wiki/TracGuide, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'page': u'TracGuide'}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30

System Information

Trac 0.12.2
Babel 0.9.6
Genshi 0.6
mod_python 3.3.1
pysqlite 2.3.3
Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)]
pytz 2011h
setuptools 0.6c6
SQLite 3.3.10
Subversion 1.4.3 (r23084)
jQuery 1.4.2

Enabled Plugins

createproj 0.1
iniadmin 0.1
tracaccountmanager 0.1.3dev-r2171
tracrestrictedarea 1.0.0
tracticketdelete 1.1.4
tracwikigoodies 0.3

Python Traceback

Traceback (most recent call last):
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-qebwuc\Trac-0.12.2-py2.4-win32.egg.tmp\trac\web\main.py", line 511, in _dispatch_request
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-qebwuc\Trac-0.12.2-py2.4-win32.egg.tmp\trac\web\main.py", line 237, in dispatch
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-qebwuc\Trac-0.12.2-py2.4-win32.egg.tmp\trac\wiki\web_ui.py", line 117, in process_request
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-qebwuc\Trac-0.12.2-py2.4-win32.egg.tmp\trac\wiki\model.py", line 44, in __init__
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-qebwuc\Trac-0.12.2-py2.4-win32.egg.tmp\trac\wiki\model.py", line 72, in _fetch
  File "c:\docume~1\admini~1\locals~1\temp\easy_install-qebwuc\Trac-0.12.2-py2.4-win32.egg.tmp\trac\util\datefmt.py", line 84, in from_utimestamp
OverflowError: date value out of range

Attachments (0)

Change History (3)

comment:1 by Remy Blank, 13 years ago

There seems to be a bad timestamp in your wiki table, probably for the TracGuide page. Can you please try the following:

SELECT version, time FROM wiki WHERE name = 'TracGuide';

comment:2 by anonymous, 13 years ago

Thanks for your comment. I fixed it.

I stopped the apache server and copied back up DB into trac DB. Retry to "trac-admin /trac upgrade".

comment:3 by Remy Blank, 13 years ago

Resolution: worksforme
Status: newclosed

Oh, so it was an update failure. Thanks for the feedback.

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.