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

Export Settings range does not start at 1 #14

Closed
eschares opened this issue Jan 24, 2022 · 7 comments
Closed

Export Settings range does not start at 1 #14

eschares opened this issue Jan 24, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@eschares
Copy link

Describe the bug
When changing export settings range, program moves range from 1 to 101 by itself

To Reproduce
Steps to reproduce the behavior:

  1. usrQuery=OG="Iowa State University" AND PY=2021 and databaseID=WOS; 3,694 records found
  2. File formats Excel only
  3. Export Settings range changed to 1-200
  4. Click run, range changes to [101,200]

Expected behavior
Expect exported range to match what I specify, 1-200

Screenshots
If applicable, add screenshots to help explain your problem.
Attached

Desktop (please complete the following information):

  • wos-api-exporter-setup-1.0.0-rc1.exe
  • OS: Windows 10 Enterprise

Additional context
The running and exporting also seems much slower than previous version.
Capture
Capture2

@eschares eschares added the bug Something isn't working label Jan 24, 2022
@maloku
Copy link
Member

maloku commented Feb 4, 2022

@eschares Thanks for the report. Actually, the range is intentionally done this way. The range is synchronized with the pagination of API. The way I see it, in case it goes something wrong, you know at which page it failed so that you can continue to export the rest of the documents without needing to start at 1.

Exporting gets a bit slower when you include multiple formats and it gets much slower if you choose to export cited references. You can disable cited references in Query settings by disabling the toggle box. The reason for that is that cited references require a separate request for each document, ie, for 3k documents, you would need 30 requests, but with cited references, you need 3030 requests.

image

@maloku
Copy link
Member

maloku commented Feb 4, 2022

If this solves your problem, please let us know so that we can close this issue. Thank you.

@eschares
Copy link
Author

Hello,
This has not solved my problem. How can I get records 1-100? I specify 1-3758, but the tool exports 101-3758.

Capture3

@eschares
Copy link
Author

Additionally

  • up arrows let me go past the max record number
  • export errors out and fails with attached error message

Capture4

@remypstewart
Copy link

Hello there, I wanted to add that am having very similar issues with my own query attempts in case there's been any progress towards finding potential solutions to this issue. Thank you!

@maloku
Copy link
Member

maloku commented Sep 21, 2022

Hi all, I am not able to reproduce this one. I tried the above query with all possible combinations 1-200, with and without cited references. I am still able to export the exact number of documents. Please note that the cursor range will increase during export, and this is an intention.

@maloku maloku closed this as completed Sep 21, 2022
@gneissone
Copy link
Collaborator

@eschares please follow the 'ERR_ACTION_ACCESS_UNDEFINED' issue here: #18. It seems to occur when 'cited references' is toggled on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

4 participants