[Moin-user] Re: migration error from 1.2.3 to 1.3.1
Zoom Quiet
zoom.quiet at gmail.com
Mon Jan 10 21:44:10 EST 2005
thanx for suggest
and in 12_to_13_mig6.py and 12_to_13_mig8.py
all some break for the event.log !!
so i empty it ,reMig from the point 12_to_13_mig5.py continue...
but!!
when succeed mig all page into 1.3.1 wiki,
the RecentChanges page report some entry info as:
""""
Test Center(2f)Server Testing -306945605994小时9分前 信息 [1-86] #01
missing edit-log entry for this revision
#02 missing edit-log entry for this revision
#03 missing edit-log entry for this revision
#04 missing edit-log entry for this revision
#05 missing edit-log entry for this revision
#06 missing edit-log entry for this revision
#07 missing edit-log entry for this revision
...
"""
so so can i fixed it???
On Mon, 10 Jan 2005 20:24:27 -0800, moin-user-request at lists.sourceforge.net
> Date: Mon, 10 Jan 2005 13:04:04 +0100
> From: Thomas Waldmann <tw-public at gmx.de>
> To: moin-user at lists.sourceforge.net
> Subject: Re: [Moin-user] migration error from 1.2.3 to 1.3.1
>
> > BUT when upgrade from 1.2.3 to 1.3.1
> > error in step 12_to_13_mig4.py
> > brok as:
> > """data.pre-mig4/event.log
> > Traceback (most recent call last):
> > File "12_to_13_mig4.py", line 149, in ?
> > convert_eventlog(opj(origdir, 'event.log'), opj('data', 'event-log'))
> > File "12_to_13_mig4.py", line 64, in convert_eventlog
> > data[0] = str(convert_ts(float(data[0]))) # we want usecs
> > ValueError: empty string for float()
> > """
> >
> > what happen? and waht can i do ???
>
> Looks like your event.log contains empty lines maybe (or a line with
> empty first field - in the first field, there should be a timestamp,
> followed by a tab as field separator).
>
> Maybe just use an editor (like vim) to correct that problem in the
> event.log.
>
> Alternatively, if you can live with incomplete page read stats, you
> could also simply skip converting event-log, it is only needed for
> stats. For doing that. modify the mig4 script (last few lines) to read
> like that:
>
> #convert_eventlog(opj(origdir, 'event.log'), opj('data', 'event-log'))
>
> After running mig4, create an empty event-log by:
>
> touch data/event-log
>
> Hope that helps.
>
> --__--__--
>
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>
> End of Moin-user Digest
>
--
[Time is unimportant, only life important!]
More information about the Moin-user
mailing list