Tags:
create new tag
view all tags

Question

I installed YetAnotherXpTrackerPlugin and all necessary plugins and perl modules. If I want to create a team, the following error appears:

Browser message

TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Can't locate object method "invalidate" via package "TWiki::Plugins::XpTrackerPlugin::WebDB"

Apache log

[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] Can't locate object method "invalidate" via package "TWiki::Plugins::XpTrackerPlugin::WebDB" at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm line 1698., referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1]  at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm line 1698, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::XpTrackerPlugin::Functions::xpCacheInvalidate('TestWeb', 'HochschuleDerMedien') called at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm line 232, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::XpTrackerPlugin::Functions::xpSavePage('TestWeb') called at /home/httpd/twiki/lib/TWiki/Plugins/XpTrackerPlugin.pm line 172, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::XpTrackerPlugin::commonTagsHandler('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'HochschuleDerMedien', 'TestWeb', 0) called at /home/httpd/twiki/lib/TWiki/Plugin.pm line 245, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugin::invoke('TWiki::Plugin=HASH(0x8b4438c)', 'commonTagsHandler', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'HochschuleDerMedien', 'TestWeb', 0) called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 333, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x88b36bc)', 'commonTagsHandler', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'HochschuleDerMedien', 'TestWeb', 0) called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 470, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::Plugins::commonTagsHandler('TWiki::Plugins=HASH(0x88b36bc)', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'HochschuleDerMedien', 'TestWeb', 0) called at /home/httpd/twiki/lib/TWiki.pm line 2605, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::handleCommonTags('TWiki=HASH(0x81503a0)', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'TestWeb', 'HochschuleDerMedien') called at /home/httpd/twiki/lib/TWiki/UI/View.pm line 375, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::UI::View::_prepare('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...', 'TWiki=HASH(0x81503a0)', 'TestWeb', 'HochschuleDerMedien', 'TWiki::Meta=HASH(0x8bf3028)', 0) called at /home/httpd/twiki/lib/TWiki/UI/View.pm line 343, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::UI::View::view('TWiki=HASH(0x81503a0)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 159, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::UI::__ANON__() called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 379, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \teval {...} called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 371, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tError::subs::try('CODE(0x815034c)', 'HASH(0x8c1674c)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 199, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted
[Wed Sep 19 13:59:04 2007] [error] [client 192.168.0.1] \tTWiki::UI::run('CODE(0x819da6c)', 'view', 1) called, referer: http://twiki-vm/twiki/bin/view/TestWeb/GettingStarted

I guess the following lines in /lib/TWiki/Plugins/XpTrackerPlugin/Functions.pm are producing the error:

sub xpCacheInvalidate {
    # Force reconstruction of cache

    my ($web, $topic) = @_;

    # Invalidate the cache
    use TWiki::Plugins::XpTrackerPlugin::WebDB;
invalidate TWiki::Plugins::XpTrackerPlugin::WebDB($web, $topic);

    $cacheInitialized = 0;
}

The plugin YetAnotherDBCacheContrib has a method called invalidate($web, $topic), but I haven't found the definition in one of the provided files.

So who can help me to fix this? smile

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: SpreadSheetPlugin, CommentPlugin, ControlsPlugin, EasyTimelinePlugin, EditHiddenTablePlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, SvgPlugin, TWikiUmlPlugin, TablePlugin, TimelinePlugin, TwistyPlugin, WysiwygPlugin, XpTrackerPlugin
Server OS: Debian 4.0 (VMware)
Web server: Apache/2.2.3
Perl version: Perl/v5.8.8
Client OS: Windows 2000 SP4
Web Browser: Firefox 2.0.0.6
Categories: Plugins

-- FrankSpangenberg - 19 Sep 2007

Answer

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.

After some reinstalls, especially of YetAnotherDBCacheContrib the problem is gone...

-- FrankSpangenberg - 26 Sep 2007

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2007-09-26 - FrankSpangenberg
 
  • 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.