Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getpapers error: "the syntax of the command is incorrect" #55

Open
kareenasingh opened this issue May 21, 2020 · 8 comments
Open

getpapers error: "the syntax of the command is incorrect" #55

kareenasingh opened this issue May 21, 2020 · 8 comments
Assignees

Comments

@kareenasingh
Copy link
Collaborator

Capture

facing the above issue while using getpapers. outcome error- the syntax of the command is incorrect.
kindly help out windows 10 user

@Priya-Jk-15
Copy link
Collaborator

Screenshot (34)

Typing the syntax,
Outcome - the system cannot find the file specified

What can I change in the syntax? Kindly suggest me.

@Priya-Jk-15
Copy link
Collaborator

Screenshot (36)

Changing the syntax as above,
Info- found 3255 open acess results
But
Warn - this version of getpapers wasn't built with this version of the EuPMC api in mind
How do I get rid of it?

@petermr
Copy link
Owner

petermr commented May 21, 2020

Well done!

Warn - this version of getpapers wasn't built with this version of the EuPMC api in mind

This is because EPMC has been updated since getpapers was written. It's a warning, not an error. If we have a Node programmer then I guess it's possible to update the API if necessary. But so far there haven't been problems. So just note in the docs that users can ignore this.

The next thing is to actually download files.
The -n has stopped any downloads. To download you need to remove it and also specify an output directory. And keep -k 100 or you will fill your disk!

Have a look at TIGR2ESS to see a typical command.

@petermr petermr changed the title error: the syntax of the command is incorrect getpapers error: "the syntax of the command is incorrect" May 21, 2020
@kareenasingh
Copy link
Collaborator Author

kareenasingh commented May 21, 2020 via email

@petermr
Copy link
Owner

petermr commented May 21, 2020

You will use the flags -k 100, -x, -p, `-o

.

Follow the TIGR2ESS tutorial for getpapersif you want an example.

@vaishaliarora277
Copy link
Collaborator

SCREENSHOT

getpapers error: 'no output directory given'

@Priya-Jk-15
Copy link
Collaborator

@vaishaliarora277 you should say the path/directory that the files need to get downloaded in your system.
So use -o <directory name> along with your syntax.

You can refer the use of -o command using the syntax getpapers --help

@petermr
Copy link
Owner

petermr commented Jun 12, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants