run_resfinder.py Dockerfile error
I experience issue when using Dockerfile container. Recent version of run_resfinder.py are looking for the version of the git repository. However, run_resfinder.py is not located into a git repository within the Dockerfile.
My version 4.1.11, and below is the error message:
Traceback (most recent call last): File "/usr/src/run_resfinder.py", line 36, in get_git_tag stderr=subprocess.STDOUT, cwd=git_folders_path, File "/usr/lib/python3.5/subprocess.py", line 316, in check_output **kwargs).stdout File "/usr/lib/python3.5/subprocess.py", line 398, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['git', 'describe', '--tags', '--abbrev=0']' returned non-zero exit status 128
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/src/run_resfinder.py", line 181, in <module> parser.add_argument("-v", "--version", action="version", version=get_git_tag(), File "/usr/src/run_resfinder.py", line 45, in get_git_tag raise Exception(str(exc_info.output)) Exception: b'fatal: Not a git repository (or any of the parent directories): .git\n'
Comments (2)
-
-
- changed status to resolved
Has been fixed
- Log in to comment
Hello,
Thank you for using ResFinder, and for informing us about this issue. We hope to have it fixed shortly.
Best regards Maja