echo 10.1186/1478-811X-11-91 | ./oami_pmc_doi_import ; ./oa-cache clear-database pmc_doi
Input DOIs, delimited by whitespace: Getting PubMed Central IDs for given DOIs … found: 3879092
Downloading “http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pmc&id=3879092”, saving into directory “/home/danielmietchen/.cache/open-access-media-importer/metadata/raw/pmc_doi” …
100% |#########################################################################################################################################################################################################|
/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:463: SAWarning: Unicode type received non-unicode bind param value.
param.append(processorskey)
“The arrestin-domain containing protein AdcA is a response element to stress”:
1 × /
Checking MIME types …
1 of 1 100% |###################################################################################################################################################################################| Time: 00:00:00
DOI 10.1186/1478-811X-11-91, http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3879092/bin/1478-811X-11-91-S1.mov, source claimed / but is video/quicktime.
/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:463: SAWarning: Unicode type received non-unicode bind param value.
param.append(processorskey)
Skipping download of http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3879092/bin/1478-811X-11-91-S1.mov.
Skipping conversion of “/home/danielmietchen/.cache/open-access-media-importer/media/raw/pmc_doi/http%3A%2F%2Fwww.ncbi.nlm.nih.gov%2Fpmc%2Farticles%2FPMC3879092%2Fbin%2F1478-811X-11-91-S1.mov”, exists at “/home/danielmietchen/.cache/open-access-media-importer/media/refined/pmc_doi/http%3A%2F%2Fwww.ncbi.nlm.nih.gov%2Fpmc%2Farticles%2FPMC3879092%2Fbin%2F1478-811X-11-91-S1.mov.ogg”.
Traceback (most recent call last):
File "./oa-put", line 116, in
license_url, label, caption, title, categories, mimetype)
File "/home/danielmietchen/open-access-media-importer/helpers/template.py", line 96, in page
category = _postprocess_category(category)
File "/home/danielmietchen/open-access-media-importer/helpers/template.py", line 93, in _postprocess_category
return category[0].capitalize() + category[1:]
IndexError: string index out of range
Removing “/home/danielmietchen/.local/share/open-access-media-importer/pmc_doi.sqlite” … done.
echo 10.1186/1478-811X-11-91 | ./oami_pmc_doi_import ; ./oa-cache clear-database pmc_doi Input DOIs, delimited by whitespace: Getting PubMed Central IDs for given DOIs … found: 3879092 Downloading “http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pmc&id=3879092”, saving into directory “/home/danielmietchen/.cache/open-access-media-importer/metadata/raw/pmc_doi” … 100% |#########################################################################################################################################################################################################| /usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:463: SAWarning: Unicode type received non-unicode bind param value. param.append(processorskey) “The arrestin-domain containing protein AdcA is a response element to stress”: 1 × /
Checking MIME types … 1 of 1 100% |###################################################################################################################################################################################| Time: 00:00:00 DOI 10.1186/1478-811X-11-91, http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3879092/bin/1478-811X-11-91-S1.mov, source claimed / but is video/quicktime. /usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:463: SAWarning: Unicode type received non-unicode bind param value. param.append(processorskey) Skipping download of http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3879092/bin/1478-811X-11-91-S1.mov. Skipping conversion of “/home/danielmietchen/.cache/open-access-media-importer/media/raw/pmc_doi/http%3A%2F%2Fwww.ncbi.nlm.nih.gov%2Fpmc%2Farticles%2FPMC3879092%2Fbin%2F1478-811X-11-91-S1.mov”, exists at “/home/danielmietchen/.cache/open-access-media-importer/media/refined/pmc_doi/http%3A%2F%2Fwww.ncbi.nlm.nih.gov%2Fpmc%2Farticles%2FPMC3879092%2Fbin%2F1478-811X-11-91-S1.mov.ogg”. Traceback (most recent call last): File "./oa-put", line 116, in
license_url, label, caption, title, categories, mimetype)
File "/home/danielmietchen/open-access-media-importer/helpers/template.py", line 96, in page
category = _postprocess_category(category)
File "/home/danielmietchen/open-access-media-importer/helpers/template.py", line 93, in _postprocess_category
return category[0].capitalize() + category[1:]
IndexError: string index out of range
Removing “/home/danielmietchen/.local/share/open-access-media-importer/pmc_doi.sqlite” … done.