billgreenwald / Pubmed-Batch-Download

Batch download articles based on PMID (Pubmed ID)
MIT License
115 stars 45 forks source link

Download fails: NoneType object has no attribute.. #18

Closed mikegilchrist closed 4 years ago

mikegilchrist commented 4 years ago

I am far from python savvy so if this is a simple error on my part, I apologize.

I have installed the necessary software and get the following error.

$ python3.7 ~/Repositories/Pubmed-Batch-Download/fetch_pdfs.py -pmids 31336898
Output directory of fetched_pdfs did not exist. Created the directory.
Trying to fetch pmid 31336898
** fetching of reprint 31336898 failed from error 'NoneType' object has no attribute 'readline'

mikegilchrist commented 4 years ago

Fixed it by getting the necessary libraries installed.