Tried to update my various Frappe apps last night (bench update --reset) and ran in to the following error.
Can any one suggest a fix?
Thanks,
Paul
Compressing objects: 100% (131163/131163), done.
error: bad packed object CRC for 69b31d6ed3a276a50405269a76b5259c17a2df47
error: bad packed object CRC for 69b31d6ed3a276a50405269a76b5259c17a2df47
fatal: packed object 69b31d6ed3a276a50405269a76b5259c17a2df47 (stored in .git/objects/pack/pack-761dd001574fd1952fdb9fe61641350bb9bd10b5.pack) is corrupt
fatal: failed to run repack
ERROR:
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.10/dist-packages/bench/cli.py", line 127, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/commands/update.py", line 59, in update
update(
File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 436, in update
pull_apps(apps=apps, bench_path=bench_path, reset=reset)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 661, in pull_apps
bench.run("git gc --prune=all", cwd=app_dir)
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 158, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError