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

Setup - ESP-IDF Tools 2.0 Installer for WIndows. IDF_TOOLS_PATH cant be changed once set from previous install. (IDFGH-1544) #3806

Closed
6 tasks
dlafont opened this issue Jul 22, 2019 · 2 comments

Comments

@dlafont
Copy link

dlafont commented Jul 22, 2019

When using the new installer for ESP-IDF Tools 2.0 for Windows 10. If you have set the ESP-IDF Tools installations folder incorrectly you can no longer change it to some other location in subsequent install attempts.

The first time you install it asks "Select Destination Locations" and "Where should the ESP-IDF Tools be installed?". After the first install attempt, it no longer asks you and uses the prior default location from the last install without giving you the option of changing even if it is wrong.

You can never change the location again even if it is incorrect.

----------------------------- Delete below -----------------------------

If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at esp32.com instead.

INSTRUCTIONS

Before submitting a new issue, please follow the checklist and try to find the answer.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.

  1. Fill in all the fields under Environment marked with [ ] by picking the correct option for you in each case and deleting the others.
  2. Describe your problem.
  3. Include debug logs on the monitor or the coredump.
  4. Provide more items under Other items if possible can help us better locate your problem.
  5. Use markup (buttons above) and the Preview tab to check what the issue will look like.
  6. Delete these instructions from the above to the below marker lines before submitting this issue.

----------------------------- Delete above -----------------------------

Environment

  • Development Kit: [ESP32-Wrover-Kit|ESP32-DevKitC|ESP32-PICO-Kit|ESP32-LyraT|ESP32-LyraTD-MSC|none]
  • Kit version (for WroverKit/PicoKit/DevKitC): [v1|v2|v3|v4]
  • Module or chip used: [ESP32-WROOM-32|ESP32-WROOM-32D|ESP32-WROOM-32U|ESP32-WROVER|ESP32-WROVER-I|ESP32-WROVER-B|ESP32-WROVER-IB|ESP32-SOLO-1|ESP32-PICO-D4|ESP32]
  • IDF version (run git describe --tags to find it):
    // v3.2-dev-1148-g96cd3b75c
  • Build System: [Make|CMake]
  • Compiler version (run xtensa-esp32-elf-gcc --version to find it):
    // 1.22.0-80-g6c4433a
  • Operating System: [Windows|Linux|macOS]
  • Power Supply: [USB|external 5V|external 3.3V|Battery]

Problem Description

//Detailed problem description goes here.

Expected Behavior

Actual Behavior

Steps to repropduce

  1. step1
  2. ...

// It helps if you attach a picture of your setup/wiring here.

Code to reproduce this issue

// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{
    
}

// If your code is longer than 30 lines, GIST is preferred.

Debug Logs

Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

  • sdkconfig file (attach the sdkconfig file from your project folder)
  • elf file in the build folder (note this may contain all the code details and symbols of your project.)
  • coredump (This provides stacks of tasks.)
@github-actions github-actions bot changed the title Setup - ESP-IDF Tools 2.0 Installer for WIndows. IDF_TOOLS_PATH cant be changed once set from previous install. Setup - ESP-IDF Tools 2.0 Installer for WIndows. IDF_TOOLS_PATH cant be changed once set from previous install. (IDFGH-1544) Jul 22, 2019
@igrr
Copy link
Member

igrr commented Jul 22, 2019

@dlafont To change the IDF_TOOLS_PATH, please go to "Add or remove programs" in Settings, and uninstall "ESP-IDF Tools 2.0". Then install again, the option to choose the installation path will become available.

@szroland
Copy link

szroland commented Aug 6, 2019

Unfortunately uninstall also doesn't work in this case, because Windows does not find the unins000.exe. In my case, my username has a space in it, which prevented the installer from working, but now it is impossible to uninstall either and the setting for the wrong directory is remembered and a cannot be overwritten.

trombik pushed a commit to trombik/esp-idf that referenced this issue Aug 9, 2019
Installation path can now be changed in a subsequent install,
without uninstalling and logging out.
The default value of the installation path is set to
IDF_TOOLS_PATH environment variable, if it was already set by the
previous installation, or by the user.

Closes espressif#3806
igrr added a commit that referenced this issue Sep 30, 2019
Includes the following changes:

80ad09f allow changing the installation path
(a fix for #3806)

9c5284e verify that IDF_PATH doesn't contain spaces

aaf3dcb fix quoting of IDF_TOOLS_PATH
(a fix for #3807)

e6e1792 tools: update idf_exe to 1.0.1
76dc87e idf_exe: fix NULL pointer passed to WriteFile
(fixes for #3740)
igrr added a commit that referenced this issue Oct 27, 2019
Includes the following changes:

80ad09f allow changing the installation path
(a fix for #3806)

9c5284e verify that IDF_PATH doesn't contain spaces

aaf3dcb fix quoting of IDF_TOOLS_PATH
(a fix for #3807)

e6e1792 tools: update idf_exe to 1.0.1
76dc87e idf_exe: fix NULL pointer passed to WriteFile
(fixes for #3740)
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

3 participants