I'm having some troubles setting up the Mercurial plugin relating to
the
above error. I first got the error when I had just initialised the
environment, the plugin would refuse to read anything about the source
tree and changelog.
The backtrace pointed to versioncontrol/web_ui/browser.py lines 178-9.
Reasoning rashly that this was something to do with display sort order
(I don't know any Python, and am fairly new to trac) I thought it
might
go if I commented out this (presumed?) comparison of a unix time to a
native time object:
def insert(self, datetime):
self._total = None
#self.oldest = min(self.oldest, datetime)
#self.newest = max(self.newest, datetime)
and that worked, I was able to browse the source.
I got the same error just now trying to look at the timeline
Repository checkins event provider (ChangesetModule) failed:
TypeError: can't compare datetime.datetime to int
I'd rather stop bodging this and find out whether it's an obvious fix.
If it's not are there any more diagnostics I could provide? My
various
dependency versions:
trac (and mercurial plugin):
0.11dev-r6425
python:
Python 2.4.4 (#2, Apr 5 2007, 20:11:18)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Any tips would be appreciated.
-- Matthew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---