EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #09882


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Bazaar: PlumX and Altmetrics Issue


Hi Revathi,

The Altmetric and PlumX plugins by default require one of three things to be true about the eprint record:

1. A bespoke doi field has been added to the eprint data object's fields and this has a value set.
2. The isbn field has a value set.
3. The id_number field has a value set and matches a very simple regular _expression_ intended to confirm this field stores a DOI (basically it must either start with or contain a "10.".  In the latter the "10." must be proceeded by a word-boundary character.  So it would match 10.1234/5678,  doi:10.1234/5678 and https://doi.org/10.1234/5678).

if one of the above is true, you should add least get an empty box displayed for Altmetric and PlumX.  This would be where a request has been sent to Altmetric and/or PlumX but it could not be understood, so nothing is returned.  If it understood but no data could be found about the DOI or ISBN, it should return some text to that affect, so the box would not be completely empty.  Hopefully, as your Dimensions plugin for your example eprint record is responding with some data, (even if reporting 0), then so should Altmetric and PlumX.

You said you "regenerated views".  Did you actually mean you "regenerated abstracts"?  If not, the one way to make sure that abstract pages are regenerated is to first make sure the latest repository configuration is loaded by reloading the webserver and then running epadmin refresh_abstracts:

apachectl graceful
<EPRINTS_PATH>/bin/epadmin refresh_abstracts <ARCHIVE_ID>


However, a better plan would be first to make sure you are happy with where these plugins' boxes are displaying on the abstract page of a typical eprint.  By running the generate_abstracts command for your example eprint record  (you don't need to reload the webserver each time as the generate_abstracts is running at the command line and not clearing a cache like refresh_abstracts, which means the latter ends up with the webserver generating a new abstract page cache on its next request).

<EPRINTS_PATH>/bin/generate_abstracts <ARCHIVE_ID> <EPRINT_ID>

If you still don't see the boxes for these plugins, then please could you confirm if you have changed any of the default configuration for these plugins.

On your other issue, the ORCID Support Bazaar plugin requires the Reports plugin to also be installed or you will get error messages like you have reported when running generate_views.

Regards

David Newman

On 24/11/2024 3:16 am, Techsupport Mosys wrote:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Dear Team,
We have installed the PlumX and Altmetrix through Bazaar and still its not reflecting in the summary page. We regenerated views using the portal as well as command mode. 

image.png
Also getting the below error while generating views.
Problem loading plugin EPrints::Plugin::Export::Report::CSV::CreatorsOrcid [/opt/eprints3/lib/plugins/EPrints/Plugin/Export/Report/CSV/CreatorsOrcid.pm]:
Can't locate EPrints/Plugin/Export/Report/CSV.pm in @INC (you may need to install the EPrints::Plugin::Export::Report::CSV module) (@INC entries checked: /opt/eprints3/perl_lib /opt/eprints3/ingredients/bazaar/plugins /opt/eprints3/flavours/pub_lib/plugins /opt/eprints3/site_lib/plugins /opt/eprints3/lib/plugins /opt/eprints3/bin/../perl_lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /opt/eprints3/lib/plugins/EPrints/Plugin/Export/Report/CSV/CreatorsOrcid.pm line 3.
BEGIN failed--compilation aborted at /opt/eprints3/lib/plugins/EPrints/Plugin/Export/Report/CSV/CreatorsOrcid.pm line 3.
Compilation failed in require at (eval 420) line 1.
BEGIN failed--compilation aborted at (eval 420) line 1.


But still both plugins are not working. Early response would be appreciated

thanks
Revathi

*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/