EPrints Technical Mailing List Archive

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

Message: #06068


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

[EP-tech] Antwort: Re: fail to import PubMedID


Dear Adam, Hiroshi, List

Watching the same since this morning #-) ...they changed to https this weekend.

wget'ing https works fine, but we canot simply change the protocol in our script, because it seems LibXML can't handle it. So what about getting the https from out of the script and change parse_url into parse_file on that local file. Or change to LWP::Protocol::https?

Jens


--
Jens Vieler
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler@id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch


Inactive hide details for Adam Field ---07.11.2016 11:30:30---Visiting the URL, I get: <eFetchResult>Adam Field ---07.11.2016 11:30:30---Visiting the URL, I get: <eFetchResult>

Von: Adam Field <Adam.Field@jisc.ac.uk>
An: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Datum: 07.11.2016 11:30
Betreff: Re: [EP-tech] fail to import PubMedID
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk





Visiting the URL, I get:
 
<eFetchResult>
<ERROR>WebEnv parameter is required</ERROR>
</eFetchResult>
 
If I add a dummy WebEnb parameter, I get:
 
<eFetchResult>
<ERROR>query_key parameter is required</ERROR>
</eFetchResult>
 
…it looks like the API the plugin is using has changed L  It’s unlikely to be a local problem.
 
 

Adam Field
SHERPA services analyst developer
 
 
From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Hiroshi Watabe <hwatabe@m.tohoku.ac.jp>
Organization:
CYRIC
Reply-To:
"eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Date:
Monday, 7 November 2016 01:27
To:
"eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Subject:
[EP-tech] fail to import PubMedID
 
Dear all,
 
It seems PubMed only accepts https now and I cannot import PubMed ID
anymore. I got the following warning message.
Unhandled warning in Import::PubMedID: http error : Unknown IO error
 
I modified PubMedID.pm as follows but no success.
27c27
<       $self->{EFETCH_URL} =
'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmode=xml&rettype=full';
---  
Error message is as follows;
Unhandled exception in Import::PubMedID: Could not create file parser
context for file
 
Could you help me?
 
Hiroshi
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
 
 


Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive:
http://www.eprints.org/tech.php/
*** EPrints community wiki:
http://wiki.eprints.org/
*** EPrints developers Forum:
http://forum.eprints.org/