Closed qlrd closed 2 years ago
Thanks for the report!
It appears that the sipeed/kflash.py
repo, which is a submodule of the MaixPy
repo we rely on, was deleted and replaced with a fork of the https://github.com/vowstar/kflash.py repo. The result of this is that the specific commit being pointed to no longer exists.
We can fix this by updating the MaixPy repo to point to the latest commit of kflash.py instead. Luckily, we don't actually use the kflash
repo, so this shouldn't be a big problem to workaround. I'll do that now.
Hi,
I got an error during the project cloning process, summarized in the table below.
fatal
error message from after fetch the code and its submodules[1]
fatal: remote error: upload-pack: not our ref 1ef6f4c0b2cb8b1872b6ffe9337f4e02d5487fa6
[2]
fatal: Fetched in submodule path 'firmware/MaixPy/tools/flash/kflash_py', but it did not contain 1ef6f4c0b2cb8b1872b6ffe9337f4e02d5487fa6. Direct fetching of that commit failed.
[3]
fatal: Failed to recurse into submodule path 'firmware/MaixPy'
git clone --recurse-submodules https://github.com/selfcustody/krux
or
[2] Execute
git clone --recursive https://github.com/selfcustody/krux
or
[3] Execute
git clone https://github.com/selfcustody/krux
,cd krux
andgit submodule update --init --recursive
[2] Execute
git clone https://github.com/selfcustody/krux
, thencd krux
, thengit submodule update --force --recursive --init --remote
"Of course this is not a good solution. It is better to find and solve the underlying problem, but if anyone is in hurry, this was worked for me."
"because it fetches from the latest remote instead from gits old memory"
In this sense, my intention is to find a solution with the help of the community, so that the command
git clone --recurse-submodules https://github.com/selfcustody/krux
works as initially expected.