Question
Hi all,
I'm trying to make the
SoapClientPlugin Extension run. I have installed the SOAP::Lite Perl Module and its dependencies. Also under "Plugin Diagnostics" in my Twiki Web the
SoapClientPlugin is listed with "none" errors.
But when I try to make a SOAP call only this message appears:
"TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Insecure dependency in eval while running with -T switch"
In the logfiles of TWiki there si some more information:
27 May 2008 - 17:02 | Insecure dependency in eval while running with -T switch at /Library/Perl/5.8.6/SOAP/Lite.pm line 3166.
at /Library/Perl/5.8.6/SOAP/Lite.pm line 3166
SOAP::Schema::load('SOAP::Schema=HASH(0x1b4f6f0)') called at /Library/Perl/5.8.6/SOAP/Lite.pm line 3608
SOAP::Lite::service('SOAP::Lite', 'http://localhost:8080/CumulusWS/services/Cumulus?wsdl') called at /Library/WebServer/twiki/lib/TWiki/Plugins/SoapClientPlugin.pm line 123
TWiki::Plugins::SoapClientPlugin::doSoapRequest('getAssetActionNames') called at /Library/WebServer/twiki/lib/TWiki/Plugins/SoapClientPlugin.pm line 181
TWiki::Plugins::SoapClientPlugin::startRenderingHandler('---+ SoapClientPlugin\x{a}\x{a}This plugin will provide a TWiki ...', 'TWiki', 'SoapClientPlugin') called at /Library/WebServer/twiki/lib/TWiki/Plugin.pm line 266
TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x198a224)', 'startRenderingHandler', '---+ SoapClientPlugin\x{a}\x{a}This plugin will provide a TWiki ...', 'TWiki', 'SoapClientPlugin') called at /Library/WebServer/twiki/lib/TWiki/Plugins.pm line 344
TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x18bfb30)', 'startRenderingHandler', '---+ SoapClientPlugin\x{a}\x{a}This plugin will provide a TWiki ...', 'TWiki', 'SoapClientPlugin') called at /Library/WebServer/twiki/lib/TWiki/Plugins.pm line 565
TWiki::Plugins::startRenderingHandler('TWiki::Plugins=HASH(0x18bfb30)', '---+ SoapClientPlugin\x{a}\x{a}This plugin will provide a TWiki ...', 'TWiki', 'SoapClientPlugin') called at /Library/WebServer/twiki/lib/TWiki/Render.pm line 914
TWiki::Render::getRenderedVersion('TWiki::Render=HASH(0x1abaa84)', '---+ SoapClientPlugin\x{a}\x{a}This plugin will provide a TWiki ...', 'TWiki', 'SoapClientPlugin') called at /Library/WebServer/twiki/lib/TWiki/UI/View.pm line 397
TWiki::UI::View::_prepare('---+ SoapClientPluginInsecureDependency\x{a}\x{a}This plugin will provide a TWiki Topic int...', 'TWiki=HASH(0x18012b8)', 'TWiki', 'SoapClientPlugin', 'TWiki::Meta=HASH(0x1a6ec30)', 0) called at /Library/WebServer/twiki/lib/TWiki/UI/View.pm line 377
TWiki::UI::View::view('TWiki=HASH(0x18012b8)') called at /Library/WebServer/twiki/lib/TWiki/UI.pm line 159
TWiki::UI::__ANON__() called at /Library/WebServer/twiki/lib/CPAN/lib//Error.pm line 379
eval {...} called at /Library/WebServer/twiki/lib/CPAN/lib//Error.pm line 371
Error::subs::try('CODE(0x1801270)', 'HASH(0x1aa3f74)') called at /Library/WebServer/twiki/lib/TWiki/UI.pm line 197
TWiki::UI::run('CODE(0x1868a64)', 'view', 1) called
I have googled very much regarding Perl Taints, -T options and so on. But none of the suggested solutions helped me to solve my problem.
I'm a novice in regards of Perl and this sophisticated server stuff.
So maybe there is someone who can point me to the right direction to fix this issue?
That would be very helpful.
Thanks!
Georg
Environment
--
GeorgObermayr - 27 May 2008
Answer
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.
I am getting precisely this problem- and also have no idea what to do about it. It would seem that SOAP::Lite is not taint-safe, but I am loath to turn of taint checking. Do none of the gurus have a brainwave about this?
--
JonathanManning - 10 Jul 2008
(Actually not precisely- I'm trying to make some direct calls to SOAP::Lite...)
--
JonathanManning - 10 Jul 2008
Okay, I HAVE found a solution to this, but only because the problem seems to be specific to the more recent versions of SOAP::Lite. It went away when I downgraded SOAP::Lite by use of CPAN and the following:
>
install B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz
--
JonathanManning - 11 Jul 2008
Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.
--
PeterThoeny - 02 Sep 2008