ContentMine / getpapers

Get metadata, fulltexts or fulltext URLs of papers matching a search query
MIT License
197 stars 37 forks source link

TypeError: Cannot read property 'hitCount' of undefined #20

Closed chreman closed 9 years ago

chreman commented 9 years ago

getpapers --query '(JOURNAL:"bmc ecol") AND ((FIRST_PDATE:[2015-03-01 TO 2015-05-29]))' --outdir dirxxxxx

returned following error:

TypeError: Cannot read property 'hitCount' of undefined at EuPmc.completeCallback (/home/workshop/.nvm/v0.10.24/lib/node_modules/getpapers/lib/eupmc.js:61:35) at Request.EventEmitter.emit (events.js:98:17) at Request.mixin._fireSuccess (/home/workshop/.nvm/v0.10.24/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:226:10) at /home/workshop/.nvm/v0.10.24/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:158:20 at IncomingMessage.parsers.auto (/home/workshop/.nvm/v0.10.24/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:394:7) at Request.mixin._encode (/home/workshop/.nvm/v0.10.24/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:195:29) at /home/workshop/.nvm/v0.10.24/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:154:16 at Request.mixin._decode (/home/workshop/.nvm/v0.10.24/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:170:7) at IncomingMessage. (/home/workshop/.nvm/v0.10.24/lib/node_modules/getpapers/node_modules/restler/lib/restler.js:147:14) at IncomingMessage.EventEmitter.emit (events.js:117:20)