This question about Using an extension: Asked

Bad name after svg'

Hello, I have a 2.1.6 Foswiki installation and I'm since the beginning trying to get the ImagePlugin to work, without success.

Here's the error.log that I always get:


| 2018-09-10T16:47:32-03:00 warning | Foswiki::Plugins::ImagePlugin could not be loaded. Errors were:
Bad name after svg' at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 984.
at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 984.
require Foswiki/Plugins/ImagePlugin/Core.pm called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 32
Foswiki::Plugins::ImagePlugin::BEGIN() called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 984
eval {...} called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 984
require Foswiki/Plugins/ImagePlugin.pm called at (eval 119) line 2
Foswiki::Plugin::BEGIN() called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 984
eval {...} called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 984
eval 'use Foswiki::Plugins::ImagePlugin
;' called at /srv/www/wiki/lib//Foswiki/Plugin.pm line 107
Foswiki::Plugin::new("Foswiki::Plugin", Foswiki=HASH(0x1795fa0), "ImagePlugin") called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 191
Foswiki::Plugins::preload(Foswiki::Plugins=HASH(0x1796120)) called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 81
Foswiki::Plugins::new("Foswiki::Plugins", Foswiki=HASH(0x1795fa0)) called at /srv/www/wiki/lib//Foswiki.pm line 2120
Foswiki::new("Foswiki", undef, Foswiki::Request=HASH(0x17659c0), HASH(0x1725450)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 363
Foswiki::UI::__ANON__() called at /usr/local/share/perl/5.8.8/Error.pm line 421
eval {...} called at /usr/local/share/perl/5.8.8/Error.pm line 413
Error::subs::try(CODE(0x170e800), HASH(0x1795b30)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 500
Foswiki::UI::_execute(Foswiki::Request=HASH(0x17659c0), CODE(0x17657f0), "jsonrpc", 1) called at /srv/www/wiki/lib//Foswiki/UI.pm line 326
Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x17659c0)) called at /srv/www/wiki/lib//Foswiki/Engine/CGI.pm line 100
Foswiki::Engine::CGI::run(Foswiki::Engine::CGI=HASH(0x1060880)) called at /srv/www/wiki/bin/jsonrpc line 31
Compilation failed in require at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 32.
at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 32.
Foswiki::Plugins::ImagePlugin::BEGIN() called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 32
eval {...} called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 32
require Foswiki/Plugins/ImagePlugin.pm called at (eval 119) line 2
Foswiki::Plugin::BEGIN() called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 32
eval {...} called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin/Core.pm line 32
eval 'use Foswiki::Plugins::ImagePlugin
;' called at /srv/www/wiki/lib//Foswiki/Plugin.pm line 107
Foswiki::Plugin::new("Foswiki::Plugin", Foswiki=HASH(0x1795fa0), "ImagePlugin") called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 191
Foswiki::Plugins::preload(Foswiki::Plugins=HASH(0x1796120)) called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 81
Foswiki::Plugins::new("Foswiki::Plugins", Foswiki=HASH(0x1795fa0)) called at /srv/www/wiki/lib//Foswiki.pm line 2120
Foswiki::new("Foswiki", undef, Foswiki::Request=HASH(0x17659c0), HASH(0x1725450)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 363
Foswiki::UI::__ANON__() called at /usr/local/share/perl/5.8.8/Error.pm line 421
eval {...} called at /usr/local/share/perl/5.8.8/Error.pm line 413
Error::subs::try(CODE(0x170e800), HASH(0x1795b30)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 500
Foswiki::UI::_execute(Foswiki::Request=HASH(0x17659c0), CODE(0x17657f0), "jsonrpc", 1) called at /srv/www/wiki/lib//Foswiki/UI.pm line 326
Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x17659c0)) called at /srv/www/wiki/lib//Foswiki/Engine/CGI.pm line 100
Foswiki::Engine::CGI::run(Foswiki::Engine::CGI=HASH(0x1060880)) called at /srv/www/wiki/bin/jsonrpc line 31
BEGIN failed--compilation aborted at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 32.
at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 32.
require Foswiki/Plugins/ImagePlugin.pm called at (eval 119) line 2
Foswiki::Plugin::BEGIN() called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 32
eval {...} called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 32
eval 'use Foswiki::Plugins::ImagePlugin
;' called at /srv/www/wiki/lib//Foswiki/Plugin.pm line 107
Foswiki::Plugin::new("Foswiki::Plugin", Foswiki=HASH(0x1795fa0), "ImagePlugin") called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 191
Foswiki::Plugins::preload(Foswiki::Plugins=HASH(0x1796120)) called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 81
Foswiki::Plugins::new("Foswiki::Plugins", Foswiki=HASH(0x1795fa0)) called at /srv/www/wiki/lib//Foswiki.pm line 2120
Foswiki::new("Foswiki", undef, Foswiki::Request=HASH(0x17659c0), HASH(0x1725450)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 363
Foswiki::UI::__ANON__() called at /usr/local/share/perl/5.8.8/Error.pm line 421
eval {...} called at /usr/local/share/perl/5.8.8/Error.pm line 413
Error::subs::try(CODE(0x170e800), HASH(0x1795b30)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 500
Foswiki::UI::_execute(Foswiki::Request=HASH(0x17659c0), CODE(0x17657f0), "jsonrpc", 1) called at /srv/www/wiki/lib//Foswiki/UI.pm line 326
Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x17659c0)) called at /srv/www/wiki/lib//Foswiki/Engine/CGI.pm line 100
Foswiki::Engine::CGI::run(Foswiki::Engine::CGI=HASH(0x1060880)) called at /srv/www/wiki/bin/jsonrpc line 31
Compilation failed in require at (eval 119) line 2.
at (eval 119) line 2.
Foswiki::Plugin::BEGIN() called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 2
eval {...} called at /srv/www/wiki/lib//Foswiki/Plugins/ImagePlugin.pm line 2
eval 'use Foswiki::Plugins::ImagePlugin
;' called at /srv/www/wiki/lib//Foswiki/Plugin.pm line 107
Foswiki::Plugin::new("Foswiki::Plugin", Foswiki=HASH(0x1795fa0), "ImagePlugin") called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 191
Foswiki::Plugins::preload(Foswiki::Plugins=HASH(0x1796120)) called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 81
Foswiki::Plugins::new("Foswiki::Plugins", Foswiki=HASH(0x1795fa0)) called at /srv/www/wiki/lib//Foswiki.pm line 2120
Foswiki::new("Foswiki", undef, Foswiki::Request=HASH(0x17659c0), HASH(0x1725450)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 363
Foswiki::UI::__ANON__() called at /usr/local/share/perl/5.8.8/Error.pm line 421
eval {...} called at /usr/local/share/perl/5.8.8/Error.pm line 413
Error::subs::try(CODE(0x170e800), HASH(0x1795b30)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 500
Foswiki::UI::_execute(Foswiki::Request=HASH(0x17659c0), CODE(0x17657f0), "jsonrpc", 1) called at /srv/www/wiki/lib//Foswiki/UI.pm line 326
Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x17659c0)) called at /srv/www/wiki/lib//Foswiki/Engine/CGI.pm line 100
Foswiki::Engine::CGI::run(Foswiki::Engine::CGI=HASH(0x1060880)) called at /srv/www/wiki/bin/jsonrpc line 31
BEGIN failed--compilation aborted at (eval 119) line 2.
at (eval 119) line 2.
eval 'use Foswiki::Plugins::ImagePlugin
;' called at /srv/www/wiki/lib//Foswiki/Plugin.pm line 107
Foswiki::Plugin::new("Foswiki::Plugin", Foswiki=HASH(0x1795fa0), "ImagePlugin") called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 191
Foswiki::Plugins::preload(Foswiki::Plugins=HASH(0x1796120)) called at /srv/www/wiki/lib//Foswiki/Plugins.pm line 81
Foswiki::Plugins::new("Foswiki::Plugins", Foswiki=HASH(0x1795fa0)) called at /srv/www/wiki/lib//Foswiki.pm line 2120
Foswiki::new("Foswiki", undef, Foswiki::Request=HASH(0x17659c0), HASH(0x1725450)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 363
Foswiki::UI::__ANON__() called at /usr/local/share/perl/5.8.8/Error.pm line 421
eval {...} called at /usr/local/share/perl/5.8.8/Error.pm line 413
Error::subs::try(CODE(0x170e800), HASH(0x1795b30)) called at /srv/www/wiki/lib//Foswiki/UI.pm line 500
Foswiki::UI::_execute(Foswiki::Request=HASH(0x17659c0), CODE(0x17657f0), "jsonrpc", 1) called at /srv/www/wiki/lib//Foswiki/UI.pm line 326
Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x17659c0)) called at /srv/www/wiki/lib//Foswiki/Engine/CGI.pm line 100
Foswiki::Engine::CGI::run(Foswiki::Engine::CGI=HASH(0x1060880)) called at /srv/www/wiki/bin/jsonrpc line 31

---- |

I would definitely appreciate some help! Thanks.

-- TiagoMagnus - 10 Sep 2018

Any info on your server platform and the actual %IMAGE that you wanted to process? Or is it just crashing right away? Any other plugin installed? Which version of ImagePlugin are you using? Try to update it to the latest version.

-- MichaelDaum - 11 Sep 2018

Hi Michael! Thanks for the quick answer.

The wiki is on an Apache2 server, no %IMAGE is processed at all, it just crashes everytime a page is loaded (I believe). I've tried reinstalling a few times. My idea is to use it with the MetaCommentPlugin.

These are the plugins currenctly enabled on my Wiki: AutoViewTemplatePlugin, CommentPlugin, CompareRevisionsAddonPlugin, ConfigurePlugin, EditRowPlugin, HistoryPlugin, HomePagePlugin, ImagePlugin, InterwikiPlugin, JQueryPlugin, MailerContribPlugin, MetaCommentPlugin, NatEditPlugin, PreferencesPlugin, PubLinkFixupPlugin, RenderListPlugin, RenderPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, SubscribePlugin, TablePlugin, TimeCalcPlugin, TinyMCEPlugin, TWikiCompatibilityPlugin, TwistyPlugin, UpdatesPlugin, WysiwygPlugin.

-- TiagoMagnus - 11 Sep 2018

Which perl version are you using? What's the server OS?

-- MichaelDaum - 11 Sep 2018

Perl version is 5.8.8 on a Ubuntu 8.0.4.

-- TiagoMagnus - 13 Sep 2018

That might be the problem: you definitely need to update your platform.

-- MichaelDaum - 13 Sep 2018
 

QuestionForm edit

Subject Using an extension
Extension ImagePlugin
Version Foswiki 2.1.6
Status Asked
Related Topics
Topic revision: r6 - 13 Sep 2018, MichaelDaum - This page was cached on 16 Jan 2020 - 15:31.

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