wpoa / open-access-media-importer

A tool for harvesting media files from Open Access articles for upload into Wikimedia Commons
http://commons.wikimedia.org/wiki/User:Open_Access_Media_Importer_Bot
23 stars 8 forks source link

No PubMed Central IDs for given DOIs found #66

Closed Daniel-Mietchen closed 11 years ago

Daniel-Mietchen commented 11 years ago

With respect to the example mentioned in https://github.com/erlehmann/open-access-media-importer/issues/65 (where oami_pmc_pmcid_import knew the DOI of the article), I noticed that running oami_pmc_doi_import produces an error: echo 10.1371/journal.pone.0051085 | ./oami_pmc_doi_import Input DOIs, delimited by whitespace: Getting PubMed Central IDs for given DOIs … Traceback (most recent call last): File "./oa-get", line 122, in for result in source_module.download_metadata(source_path): File "/home/daniel/open-access-media-importer/sources/pmc_doi.py", line 56, in download_metadata raise RuntimeError, 'No PubMed Central IDs for given DOIs found.' RuntimeError: No PubMed Central IDs for given DOIs found.

erlehmann commented 11 years ago

I cannot reproduce this.