windows下idf-tools安装进行到 “Switching branch”时失败
安装时选择的版本为4.2
4.3版本可以正常安装
windows下idf-tools安装进行到 “Switching branch”时失败
windows下idf-tools安装进行到 “Switching branch”时失败
- Attachments
-
- 失败.png (19.53 KiB) Viewed 6255 times
-
- Setup Log 2021-08-30 #001.txt
- (9.5 MiB) Downloaded 473 times
-
- Posts: 786
- Joined: Wed Nov 14, 2018 8:45 am
Re: windows下idf-tools安装进行到 “Switching branch”时失败
如果你能直接告知是离线安装,就更好了,从 log 中获取了此信息。
试了下确实有此问题,会反馈到内部。
试了下确实有此问题,会反馈到内部。
-
- Posts: 21
- Joined: Fri Nov 06, 2020 8:23 am
- Location: Brno
- Contact:
Re: windows下idf-tools安装进行到 “Switching branch”时失败
Thank you changyue for reporting the issue. We will investigate the problem.
Suggested possible workarounds:
- use Online installer to deploy 4.2.2 - https://dl.espressif.com/dl/esp-idf/
- use Offline installer, deploy 4.3, then open terminal and switch to branch manually:
Suggested possible workarounds:
- use Online installer to deploy 4.2.2 - https://dl.espressif.com/dl/esp-idf/
- use Offline installer, deploy 4.3, then open terminal and switch to branch manually:
Code: Select all
git checkout v4.2.2
install.bat
export.bat
- Juraj Michálek
Senior Embedded Software Engineer at Espressif Systems
Senior Embedded Software Engineer at Espressif Systems
-
- Posts: 21
- Joined: Fri Nov 06, 2020 8:23 am
- Location: Brno
- Contact:
Re: windows下idf-tools安装进行到 “Switching branch”时失败
Unfortunately we were not able to simulate the error.
Please, provide output of command:
The output could help us with diagnostics of the problem.
Please, provide output of command:
Code: Select all
git config --list --show-origin
- Juraj Michálek
Senior Embedded Software Engineer at Espressif Systems
Senior Embedded Software Engineer at Espressif Systems
-
- Posts: 21
- Joined: Fri Nov 06, 2020 8:23 am
- Location: Brno
- Contact:
Re: windows下idf-tools安装进行到 “Switching branch”时失败
Meanwhile we identified the problem.
If the git does not have autocrlf set to true in global config the installation fails.
To workaround the problem it's possible to enter command:
After this correction the installation works without problem.
The new issue for this bug was created: https://github.com/espressif/idf-installer/issues/52
If the git does not have autocrlf set to true in global config the installation fails.
To workaround the problem it's possible to enter command:
Code: Select all
git config --global core.autocrlf true
The new issue for this bug was created: https://github.com/espressif/idf-installer/issues/52
- Juraj Michálek
Senior Embedded Software Engineer at Espressif Systems
Senior Embedded Software Engineer at Espressif Systems
-
- Posts: 21
- Joined: Fri Nov 06, 2020 8:23 am
- Location: Brno
- Contact:
Re: windows下idf-tools安装进行到 “Switching branch”时失败
We updated Offline installer, please test the following version:
https://github.com/espressif/idf-instal ... 11-beta-02
The installation of 4.2.2 should pass without problem.
https://github.com/espressif/idf-instal ... 11-beta-02
The installation of 4.2.2 should pass without problem.
- Juraj Michálek
Senior Embedded Software Engineer at Espressif Systems
Senior Embedded Software Engineer at Espressif Systems
Who is online
Users browsing this forum: No registered users and 54 guests