You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I'm submitting a ...
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
insteadgit clone
.The compiling error:
The script searchs for
git flags
but files from.zip
are not agit
repository.Please check this thread for more details.
Best regards.
The text was updated successfully, but these errors were encountered: