Tags:
create new tag
view all tags

SID-01363: Statistics calculation, error: Compilation failed in require at (eval 10) line 2

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Statistics calculation, error: Compilation failed in require at (eval 10) line 2
SupportCategory CategoryStatistics
TWiki version 5.1.0
Server OS RedHAt 4.1.2-51
Web server apache
Perl version

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2012-04-13 - CarlEastman
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.