This question about Using an extension: Answered

DirectedGraphWebMapPlugin causing perl errors on topic save or other actions

Hi, I have newly setup foswiki on Windows7 and been playing with it for a couple of weeks. I am using the rcs perl plugin at the backend Today, I started getting an error while trying to save an edit of any topic, or any action like rename etc Topic edit gets saved even though the error message comes, but actions like rename or change parent fail!

Here is the error :
  Attention  Error
  
  saving topic During save of Wiki.TechnicalWiki an error was found by the version control system. Please notify your wiki administrator.

insecure cwd in find(depth) at C:/strawberry/perl/lib/File/Find.pm line 769.
 at C:/strawberry/perl/lib/CGI/Carp.pm line 379

	CGI::Carp::realdie('insecure cwd in find(depth) at C:/strawberry/perl/lib/File/Fi...') called at C:/strawberry/perl/lib/CGI/Carp.pm line 468
	CGI::Carp::die('insecure cwd in find(depth)') called at C:/strawberry/perl/lib/File/Find.pm line 769
	File::Find::_find_opt('HASH(0x1a750fc)', 'c:/tools/foswiki/Foswiki/working/work_areas/DirectedGraphWebM...') called at C:/strawberry/perl/lib/File/Find.pm line 1297
	File::Find::find('HASH(0x1a750fc)', 'c:/tools/foswiki/Foswiki/working/work_areas/DirectedGraphWebM...') called at C:/tools/foswiki/Foswiki/lib/Foswiki/Plugins/DirectedGraphWebMapPlugin.pm line 723
	Foswiki::Plugins::DirectedGraphWebMapPlugin::_cleanCache('RitWiki') called at C:/tools/foswiki/Foswiki/lib/Foswiki/Plugins/DirectedGraphWebMapPlugin.pm line 168
	Foswiki::Plugins::DirectedGraphWebMapPlugin::afterSaveHandler('%META:TOPICINFO{author="RiteshBanerjee" comment="reprev" date...', 'PersonalWiki', 'RitWiki', undef, 'Foswiki::Meta=HASH(0x1237094)') called at C:/tools/foswiki/Foswiki/lib/Foswiki/Plugin.pm line 285
	Foswiki::Plugin::invoke('Foswiki::Plugin=HASH(0x170c9fc)', 'afterSaveHandler', '%META:TOPICINFO{author="RiteshBanerjee" comment="reprev" date...', 'PersonalWiki', 'RitWiki', undef, 'Foswiki::Meta=HASH(0x1237094)') called at C:/tools/foswiki/Foswiki/lib/Foswiki/Plugins.pm line 331
	Foswiki::Plugins::dispatch('Foswiki::Plugins=HASH(0x1237eb4)', 'afterSaveHandler', '%META:TOPICINFO{author="RiteshBanerjee" comment="reprev" date...', 'PersonalWiki', 'RitWiki', undef, 'Foswiki::Meta=HASH(0x1237094)') called at C:/tools/foswiki/Foswiki/lib/Foswiki/Meta.pm line 1830
	Foswiki::Meta::save('Foswiki::Meta=HASH(0x1237094)') called at C:/tools/foswiki/Foswiki/lib/Foswiki/UI/Save.pm line 624
	Foswiki::UI::Save::__ANON__() called at C:/tools/foswiki/Foswiki/lib/CPAN/lib/Error.pm line 379
	eval {...} called at C:/tools/foswiki/Foswiki/lib/CPAN/lib/Error.pm line 371
	Error::subs::try('CODE(0x123478c)', 'HASH(0x1af6cbc)') called at C:/tools/foswiki/Foswiki/lib/Foswiki/UI/Save.pm line 634
	Foswiki::UI::Save::save('Foswiki=HASH(0x12370c4)') called at C:/tools/foswiki/Foswiki/lib/Foswiki/UI.pm line 316
	Foswiki::UI::__ANON__() called at C:/tools/foswiki/Foswiki/lib/CPAN/lib/Error.pm line 379
	eval {...} called at C:/tools/foswiki/Foswiki/lib/CPAN/lib/Error.pm line 371
	Error::subs::try('CODE(0x1233274)', 'HASH(0x1234dbc)') called at C:/tools/foswiki/Foswiki/lib/Foswiki/UI.pm line 435
	Foswiki::UI::_execute('Foswiki::Request=HASH(0x11297a4)', 'CODE(0x1225084)', 'save', 1) called at C:/tools/foswiki/Foswiki/lib/Foswiki/UI.pm line 277
	Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x11297a4)') called at C:/tools/foswiki/Foswiki/lib/Foswiki/Engine/CGI.pm line 37
	Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0xcc7b4c)') called

This happened after I had installed a few extensions today to my wiki site. Using hit and trial for elimination, I found that DirectedGraphWebMapPlugin is causing the problem!

Funny thing is that the plugin is working in terms of showing a graph of the web, but any submit actions (save, other actions) throw up the error message! As I said, save of topic still succeeds, but, actions other than save fail - for eg. I can't rename a topic or change its parent!

Hope the above helps for a speedy solution!


Apache Logs as requested

error.log
[Sun Feb 06 21:26:28 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 21:26:28 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 21:34:15 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions
[Sun Feb 06 21:48:13 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 21:48:13 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:07:39 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions
[Sun Feb 06 22:26:44 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:26:44 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:27:07 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions
[Sun Feb 06 22:27:58 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:27:58 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:28:17 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions
[Sun Feb 06 22:30:13 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:30:13 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:30:28 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions
[Sun Feb 06 22:31:52 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:31:52 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:32:11 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions
[Sun Feb 06 22:32:28 2011] [error] [client 192.168.137.1] Warning: JSCalendarContrib has badly formatted date in DEPENDENCIES: 0.961, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:32:28 2011] [error] [client 192.168.137.1] Warning: JSCalendarContrib has badly formatted date in DEPENDENCIES: 0.961, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:34:00 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:34:00 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:34:24 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions
[Sun Feb 06 22:36:08 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:36:08 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:36:21 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions
[Sun Feb 06 22:38:15 2011] [error] [client 192.168.137.1] Warning: DirectedGraphWebMapPlugin has badly formatted RELEASE: $Date: 2011/02/10 20:31:16 $, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:38:15 2011] [error] [client 192.168.137.1] Warning: DirectedGraphWebMapPlugin has badly formatted svn id in DEPENDENCIES: 2010-10-31, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:38:15 2011] [error] [client 192.168.137.1] Warning: TinyMCEPlugin has badly formatted date in DEPENDENCIES: 1.1.7, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:38:15 2011] [error] [client 192.168.137.1] Warning: WysiwygPlugin has badly formatted date in DEPENDENCIES: 1.1.1, referer: http://blrnr87rred/foswiki/bin/configure
[Sun Feb 06 22:38:45 2011] [error] [client 192.168.137.1] script not found or unable to stat: C:/tools/foswiki/Foswiki/bin/%PUBURL%, referer: http://blrnr87rred/foswiki/bin/configure?action=FindMoreExtensions

Access Log
192.168.137.1 - - [07/Feb/2011:02:06:11 +0530] "POST /foswiki/bin/save/NwSE/IPv6?action_save=1 HTTP/1.1" 302 -
192.168.137.1 - - [07/Feb/2011:02:06:13 +0530] "GET /foswiki/bin/login/NwSE/IPv6?foswikiloginaction=validate;foswikioriginalquery=8e16301431ecdf86e429ac33ea2ec78a HTTP/1.1" 419 10256
192.168.137.1 - - [07/Feb/2011:02:06:14 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/popupwindow/jquery.popupwindow.js?version=1.0.1 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:14 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/chili/jquery.chili.init.js?version=2.2 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:14 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/livequery/jquery.livequery.js?version=1.1.1 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:14 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/popupwindow/jquery.popupwindow.init.js?version=1.0.1 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:14 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/metadata/jquery.metadata.js?version=3630 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:14 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/foswiki/jquery.foswiki.js?version=2.01 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:14 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/chili/jquery.chili.js?version=2.2 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:16 +0530] "POST /foswiki/bin/login/NwSE/IPv6 HTTP/1.1" 302 -
192.168.137.1 - - [07/Feb/2011:02:06:17 +0530] "GET /foswiki/bin/save?foswiki_redirect_cache=7f6640f11ff456408bb95fd2e5514d14 HTTP/1.1" 500 12154
192.168.137.1 - - [07/Feb/2011:02:06:18 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/metadata/jquery.metadata.js?version=3630 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:18 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/chili/jquery.chili.init.js?version=2.2 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:18 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/livequery/jquery.livequery.js?version=1.1.1 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:18 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/chili/jquery.chili.js?version=2.2 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:06:18 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/foswiki/jquery.foswiki.js?version=2.01 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:14:09 +0530] "GET /foswiki/bin/view/RitWiki/WebHome HTTP/1.1" 200 22708
192.168.137.1 - - [07/Feb/2011:02:14:15 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/livequery/jquery.livequery.js?version=1.1.1 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:14:15 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/chili/jquery.chili.init.js?version=2.2 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:14:15 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/chili/jquery.chili.js?version=2.2 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:14:15 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/metadata/jquery.metadata.js?version=3630 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:14:15 +0530] "GET /foswiki/pub/System/JQueryPlugin/plugins/foswiki/jquery.foswiki.js?version=2.01 HTTP/1.1" 304 -
192.168.137.1 - - [07/Feb/2011:02:14:15 +0530] "GET /foswiki/pub/RitWiki/WebHome/DirectedGraphPlugin_1.png HTTP/1.1" 304 -

Regards,

Ritesh


You put that in 'Task filed' but you didn't fill a task smile Anyway, I've filled Item10337 for you, and I've fixed the code. Now all we have to do is wait for MichaelTempest to release this extension (I don't use Subversion anymore, and it contains $Rev$ and $Date: 2011/02/10 20:31:16 $ for version history...)

-- OlivierRaginel - 10 Feb 2011

I have tried out the patch from Olivier in the Tasks.Item10337 and the fix seems to work for me fine !

-- RitBan

QuestionForm edit

Subject Using an extension
Extension DirectedGraphWebMapPlugin
Version Foswiki 1.1.2
Status Answered
Topic revision: r5 - 10 Feb 2011, RitBan
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