Item10683: SkillsPlugin not working

Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: SkillsPlugin
Reported By: LarsEik
Waiting For:
Last Change By: JacobEtches
I can't get this working, tried several installations, plain. Older version of the plugin works.

The SkillsAdminIntroduction topic says the plugin is not enabled but I think it's the %IF that's wrong.

I try to use SKILLSPLUGIN_SKILLSTOPIC and copy from the example but when I select Category a pop up shows saying "Internal server error".

The logs indicates it's a rest call. It complains about missing skills.txt in work_areas also. but creating it changes nothing. It doesn't create it when using newest version of the plugin.

When trying to do a rename from SkillsAdminIntroduction an oops page with error: 500 is shown.

-- LarsEik - 26 Apr 2011

I also have the incorrect "not enabled" message in 1.1.4. The apache error log is full of entries like:
[Thu Mar 29 10:08:23 2012] [error] [client my.ip] Cannot find SKILLSPLUGIN_SKILLSTOPIC [[Main.MyTopic]], referer:
Even though Main.MyTopic is correct, and the link works from SitePreferences where it is defined. The error seems to arise from this code:
# loads the categories and skills from the topic (or file)
93   sub _load {
94       my $self = shift;
96       return if $self->{nodes};
98       my $topic = Foswiki::Func::getPreferencesValue('SKILLSPLUGIN_SKILLSTOPIC');
100       if (!$topic) {
101           $self->_getSkillsFromWorking();
102       } else {
104           (my $web, $topic) = Foswiki::Func::normalizeWebTopicName(
105               undef, $topic);
107           if (!Foswiki::Func::topicExists($web, $topic)) {
108               print STDERR "Cannot find SKILLSPLUGIN_SKILLSTOPIC $web.$topic";
109               _getSkillsFromWorking();
110           }
Found here:

I'm not a developer, and can't guess why it's failing.

-- JacobEtches - 29 Mar 2012
Topic revision: r3 - 29 Mar 2012, JacobEtches - This page was cached on 05 Jun 2020 - 18:35.

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