why error? python3.9 version

Issue #90 duplicate
Former user created an issue

Your title here...

python run_resfinder.py Traceback (most recent call last): File "/data1/tools/resfinder/run_resfinder.py", line 34, in get_git_tag subprocess.check_output( File "/data1/tools/anaconda3/lib/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/data1/tools/anaconda3/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, 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 "/data1/tools/resfinder/run_resfinder.py", line 181, in <module> parser.add_argument("-v", "--version", action="version", version=get_git_tag(), File "/data1/tools/resfinder/run_resfinder.py", line 45, in get_git_tag raise Exception(str(exc_info.output)) Exception: b"fatal: detected dubious ownership in repository at '/data1/tools/resfinder'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /data1/tools/resfinder\n"

Comments (3)

  1. CGE Helpdesk

    Hello,
    Thank you for your interest in ResFinder.
    Are you using the latest version of our tool - ResFinder-4.2?

    If you are not using the latest version please install it and report if the error persists.

    Best

    Maja - CGE Helpdesk

  2. Log in to comment