ContentMine / getpapers

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

No Output #60

Closed daMogli closed 8 years ago

daMogli commented 9 years ago

Is there any place I can see an error log? I issue this command:

getpapers --query 'PMCID: PMC2732911' --all --outdir ~/test

and nothing happens. I don't get an error or any sort of message. It works on my Mac but not my Amazon Linux machine.

blahah commented 9 years ago

It should output to stdout/stderr. Is there anything special about the Amazon setup?

daMogli commented 9 years ago

It's a Unix box behind a nat with a public ip On Nov 2, 2015 12:47 PM, "Richard Smith-Unna" notifications@github.com wrote:

It should output to stdout/stderr. Is there anything special about the Amazon setup?

— Reply to this email directly or view it on GitHub https://github.com/ContentMine/getpapers/issues/60#issuecomment-153097800 .

tarrow commented 8 years ago

I managed to replicate this bug. Turns out it is an operating system issue with ubuntu. See: http://askubuntu.com/questions/375720/node-executables-not-doing-anything

Basically there is also a package called node that is nothing to do with nodejs. I also installed it by mistake but it takes over the 'node' alias. You then need to apt-get remove --purge node and re-install nodejs.

You can verify the problem is the same if you run node --version and you still get no response

blahah commented 8 years ago

Closing this as @tarrow has identified a fix.