EPrints Technical Mailing List Archive

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

Message: #10196


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

Re: [EP-tech] Assistance Required: Error While Uploading Article via DOI


Hi Revathi,

Based on some detective work, it looks like you are running EPrints 3.4.3.  You may be able to fix this by editing flavours/pub_lib/plugins/EPrints/Plugin/Import/DOI.pm and setting $self->{ base_url } to https://doi.crossref.org/openurl rather than http://doi.crossref.org/openurl.  However, I don't think EPrints::XML::parse_url can parse HTTPS URLs in 3.4.3, so you may be better upgrading EPrints to at least 3.4.5 (probably better to go straight to 3.4.6), as that will allow HTTPS URLs to be parsed.  Otherwise, you will also need to apply this patch to perl_lib/EPrints/XML/LibXML.pm:

https://github.com/eprints/eprints3.4/commit/730d1c88c7ba63d93289ae1dcd934af3ca13a8f8

At this point, you are starting to create a Frankenstein version of EPrints that may have unexpected behaviour, so I would advise upgrading over applying an untested combination of patches.

Regards

David Newman

On 06/08/2025 06:34, 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,

I am encountering the following error while attempting to upload an article using the DOI. Kindly assist in resolving this issue.



image.png


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/