This question about Using an extension: Task closed

Calc gives Insecure dependency error

If the SpreadSheetPlugin is enabled accessing a topic on my Wiki gives an :

"Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Insecure dependency in eval while running with -T switch"

The error log provides:

"| 2011-01-28T18:56:23Z warning | Insecure dependency in eval while running with -T switch at /cornerstone/www/Fos112/lib/Foswiki/Plugins/SpreadSheetPlugin/Calc.pm line 1249.
|"

Is this a bug or is it a setting that I have missed?

Thanks

Glenn


What is the CALC expression? Also: What version of perl are you running?

-- PaulHarvey - 29 Jan 2011


The Perl version is 5.8.5

The code in calc is the sub safeEvalPerl

The calc expression appears to be 0<1

2011-01-31T16:22:22Z warning Foswiki::Plugins::SpreadSheetPlugin::Calc The text from safeEvalPerl incoming = 0 < 1
2011-01-31T16:22:22Z warning Foswiki::Plugins::SpreadSheetPlugin::Calc The text from safeEvalPerl before eval = 0<1
| 2011-01-31T16:22:22Z warning | Insecure dependency in eval while running with -T switch at /cornerstone/www/Fos112/lib/Foswiki/Plugins/SpreadSheetPlugin/Calc.pm line 1250.

I am still trying to track down the calling routine. The login page works but initialization of WebHome fails. That said, if I time out my login the relogin fails with the following errors:

Insecure dependency in unlink while running with -T switch at /cornerstone/www/Fos112/lib/Foswiki/LoginManager.pm line 574. at /cornerstone/www/Fos112/lib/Foswiki/LoginManager.pm line 574 Foswiki::LoginManager::expireDeadSessions() called at /cornerstone/www/Fos112/lib/Foswiki/LoginManager.pm line 536 Foswiki::LoginManager::complete('Foswiki::LoginManager::TemplateLogin=HASH(0x950b054)') called at /cornerstone/www/Fos112/lib/Foswiki/LoginManager.pm line 180 Foswiki::LoginManager::finish('Foswiki::LoginManager::TemplateLogin=HASH(0x950b054)') called at /cornerstone/www/Fos112/lib/Foswiki/Users.pm line 171 Foswiki::Users::finish('Foswiki::Users=HASH(0x9401190)') called at /cornerstone/www/Fos112/lib/Foswiki.pm line 2054 Foswiki::finish('Foswiki=HASH(0x92b2f74)') called at /cornerstone/www/Fos112/lib/Foswiki/UI.pm line 436 Foswiki::UI::_execute('Foswiki::Request=HASH(0x8ce4e6c)', 'CODE(0x9296668)', 'view', 1) called at /cornerstone/www/Fos112/lib/Foswiki/UI.pm line 277 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x8ce4e6c)') called at /cornerstone/www/Fos112/lib/Foswiki/Engine/CGI.pm line 37 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x8ee85f0)') called at /cornerstone/www/Fos112/bin/view line 24

-- GlennKrahulic - 31 Jan 2011

My guess this is to do with the versions of perl modules on the server. But it's been a while, so closing for lack of updates.

-- CrawfordCurrie - 31 Aug 2013

QuestionForm edit

Subject Using an extension
Extension SpreadSheetPlugin
Version Foswiki 1.1.2
Status Task closed
Related Topics
Topic revision: r4 - 31 Aug 2013, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy