SID-01363: Statistics calculation, error: Compilation failed in require at (eval 10) line 2
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
|
| Category: |
CategoryStatistics |
Server OS: |
RedHAt 4.1.2-51 |
Last update: |
13 years ago |
When I access "http://wiki.prosyst.com.br/do/statistics" to force the statistics calculation, I get the messages below:
Software error:
Can't continue after import errors at /var/www/twiki/lib/TWiki/UI/Statistics.pm line 36
BEGIN failed--compilation aborted at /var/www/twiki/lib/TWiki/UI/Statistics.pm line 36.
Compilation failed in require at (eval 10) line 2.
BEGIN failed--compilation aborted at (eval 10) line 2.
For help, please send mail to the webmaster (
root@localhost), giving this error message and the time and date of the error.
--
RolandStepic - 2011-12-29
Discussion and Answer
That line in TWiki::UI::Statistics is
use File::Temp qw/ :seekable /;
Upgrade File::Temp and you should be OK.
--
PeterThoeny - 2011-12-29
how to "Upgrade File::Temp" ?
--
ThomasTse - 2012-02-01
See
HowToInstallCpanModules.
--
PeterThoeny - 2012-02-01
What version should File::Temp be? I have version 0.16 and am getting the following error.
- RedHat 5 update 8 - 32 bit
- TWiki 5.1.1
- Perl 5.8.8
--
CarlEastman - 2012-04-12
RedHat 5 and CentOS 5 ship with an older version of File::Temp. It needs to be
File::Temp >=0.18, see
TWikiSystemRequirements.
--
PeterThoeny - 2012-04-12
I upgraded to the latest File::Temp version 0.22 and now I can generate stasticts. Thank you for the prompt response.
--
CarlEastman - 2012-04-13
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.