When I tried "force an update" on the
WebStatistics topic here's what I got:
TWiki: Create Usage Statistics
Do not interupt! ( Wait until page download has finished )
* Executed by a guest or a cron job scheduler
* Statistics for Jan 2001
*** Error: Log file /data/site/twiki/data/log200101.txt does not exist
Use of uninitialized value in concatenation (.) at wiki.pm line 549.
Use of uninitialized value in concatenation (.) at wiki.pm line 549.
* Go back to WebStatistics topic
End creating usage statistics
The bug happens in the time window AFTER the first of the month, BEFORE the first logged activity. I conclude that the statistics generator is assuming at least ONE thing has happened "this month" prior to its execution.
I reach the above conclusion after repeating the error condition, then editing a topic and saving, then forcing an update again. The update worked as soon as there was a data item for January, 2001.
--
PaulReiber (reported to
PeterThoeny)
This seems to be a bug that needs to be fixed. It happens at the beginning of a month when the log file does not exist yet, e.g. before any log as been written. The line number of the error seems to be in
sub getViewUrl :
return "$urlHost$scriptUrlPath/view$scriptSuffix/$web/$theTopic";
--
PeterThoeny - 04 Jan 2001
Fixed and in
TWikiAlphaRelease.
--
PeterThoeny - 11 Aug 2001