EPrints Technical Mailing List Archive

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

Message: #10291


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

Re: [EP-tech] DOI import fails


Hi Thomas,

I believe I have fix this but I really wished I had not looked at this last thing on a Friday afternoon.  I don't normally maintain tryme.demo.eprints-hosting.org and now I have looked at it, I am glad I don't.

I think the issue was a half backported fix so that EPrints could connect to doi.org over HTTPS rather than HTTP.  I have hacked in the other half of the fix and that seems to have done the trick.

Regards

David Newman


On 28/11/2025 16:17, th.lauke@arcor.de wrote:
CAUTION: This e-mail originated outside the University of Southampton.

CAUTION: This e-mail originated outside the University of Southampton.

Hi folks,

even on https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftryme.demo.eprints-hosting.org%2Fcgi%2Fusers%2Fhome%23t&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Ca94713a023e442c5951908de2eaa5cc3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638999506420140835%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=AyCDYy8cLhQ4eVBPwvbxOj3HJplhZmdBPdWFCizlqiY%3D&reserved=0 the still valid doi:10.1006/jmbi.1998.2354 fails :(
Unrecognised or invalid doi: 10.1006/jmbi.1998.2354.
Remote service status: No or unrecognised response

Running on our system I could backtrace the following:
Unhandled warning in Import::DOI: http error : Unknown IO error result: Could↲
  not create file parser context for file "https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdoi.crossref.org%2Fopenurl%3Fid%3D10%25E2%2586%25B2&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Ca94713a023e442c5951908de2eaa5cc3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638999506420192645%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=qytn20nvcguuJ20cZKupDUtLFQ5%2BFFbQKRcVQVD%2BmVM%3D&reserved=0
.1006%2Fjmbi.1998.2354&format=unixsd&noredirect=true&pid=...":
No such file or directory at /usr/local/lib/x86_64-linux-gnu/perl/5.36↲
.0/XML/LibXML.pm line 938, <$fh> line 2. XML::LibXML::parse_file(XML::LibXML=HA↲
SH(0x55fecf70c8a8), "https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdoi.crossref.org%2Fopenurl%3Fid%3D10.1006%252Fjmbi.1998.235%25E2%2586%25B2&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Ca94713a023e442c5951908de2eaa5cc3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638999506420228914%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=jUnxwiRA2ehzk9Bfk5EjkaSkN5ByxiH772zEFEBJlyw%3D&reserved=0
4&f"...) called at /usr/share/eprints3/perl_lib/EPrints/XML/LibXML.pm line 108 ↲
EPrints::XML::_parse_url(URI::http=SCALAR(0x55fed24113d8)) called at /usr/share↲
/eprints3/perl_lib/EPrints/XML.pm line 158 EPrints::XML::parse_url() called at ↲
/usr/share/eprints3/site_lib/plugins/EPrints/Plugin/Import/DOI.pm line 130 ev↲
al {...} called at /usr/share/eprints3/site_lib/plugins/EPrints/Plugin/Import/D↲
OI.pm line 129 EPrints::Plugin::Import::DOI::input_text_fh(EPrints::Plugin:↲
:Import::DOI=HASH(0x55fed24e3df0), "filename", undef, "fh", File::Temp=GLO ...

What is destroyed by an update?

Many thanks for any hint in advance
Thomas


*** Options: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEprints-tech_Mailing_List&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Ca94713a023e442c5951908de2eaa5cc3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638999506420253300%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=yvsOWRARuUDWhQdXKancELIzY%2BHFtob336ZDeviPWFU%3D&reserved=0
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Ca94713a023e442c5951908de2eaa5cc3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638999506420280810%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=RLaHmx5rPxBHGVX2b5W9MoQJZRQwkmqWqX1O9xnGQyA%3D&reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7Ca94713a023e442c5951908de2eaa5cc3%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638999506420305530%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=k8ss6mph9qPZQCd52lnWRHYQLaJSXVyl%2BFlzwyOQGHo%3D&reserved=0