Skip to content

gzip with force overwrite #384

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

Merged
merged 1 commit into from
Apr 27, 2021
Merged

gzip with force overwrite #384

merged 1 commit into from
Apr 27, 2021

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Apr 27, 2021

This will fix the bug "gzip: 570aef2d-1f5f-4de3-b767-d5a2c4a8e41a.tar.gz already exists; not overwritten" if dpgen stop and restart.

This will fix the bug "gzip: 570aef2d-1f5f-4de3-b767-d5a2c4a8e41a.tar.gz already exists;  not overwritten" if dpgen stop and restart.
@codecov-commenter
Copy link

codecov-commenter commented Apr 27, 2021

Codecov Report

Merging #384 (b2ea328) into devel (1362651) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##            devel     #384   +/-   ##
=======================================
  Coverage   32.35%   32.35%           
=======================================
  Files          85       85           
  Lines       14381    14381           
=======================================
  Hits         4653     4653           
  Misses       9728     9728           
Impacted Files Coverage Δ
dpgen/dispatcher/SSHContext.py 20.79% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1362651...b2ea328. Read the comment docs.

@amcadmus amcadmus merged commit 288f0b1 into deepmodeling:devel Apr 27, 2021
njzjz added a commit to njzjz/dpdispatcher that referenced this pull request May 26, 2021
If the number of files is too much, it will raise an error
"Argument list too long". A solution is to split it to several
commands.
> RuntimeError: Get error code 1 in calling tar czf ... through ssh with job: 57c454d1-1ca2-4b6b-a5c4-8c468898586e . message: /bin/bash: Argument list too long

Also gzip with force overwrite
This will fix the bug "gzip: 570aef2d-1f5f-4de3-b767-d5a2c4a8e41a.tar.gz already exists; not overwritten" if dpgen stop and restart.

impletment deepmodeling/dpgen#380 and deepmodeling/dpgen#384
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

Successfully merging this pull request may close these issues.

3 participants