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

RemoteResource downloads sometimes fail #18

Closed
chivay opened this issue Dec 1, 2020 · 1 comment
Closed

RemoteResource downloads sometimes fail #18

chivay opened this issue Dec 1, 2020 · 1 comment
Labels
improvement New feature or request
Milestone

Comments

@chivay
Copy link
Contributor

chivay commented Dec 1, 2020

🤔

Traceback (most recent call last):
   File "/opt/venvs/drakcore/lib/python3.7/site-packages/drakcore/process.py", line 86, in process
    outputs = plugin.handler(self.current_task, task_resources, self.minio)
   File "/opt/venvs/drakcore/lib/python3.7/site-packages/drakcore/postprocess/log_index.py", line 58, in generate_log_index
    with resource.download_temporary_file() as tmp_file:
   File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
   File "/opt/venvs/drakcore/lib/python3.7/site-packages/karton2/resource.py", line 282, in download_temporary_file
    self.download_to_file(tmp.name)
   File "/opt/venvs/drakcore/lib/python3.7/site-packages/karton2/resource.py", line 257, in download_to_file
    self._minio.fget_object(self.bucket, self.uid, path)
   File "/opt/venvs/drakcore/lib/python3.7/site-packages/minio/api.py", line 691, in fget_object
    raise InvalidSizeError(msg)
 minio.error.InvalidSizeError: InvalidSizeError: message: Data written 30748 bytes is smaller than the specified size 31171 bytes
@chivay chivay added the bug Something isn't working label Dec 1, 2020
@psrok1 psrok1 removed the bug Something isn't working label Dec 14, 2020
@psrok1 psrok1 added the improvement New feature or request label Jul 15, 2022
@psrok1 psrok1 added this to the 5.0.0 milestone Jul 20, 2022
@psrok1
Copy link
Member

psrok1 commented Jul 22, 2022

See #170

@psrok1 psrok1 closed this as completed Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants