EBMS Tickets

Issue Number 560
Summary [Drupal core testing] Unable to import citations
Created 2020-06-19 14:06:55
Issue Type Bug
Submitted By Juthe, Robin (NIH/NCI) [E]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2020-07-15 14:11:35
Resolution Won't Fix
Path /home/bkline/backups/jira/oceebms/issue.264474
Description

On DEV2, I'm unable to import any of the following articles. I've tried importing them on both the import citations page and on the internal import page, each time without success. I don't know if batch imports are working properly but will find out.

 

PMID 32558986

PMID 32558969

PMID 32559019

Comment entered 2020-06-19 16:22:50 by Kline, Bob (NIH/NCI) [C]

What were the symptoms? Error messages? What options did you use? I just imported 32558986 successfully.

Comment entered 2020-06-19 16:41:02 by Juthe, Robin (NIH/NCI) [E]

On the main import page, I selected Fast Track and gave it a placement level of Passed Abstract Review. I tried uploading a PDF of the article and not and it failed both times. There isn't an error message - it's just listed under ARTICLES WITH ERRORS at the bottom of the page. I'll upload a screenshot.

Comment entered 2020-06-19 16:44:31 by Juthe, Robin (NIH/NCI) [E]

I just searched for the article you imported and I'm not able to find it in the system. I'm on DEV2.

Comment entered 2020-06-19 17:28:58 by Kline, Bob (NIH/NCI) [C]

Hmm. Can you import on any other tier? I'm wondering if the problem might not be on our end.

Comment entered 2020-06-19 17:52:26 by Kline, Bob (NIH/NCI) [C]

$ curl 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&rettype=medline&retmode=xml&id=32558986'{{  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current}}{{                                 Dload  Upload   Total   Spent    Left  Speed}}100   206    0   206    0     0    206      0 -::- -::- -::-   549<?xml version="1.0" ?><!DOCTYPE PubmedArticleSet PUBLIC "-//NLM//DTD PubMedArticle, 1st January 2019//EN" "https://dtd.nlm.nih.gov/ncbi/pubmed/out/pubmed_190101.dtd"><PubmedArticleSet></PubmedArticleSet>

 

I have reported the problem to NLM. I see this as good news. I'd rather have the NLM's site broken than have the security or Linux upgrade break the EBMS.

Comment entered 2020-06-19 18:01:59 by Juthe, Robin (NIH/NCI) [E]

Well this is strange. I was also unable to import 32558986 on QA so I went and found a legit article to try to import on PROD (32534647) and this was successful. Maybe there's an issue with the test citations I was using? Something the EBMS didn't like about those articles? Or some characteristic on NLM's end?

Comment entered 2020-06-22 14:39:16 by Kline, Bob (NIH/NCI) [C]

Heard back from NLM, saying they can't reproduce the problem. Please give it another try.

Comment entered 2020-06-23 09:18:48 by Juthe, Robin (NIH/NCI) [E]

I just successfully imported each of these citations on DEV2. I guess it must have been a temporary issue that resolved itself? In any case, it's good news. Thanks.

Comment entered 2020-06-23 09:35:57 by Kline, Bob (NIH/NCI) [C]

Yes, it is good news. Unfortunately, I never succeeded in conveying to the contact at NLM what was going on. She kept insisting that it was just an occasional blip and all we had to do was rewrite our software to try again when it ran into a failure, and I kept trying to explain that I was trying repeatedly and consistently getting successful retrieval for one set of articles and consistently encountering failures for another set of articles. I gave up trying to explain it.

Attachments
File Name Posted User
image-2020-06-19-16-22-30-204.png 2020-06-19 16:22:30 Kline, Bob (NIH/NCI) [C]
import problem.png 2020-06-19 16:42:22 Juthe, Robin (NIH/NCI) [E]

Elapsed: 0:00:00.000684