-
Notifications
You must be signed in to change notification settings - Fork 9
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
Nothing happens when I click Tools-ESP32 Partition Manager / setup.sh fails with error message #1
Comments
@beegee-tokyo You may create the "tools" folder if it does not exist then extract within it |
I have exactly the same issue. Both files are in the tools directory as described above. Menu shows up in Arduino IDE, but pop-up does not appear. |
Hi, Using Arduino IDE 1.8.6 on Ubuntu 18.04, and trying both the beta of your tool from your releases page (dubbed 0.0.1) and the newest available ZIP file directly from the repo (dubbed 0.0.2 from your commit message), the only response after clicking on the menu item for the Partition Manager is this Java exception:
As it stands, the tool is unusable at the moment. |
@johannesmaibaum The Error you are getting is due to the fact that at that point in the program, it's trying to read a key from your registry using the 'reg' program. Unfortunately, Linux/Ubuntu does not have a registry to the best of my knowledge as i'm a windows user. However, i can run a virtual Linux machine and try to find a fix for you. |
@SensorsIot What version of Python do you have installed? |
@francis94c Ah, sorry, didn't know that this is Windows-only so far. Got here by trying to run the EEPROM class examples from the official ESP32 Arduino core by espressif. No, GNU/Linux has no registry in the Windows sense, but depending on what value you're trying to get from it, there might indeed be an equivalent way of acquiring that information. From a quick glance at your code (disclaimer: I'm neither a Java programmer nor a Windows registry expert), but form googling the key you are requesting inside your |
Yeah, you are right @johannesmaibaum because the Arduino IDE tools folder in 'My Documents' which contains the actual python script 'esp-partition.py' that builds the UI, is relative the home path. is the tools folder for Arduino IDE relative to the path in this |
@francis94c If you install the Arduino IDE using default paths, the standard path for the |
@francis94c By the way, I feel like hijacking this issue which wasn't GNU/Linux-related at all. Shouldn't we move this discussion to a new issue? |
Sure, feel free. |
3.6. But maybe also 2.7 from an earlier project. I am a Python beginner :-( |
@SensorsIot Do you see a file If you do, open a terminal in that directory and run Let me know what happens. |
The ESP Partition tool appears in a pop-up. I extended the two app partitions to 0x1f0000 and the spiffs was reduced to 0xf000. After pressing "generate" the error message "An Arduino ESP32 path was not set" appears. |
Hi Sir Andreas Spiess, You are almost there. Just set the path ONLY ONCE by starting your arduino IDE navigating to Tools >> ESP32 Partition Manager >> Espressif (@menu bar) >> Preferences Then set the arduino-esp32 path and dump path to (this is my own case) If your arduino-esp32 installation was done through arduino board manager then your arduino-esp32 core would be in somewhere Please note that this setup is done only ONCE. I hope to see it in your wonderful reviews @your YouTube channel. With love for open source from, |
I don't know is this helpful for anyone but instead of making your partitions you can use implemented in core from there , so instead |
|
Solved using python 2.7 |
The script was written using python 2.7 |
Is there a way to write the same sorted function for python3 in the same code? But I commented out the sorted function as I am not able to write it with "if PY=2 sorted(…), else sorted(...)" |
Two changes I made to get this working |
Installed in ubuntu, getting the same error when click in the Tools -> ESP32 Partition Manager |
IDE: Arduino IDE 1.8.5
Unusual installation path: C:\Program Files (x86)\Arduino
Sketchbook location: B:\Arduino-Dev
ESP32 installation path: B:\Arduino-Dev\hardware\espressif\esp32
OS: Windows 7 Home Premium Service Pack 1 64-bit
First tried download ZIP file:
after that tools directory looks like
Tools-ESP32 Partition Manager is shown in the Arduino IDE menu, but when I click on it nothing happens.
Next I tried installation with setup.sh
error message
Nothing is installed.
Could it be because of my "non-standard" installation path of the Arduino IDE?
The text was updated successfully, but these errors were encountered: