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

genetare_website_2_data.py subprocess.CalledProcessError: Command '['git', 'update-index', '-q', '--ignore-submodules', '--refresh']' returned non-zero exit status 128. #724

Open
China-hanliyi opened this issue Sep 11, 2022 · 0 comments

Comments

@China-hanliyi
Copy link

environment :Python 3.9 in openEuler-22.03-LTS/nototools-0-2.oe2203.noarch
I am trying to run generate_website_2_data.py in nototools, but he reports an error

fatal: 不是 git 仓库(或者任何父目录):.git
Traceback (most recent call last):
  File "/usr/bin/generate_website_2_data.py", line 1511, in <module>
    main()
  File "/usr/bin/generate_website_2_data.py", line 1500, in main
    repo_info = get_repo_info(args.no_repo_check)
  File "/usr/bin/generate_website_2_data.py", line 1433, in get_repo_info
    if not (skip_checks or tool_utils.git_is_clean(repo)):
  File "/usr/lib/python3.9/site-packages/nototools/tool_utils.py", line 313, in git_is_clean
    subprocess.check_call(
  File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'update-index', '-q', '--ignore-submodules', '--refresh']' returned non-zero exit status 128.```
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

1 participant