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

Compiling error from git_rev.py #500

Closed
FernandoGarcia opened this issue May 9, 2021 · 1 comment
Closed

Compiling error from git_rev.py #500

FernandoGarcia opened this issue May 9, 2021 · 1 comment

Comments

@FernandoGarcia
Copy link
Contributor

I'm submitting a ...

  • [x ] bug report

Did you follow the general troubleshooting steps first:

Report

Hi!

The script git_rev.py will cause compiling error when the code is downloaded as .zip instead git clone.

The compiling error:

fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
  File "git_rev.py", line 4, in <module>
    version = subprocess.check_output(tagcmd, shell=True).decode().strip()
  File "/usr/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)

The script searchs for git flags but files from .zip are not a git repository.

Please check this thread for more details.

Best regards.

@pppedrillo
Copy link
Contributor

Related to #486 @MarcoCLA

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

No branches or pull requests

2 participants