Skip to content

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

Closed
@mhendriks

Description

@mhendriks

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.

Activity

me-no-dev

me-no-dev commented on Jan 2, 2023

@me-no-dev
Member

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

self-assigned this
on Jan 2, 2023
mhendriks

mhendriks commented on Jan 2, 2023

@mhendriks
Author

np, thks for the info and the py file.

jpsuarezq

jpsuarezq commented on Sep 27, 2023

@jpsuarezq

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    gen_insights_package.py. -> [Errno 2] No such file or directory · Issue #7649 · espressif/arduino-esp32