[Moin-user] Abend From RecentChanges page

Innes Fisher innes at oldfield.co.nz
Tue Jan 18 19:21:19 EST 2005


Hi Folks,

I've recently migrated an existing wiki off an old RH7.3 environment on
to RHEL3. Everything seemed to be working fine until I tried to access
RecentChanges. I've attached part of the returned python error. Can
anyoone suggest a fix.

We're running Moin 1.3.1.

Many thanks,
Innes (NZ)

/usr/lib/python2.2/site-packages/MoinMoin/macro/RecentChanges.py in
format_page_edits(macro=<MoinMoin.wikimacro.Macro instance>,
lines=[<MoinMoin.logfile.editlog.EditLogLine instance>],
bookmark_usecs=0) 
   84     d['time_html'] = None
 
   85     if request.cfg.changed_time_fmt:
 
   86         tdiff = long(tnow -
wikiutil.version2timestamp(int(line.ed_time_usecs))) / 60 # has to be
long for py 2.2.x
 
   87         if tdiff < 1440:
 
   88             d['time_html'] = _("%(hours)dh %(mins)dm ago") % {
 
tdiff undefined, long undefined, tnow = 1106104407.224772, global
wikiutil = <module 'MoinMoin.wikiutil' from
'/usr/lib/python2.2/site-packages/MoinMoin/wikiutil.pyc'>,
wikiutil.version2timestamp = <function version2timestamp>, int
undefined, line = <MoinMoin.logfile.editlog.EditLogLine instance>,
line.ed_time_usecs = 1106101350000000L 


OverflowError: long int too large to convert to int 
      __doc__ = 'Result too large to be represented.' 
      __getitem__ = <bound method OverflowError.__getitem__ of
<exceptions.OverflowError instance>> 
      __init__ = <bound method OverflowError.__init__ of
<exceptions.OverflowError instance>> 
      __module__ = 'exceptions' 
      __str__ = <bound method OverflowError.__str__ of
<exceptions.OverflowError instance>> 
      args = ('long int too large to convert to int',) 




More information about the Moin-user mailing list