Skip to content

gen_insights_package.py. -> [Errno 2] No such file or directory #7649

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

Closed
1 task done
mhendriks opened this issue Jan 2, 2023 · 3 comments · Fixed by #7650
Closed
1 task done

gen_insights_package.py. -> [Errno 2] No such file or directory #7649

mhendriks opened this issue Jan 2, 2023 · 3 comments · Fixed by #7650
Assignees
Labels
Priority: High 🗻 Issues with high priority which needs to be solved first. Type: Bug 🐛 All bugs

Comments

@mhendriks
Copy link

Board

ESP32C3

Device Description

EsP32C3-MINI-1 developer board

Hardware Configuration

EsP32C3-MINI-1 developer board

Version

v2.0.6

IDE Name

Arduino 1.latest

Operating System

MacOS latest

Flash frequency

80MHz

PSRAM enabled

yes

Upload speed

115200

Description

package below in de 2.0.6 tools is missing.

/packages/esp32/hardware/esp32/2.0.6/tools/gen_insights_package.py': [Errno 2] No such file or directory

Sketch

MinimalDiagnostics example

Debug Message

/Applications/Xcode.app/Contents/Developer/usr/bin/python3: can't open file '/Users/User/Library/Arduino15/packages/esp32/hardware/esp32/2.0.6/tools/gen_insights_package.py': [Errno 2] No such file or directory
Multiple libraries were found for "WiFi.h"
 Used: /Users/User/Library/Arduino15/packages/esp32/hardware/esp32/2.0.6/libraries/WiFi
 Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
 Not used: /Users/User/Documents/Arduino/libraries/WiFiNINA
exit status 2
/Applications/Arduino.app/Contents/Java/arduino-builder returned 2
Error compiling for board ESP32C3 Dev Module.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@mhendriks mhendriks added the Status: Awaiting triage Issue is waiting for triage label Jan 2, 2023
@me-no-dev
Copy link
Member

oops... you can grab it from here, but it is a "bug" on our side to not include it in the zip

@me-no-dev me-no-dev self-assigned this Jan 2, 2023
@me-no-dev me-no-dev added Type: Bug 🐛 All bugs Priority: High 🗻 Issues with high priority which needs to be solved first. and removed Status: Awaiting triage Issue is waiting for triage labels Jan 2, 2023
me-no-dev added a commit that referenced this issue Jan 2, 2023
@mhendriks
Copy link
Author

np, thks for the info and the py file.

me-no-dev added a commit that referenced this issue Jan 6, 2023
* Fix gen_insights_package.py missing on release

Fixes: #7649

* fixes gen_insights_package.exe for Win10 and Win11

* Add insights example to be compiled by CI

Co-authored-by: Rodrigo Garcia <[email protected]>
@jpsuarezq
Copy link

I have the same problem usign ESP32MiniS2 with win10 and Arduino IDE 2.2.1

Traceback (most recent call last):
  File "gen_insights_package.py", line 56, in <module>
  File "gen_insights_package.py", line 30, in main
  File "shutil.py", line 435, in copy2
  File "shutil.py", line 264, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Juan\\Suarez\\AppData\\Local\\Temp\\arduino\\sketches\\4E71F556FA12624D44CA39DD3F998B13.bin'
[16252] Failed to execute script 'gen_insights_package' due to unhandled exception!

exit status 1

Compilation error: exit status 1

I'm using RMakerSwitch.ino Example code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High 🗻 Issues with high priority which needs to be solved first. Type: Bug 🐛 All bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants