-
Notifications
You must be signed in to change notification settings - Fork 21
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
Installation has failed with exit code 1 with antivirus AhnLab V3 Internet Security 9.0 #112
Comments
@dasom96 Thank you for reporting the problem. Please make sure that you do not have an obsolete version of git in the PATH. That might cause the problem. Please type Please try new release of Online Installer 2.13 which contains update version of git or use one of Offline installers which were published this week: |
Hello, thank you for your reply. 2022-02-03 10:25:56.619 Dest filename: \?\C:\Espressif\tools\xtensa-esp32s3-elf\esp-2021r2-8.4.0\xtensa-esp32s3-elf\xtensa-esp32s3-elf\sys-include\sys_locale.h 2022-02-03 10:25:57.697 -------- 2022-02-03 10:30:15.050 -------- |
Only Offline can be installed due to the security policy of the company PC. [Single ESP-IDF Branch Offline Installer] |
Thank you @dasom96 for the log. The Offline installer should contain all the content and subsequent The strange thing is this warning: The toolchain should be already deployed at
|
@dasom96 One alternative solution might be to use Online installer and to check following options in Component Selection Screen (bottom of the list):
|
@dasom96 We made additional tests of the installer and we were not able to simulate the problem. |
@georgik 2022-02-08 09:17:07.512 Log opened. (Time zone: UTC+09:00) 2022-02-08 09:17:37.395 [WARN] |
Below is the system check page of the offline installation program.
|
I found xtensa-esp32s2-elf directory, but version acquisition failed. The command is not executed. Is there a way to download each necessary program, not an integrated installation program? |
Hi @dasom96 . Thank you for detailed report. It seems that s3.amazonws.com is blocked. Topic 1: Interestingly enough Offline installer does not work for you. I'm still wondering why it tries to download anything from Internet. Please could you try to run the Offline installer when the computer is completely disconnected? Topic 2: Yes, it's possible to download all the tools on other computer. Simply run the installer on the computer with network connectivity and then copy .espressif\tools directory or .espressif\dist (which is the same, just it contains compressed version of tools which is then expanded to tools) Topic 3: If previous approach fails. You might consider downloading files manually. URLs are located here: https://github.com/espressif/esp-idf/blob/master/tools/tools.json Topic 4: It might be worthy to add "Extract only" option to the Offline Installer to avoid download failures. This might take a day to implement. Please, let me know if any of these options works for you. |
The problem might be caused by the antivirus. My guess is that the antivirus blocks execution of this binary |
@dasom96 We were not able to install AhnLab antivirus. Windows reported the software as causing severe security and performance issues both on Windows 10 and Windows 11. Please, contact your IT support and ask them to exclude directory C:\Espressif from blocking/scanning. The tools like xtensa-esp32s2-elf-gcc are required to run to compile the software. Without them it's not possible to compile the binary for ESP. One alternative approach for Windows users is to install the toolchain to WSL2 with Ubuntu 20 and use Visual Studio Code with remote WSL support to connect to VM in the WSL2. |
I will contact the IT support to request the exclusion of C:\Espressif scanning/blocking and reinstall it. |
I reinstalled it after excluding V3 inspection, but it failed. 2022-02-10 16:31:15.373 Successfully installed the file. 2022-02-10 16:31:37.967 --------
2022-02-10 16:35:53.381 -------- |
@dasom96 Thank you for the report. It seems that there is still an interference with antivirus, because installation tools are not able to run a gcc to acquire a version:
Please, try to execute the command If there is no version string displayed on the command line, you may need to ask IT to add exclusion for execution of binaries in Please consult also the log of the antivirus to get details about blocked execution. As an alternative, consider using Windows in Hyper-V https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/ or WSL2 with Ububtu. |
@georgik Hello, The company's IT support team says it is no longer possible to take action against AhnLab. So i downloaded esp-idf to my personal computer and transferred all the files to my company computer. Thank you for your response. |
Thank you @dasom96 very much for update. I'm curious why it's possible to copy the file from other computer, but the download from internet fails. |
Please help me install (Windows)
https://dl.espressif.com/dl/esp-idf/?idf=4.4 (offline)
2022-01-28 13:29:39.904 Time stamp of our file: 2021-11-22 16:30:56.000
2022-01-28 13:29:39.904 Installing the file.
2022-01-28 13:29:39.904 Creating directory: C:\eps.espressif\tools\idf-driver\silabs-2021-05-03\arm
2022-01-28 13:29:39.910 Successfully installed the file.
2022-01-28 13:29:39.910 -- File entry --
2022-01-28 13:29:39.912 Dest filename: C:\eps.espressif\tools\idf-driver\silabs-2021-05-03\arm64\silabser.sys
2022-01-28 13:29:39.912 Time stamp of our file: 2021-11-22 16:30:56.000
2022-01-28 13:29:39.912 Installing the file.
2022-01-28 13:29:39.912 Creating directory: C:\eps.espressif\tools\idf-driver\silabs-2021-05-03\arm64
2022-01-28 13:29:39.919 Successfully installed the file.
2022-01-28 13:29:39.919 -- File entry --
2022-01-28 13:29:39.921 Dest filename: C:\eps.espressif\tools\idf-driver\silabs-2021-05-03\x64\silabser.sys
2022-01-28 13:29:39.921 Time stamp of our file: 2021-11-22 16:30:56.000
2022-01-28 13:29:39.921 Installing the file.
2022-01-28 13:29:39.921 Creating directory: C:\eps.espressif\tools\idf-driver\silabs-2021-05-03\x64
2022-01-28 13:29:39.928 Successfully installed the file.
2022-01-28 13:29:39.928 -- File entry --
2022-01-28 13:29:39.930 Dest filename: C:\eps.espressif\tools\idf-driver\silabs-2021-05-03\x86\silabser.sys
2022-01-28 13:29:39.930 Time stamp of our file: 2021-11-22 16:30:56.000
2022-01-28 13:29:39.930 Installing the file.
2022-01-28 13:29:39.930 Creating directory: C:\eps.espressif\tools\idf-driver\silabs-2021-05-03\x86
2022-01-28 13:29:39.937 Successfully installed the file.
2022-01-28 13:29:39.940 -- Registry entry --
2022-01-28 13:29:39.940 Key: HKEY_CURRENT_USER\Environment
2022-01-28 13:29:39.940 Value name: IDF_TOOLS_PATH
2022-01-28 13:29:39.940 Creating or opening the key.
2022-01-28 13:29:39.940 Deleting the value.
2022-01-28 13:29:39.940 Creating or setting the value.
2022-01-28 13:29:39.940 Successfully created or set the value.
2022-01-28 13:29:39.941 Saving uninstall information.
2022-01-28 13:29:39.941 Creating new uninstall key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall{9E068D99-5C4B-4E5F-96A3-B17CF291E6BD}_is1
2022-01-28 13:29:39.941 Writing uninstall key values.
2022-01-28 13:29:39.945 Detected previous administrative 64-bit install? No
2022-01-28 13:29:39.945 Detected previous administrative 32-bit install? No
2022-01-28 13:29:39.988 Installation process succeeded.
2022-01-28 13:29:39.991 Extracting temporary file: C:\Users\ADMINI
1\AppData\Local\Temp\is-EN362.tmp\7za.exe1\AppData\Local\Temp\is-EN362.tmp\idf-env.exe driver install --ftdi --silabs --espressif2022-01-28 13:29:40.862 Done, exit code=0
2022-01-28 13:29:40.862 --------
2022-01-28 13:29:40.862 Running command: C:\Users\ADMINI
Using cached directory: C:\eps.espressif/tools/idf-driver/silabs-2021-05-0
Using cached directory: C:\eps.espressif/tools/idf-driver/ftdi-2021-05-0
Using cached directory: C:\eps.espressif/tools/idf-driver/idf-driver-esp32-usb-jtag-2021-07-1
Installing driver with INF C:\eps.espressif\tools\idf-driver\silabs-2021-05-03\silabser.inf -> C:\windows\INF\oem71.inf ... Already installe
Installing driver with INF C:\eps.espressif\tools\idf-driver\ftdi-2021-05-03\ftdiport.inf -> C:\windows\INF\oem57.inf ... Already installe
Installing driver with INF C:\eps.espressif\tools\idf-driver\idf-driver-esp32-usb-jtag-2021-07-15\usb_jtag_debug_unit.inf -> C:\windows\INF\oem72.inf ... Already installe
2022-01-28 13:29:40.862 --------
2022-01-28 13:29:40.875 Setting PATH for this process: C:\eps.espressif\tools\idf-python\3.8.7;C:\eps.espressif\tools\idf-git\2.30.1\cmd;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files\TortoiseSVN\bin;C:\eps\Git\cmd;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Bandizip;C:\Users\Administrator\AppData\Local\GitHubDesktop\bin
2022-01-28 13:29:40.875 PYTHONNOUSERSITE=True
2022-01-28 13:29:40.875 PYTHONPATH=
2022-01-28 13:29:40.875 PYTHONHOME=
2022-01-28 13:29:40.875 IDFTempPath - location of bundle: C:\eps.espressif\releases\esp-idf-bundle
2022-01-28 13:29:40.876 Updating submodules: C:\eps.espressif\tools\idf-git\2.30.1\cmd\git.exe -C C:\esp\esp-idf checkout v4.3.1
2022-01-28 13:29:54.858 Done, exit code=0
2022-01-28 13:29:54.858 --------
2022-01-28 13:29:54.858 Running command: C:\eps.espressif\tools\idf-git\2.30.1\cmd\git.exe -C C:\esp\esp-idf checkout v4.3.1
HEAD is now at 2e7491405 versions: Update version to 4.3.
2022-01-28 13:29:54.858 --------
2022-01-28 13:29:54.871 Updating submodules: C:\eps.espressif\tools\idf-git\2.30.1\cmd\git.exe -C C:\esp\esp-idf submodule update --init --recursive
2022-01-28 13:29:57.081 Done, exit code=1
2022-01-28 13:29:57.081 --------
2022-01-28 13:29:57.081 Running command: C:\eps.espressif\tools\idf-git\2.30.1\cmd\git.exe -C C:\esp\esp-idf submodule update --init --recursive
/mingw64/libexec/git-core/git-sh-setup: line 46: /git-sh-i18n: No such file or director
2022-01-28 13:29:57.081 --------
2022-01-28 13:29:57.081 Message box (OK):
Installation has failed with exit code 1
2022-01-28 13:31:05.551 User chose OK.
2022-01-28 13:31:05.570 Message box (Yes/No):
Installation log has been created, it may contain more information about the problem.
Display the installation log now?
2022-01-28 13:31:06.780 User chose Yes.
2022-01-28 13:31:06.872 CurStepChanged raised an exception.
2022-01-28 13:31:07.305 Need to restart Windows? No
2022-01-28 13:31:07.315 -- Run entry --
2022-01-28 13:31:07.315 Run as: Original user
2022-01-28 13:31:07.315 Type: ShellExec
2022-01-28 13:31:07.315 Filename:
2022-01-28 13:31:07.362 -- Run entry --
2022-01-28 13:31:07.362 Run as: Original user
2022-01-28 13:31:07.362 Type: ShellExec
2022-01-28 13:31:07.362 Filename:
2022-01-28 13:31:07.474 Deinitializing Setup.
2022-01-28 13:31:07.487 Failed to remove temporary directory: C:\Users\ADMINI~1\AppData\Local\Temp\is-EN362.tmp
2022-01-28 13:31:07.536 Log closed.
The text was updated successfully, but these errors were encountered: