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

Superfluous MediaWiki query for non-suitable MIME types #56

Closed Daniel-Mietchen closed 11 years ago

Daniel-Mietchen commented 11 years ago

I don't see why there should be any MediaWiki query for articles like this one:

Input PMCIDs, delimited by whitespace: Downloading “http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pmc&id=3493461”, saving into directory “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid” …
100% |##########################################################################################################################################################################################################|
PLOS Computational Biology 2012
    Functional Inference of Complex Anatomical Tendinous Networks at a Macroscopic Scale via Sparse Experimentation
/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:463: SAWarning: Unicode type received non-unicode bind param value.
  param.append(processors[key](compiled_params[key]))
“Functional Inference of Complex Anatomical Tendinous Networks at a Macroscopic Scale via Sparse Experimentation”:
    4 × image/tiff
    2 × application/msword

Checking MIME types …
100% |##########################################################################################################################################################################################################|
Mediawiki API request failed, retrying.
erlehmann commented 11 years ago

Most likely fixed by c367f6e22d3fad9267a9886d965cfd4f0ebd9c7f.