Item12710: Missing dependencies

pencil
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: SolrPlugin
Branches:
Reported By: LeilaPearson
Waiting For:
Last Change By: MichaelDaum
Just installed SolrPlugin. I ran into quite a few issues, which I'll raise at least one other bug for, but I thought I'd start with this one. I found that I had to install the following 2 dependencies to get the SolrSearch page to work. I tested this both with NatSkin and with PatternSkin

  • WebLinkPlugin
  • JQPrettyPhotoContrib

You can easily reproduce the issues by disabling these in configure.

Neither are listed as dependencies in the install script.

It took me quite some time to figure out the first issue. The page basically rendered with empty contents, and wouldn't even display the error associated with JQPrettyPhotoContrib being missing. The second one was easier because of the error message. These things are likely to trip up other users too. Not sure if "urgent" is the correct priority, but it sure made it harder to get the plugin working.

I guess these should either be added to the dependencies for the plugin (probably easiest) or the Plugin should be modified to work when they aren't installed or enabled.

-- LeilaPearson - 03 Jan 2014

I ran into the same problems, so +1 from me.

-- ClausBrod - 04 Jan 2014

While we're on the topic of dependencies, I also found a false "required" dependency. The plugin installer reported that Digest::SHA1 was required, but I couldn't find any use of this module anywhere in my foswiki installation - except it is mentioned in INSTALL.html and on the SystemRequirements page. It is also mentioned in tools/dependencies_installer.pl but just to show what Debian package it maps to. Digest::SHA is used in a few places though.

-- LeilaPearson - 05 Jan 2014

Digest::SHA is part of perl core since release perl-5.9.3. It includes all of the Digest::SHA1 algorithms. I believe that a dependency on Digest::SHA1 is an error.

I'll fix the SystemRequirements and INSTALL documents.

-- GeorgeClark - 05 Jan 2014

Thanks George. Much appreciated.

-- LeilaPearson - 08 Jan 2014

Fixed as part of SolrPlugin:6b6c315f1870

-- MichaelDaum - 11 Feb 2014
 

ItemTemplate edit

Summary Missing dependencies
ReportedBy LeilaPearson
Codebase 1.1.9
SVN Range
AppliesTo Extension
Component SolrPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r7 - 11 Feb 2014, MichaelDaum
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