jisc-services / eprints-plugin-PubRouter-RIOXXplus-Connector

Eprints plugin, enabling it to accept submissions from Jisc PubRouter via SWORD2 with an enhanced XML schema that enables RIOXX fields to be populated.
GNU Lesser General Public License v3.0
0 stars 3 forks source link

Is Locale::Language module needed? #1

Closed drn05r closed 6 years ago

drn05r commented 6 years ago

After installing this as a Bazaar package it causes EPrints to report an issue when running epadmin test:

Problem loading plugin EPrints::Plugin::Import::PubRouter [/opt/eprints3/lib/plugins/EPrints/Plugin/Import/PubRouter.pm]: Can't locate Locale/Language.pm in @INC (@INC contains: /opt/eprints3/archives/uclan/cfg/plugins /opt/eprints3/lib/plugins /opt/eprints3/site_lib/plugins /opt/eprints3/perl_lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/eprints3/lib/plugins/EPrints/Plugin/Import/PubRouter.pm line 26. BEGIN failed--compilation aborted at /opt/eprints3/lib/plugins/EPrints/Plugin/Import/PubRouter.pm line 26. Compilation failed in require at (eval 836) line 1. BEGIN failed--compilation aborted at (eval 836) line 1.

This is due to not having the Locale::Language Perl module installed. It is easy enough to install with cpan but as far as I can tell this Perl module is not required, so it would be better to just remove the "use Locale::Langauge;" line from lib/plugins/EPrints/Plugin/Import/PubRouter.pm