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

Script Execution Error: "Killed" message when downloading larger files of articles from ReDATA #28

Closed
1 task done
pavithraarizona opened this issue May 23, 2023 · 0 comments · Fixed by #29
Closed
1 task done
Assignees
Labels
bug Something isn't working

Comments

@pavithraarizona
Copy link
Contributor

pavithraarizona commented May 23, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Issue Description: During the execution of a script, an error occurred while attempting to download larger files of articles from the ReDATA platform. Instead of completing the download process, the script encounters a "killed" message, causing the execution to stop abruptly.

This is a P1 priority bug

Expected Behavior: The script should successfully download the larger files from ReDATA without any interruptions or errors.

Actual Behavior: While executing a script, a "killed" message is displayed, abruptly terminating the script execution. Consequently, the larger files are not downloaded, preventing the expected behavior of script.

Additional Information:
The download operation is performed using the following line of code:
filecontent = requests.get(file['download_url'], headers={'Authorization': 'token ' + self.api_token},
allow_redirects=True)

Applying the solution mentioned in the following URL may help in resolving the issue: https://gist.github.com/wasi0013/ab73f314f8070951b92f6670f68b2d80

Steps To Reproduce

  1. Execute the script by providing the article ID that has a file of size more than 800 MB from ReDATA. Example: 22122197
  2. Observe the script execution and error occurrence.
@pavithraarizona pavithraarizona added the bug Something isn't working label May 23, 2023
@pavithraarizona pavithraarizona changed the title Bug: <provide a descriptive name> Script Execution Error: "Killed" message when downloading larger files of articles from ReDATA May 23, 2023
@zoidy zoidy self-assigned this May 24, 2023
@zoidy zoidy closed this as completed in #29 May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants