powerpak/mendeley-pmid-updater

rake aborted

Opened this issue · 0 comments

Mxke commented

While running through my author list, I consistently receive an abort message, which also comes up during the full replace function. No PMCIDs are being pulled or into my Mendeley library. Any insight would be appreciated. Here's the error message (starting with the last author in the list):

Fix author "Todd A Florin" --> "Todd A Florin"
rake aborted!
SocketError: getaddrinfo: nodename nor servname provided, or not known
/Users/michaeljohnson/Documents/Programs/Mendeley PMCID updater/mendeley-pmid-updater/lib/pmc-id-converter.rb:38:in pmc_api_convert' /Users/michaeljohnson/Documents/Programs/Mendeley PMCID updater/mendeley-pmid-updater/lib/pmc-id-converter.rb:23:in convert'
/Users/michaeljohnson/Documents/Programs/Mendeley PMCID updater/mendeley-pmid-updater/lib/mendeley-database.rb:83:in block (2 levels) in fix_article_ids' /Users/michaeljohnson/Documents/Programs/Mendeley PMCID updater/mendeley-pmid-updater/lib/mendeley-database.rb:80:in each'
/Users/michaeljohnson/Documents/Programs/Mendeley PMCID updater/mendeley-pmid-updater/lib/mendeley-database.rb:80:in block in fix_article_ids' /Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.9/lib/sqlite3/database.rb:144:in block (2 levels) in execute'
/Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.9/lib/sqlite3/statement.rb:110:in block in each' /Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.9/lib/sqlite3/statement.rb:107:in loop'
/Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.9/lib/sqlite3/statement.rb:107:in each' /Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.9/lib/sqlite3/database.rb:140:in block in execute'
/Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.9/lib/sqlite3/database.rb:95:in prepare' /Library/Ruby/Gems/2.0.0/gems/sqlite3-1.3.9/lib/sqlite3/database.rb:134:in execute'
/Users/michaeljohnson/Documents/Programs/Mendeley PMCID updater/mendeley-pmid-updater/lib/mendeley-database.rb:60:in fix_article_ids' /Users/michaeljohnson/Documents/Programs/Mendeley PMCID updater/mendeley-pmid-updater/lib/mendeley-database.rb:47:in dry_run'
/Users/michaeljohnson/Documents/Programs/Mendeley PMCID updater/mendeley-pmid-updater/Rakefile:21:in `block in <top (required)>'
Tasks: TOP => default => dry_run
(See full trace by running task with --trace)
ped-03300m:mendeley-pmid-updater michaeljohnson$