You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report @gillesF78!
It's possible the ESP32 in the Arduino Nano is newer than the last release of Mu was able to detect.
Could you try one of the tests installer for your OS from this link? It's not an official release, so it's not signed, but it contains the latest updates from this project: https://github.com/mu-editor/mu/actions/runs/12343185359
What were you trying to do?
Run Mu Editor with ESP32 mode
What steps did you take to trigger the issue?
What did you expect to happen?
Detect Arduino NANO ESP32
What actually happened?
Error message : mu.interface.main:1047(show_message) DEBUG: Could not find an attached ESP8266/ESP32
Operating System Version
Windows 11
Mu Version
1.2.0
Other Info
No response
Editor Log
`-----------------
Starting Mu 1.2.0
2024-10-11 11:16:24,414 - root:284(run) INFO: uname_result(system='Windows', node='PO-GSCOP-641', release='10', version='10.0.22631', machine='AMD64', processor='Intel64 Family 6 Model 165 Stepping 2, GenuineIntel')
2024-10-11 11:16:24,469 - root:285(run) INFO: Platform: Windows-10-10.0.22631-SP0
2024-10-11 11:16:24,469 - root:286(run) INFO: Python path: ['C:\Users\foucault\AppData\Local\Programs\Mu Editor\Python\python38.zip', 'C:\Users\foucault\AppData\Local\Programs\Mu Editor\Python\DLLs', 'C:\Users\foucault\AppData\Local\Programs\Mu Editor\Python\lib', 'C:\Users\foucault\AppData\Local\Programs\Mu Editor\Python', 'C:\Users\foucault\AppData\Local\Programs\Mu Editor\Python\lib\site-packages', 'C:\Users\foucault\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32', 'C:\Users\foucault\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32\lib', 'C:\Users\foucault\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\Pythonwin']
2024-10-11 11:16:24,469 - root:287(run) INFO: Language code: fr_FR
2024-10-11 11:16:24,469 - mu.settings:220(load) WARNING: No settings file found at C:\Users\foucault\AppData\Local\python\mu\settings.json; skipping
2024-10-11 11:16:24,543 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2024-10-11 11:16:24,795 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2024-10-11 11:16:24,795 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744
2024-10-11 11:16:24,802 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744\scripts\python.exe
2024-10-11 11:16:24,803 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744\scripts\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2024-10-11 11:16:24,939 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2024-10-11 11:16:24,939 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2024-10-11 11:16:24,941 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744\scripts\pip.exe
2024-10-11 11:16:24,943 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2024-10-11 11:16:24,943 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744\scripts\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2024-10-11 11:16:25,066 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-10-11 11:16:25,066 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2024-10-11 11:16:25,066 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744\scripts\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2024-10-11 11:16:25,753 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-10-11 11:16:25,753 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2024-10-11 11:16:25,753 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744\scripts\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2024-10-11 11:16:26,433 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-10-11 11:16:26,433 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2024-10-11 11:16:26,433 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744\scripts\python.exe', '-c', 'import ipython_genutils') with kwargs {'shell': True}
2024-10-11 11:16:26,566 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-10-11 11:16:26,566 - mu.virtual_environment:662(ensure_and_create) INFO: Valid virtual environment found at C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744
2024-10-11 11:16:26,566 - mu.settings:169(save) DEBUG: Saving to C:\Users\foucault\AppData\Local\python\mu\venv.json
2024-10-11 11:16:26,580 - mu.logic:777(init) INFO: Setting up editor.
2024-10-11 11:16:26,580 - mu.logic:801(init) INFO: Log directory: C:\Users\foucault\AppData\Local\python\mu\Logs
2024-10-11 11:16:26,580 - mu.logic:802(init) INFO: Data directory: C:\Users\foucault\AppData\Local\python\mu
2024-10-11 11:16:26,581 - mu.logic:816(setup) INFO: Available modes: python, snek, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2024-10-11 11:16:26,581 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\foucault\mu_code from settings file
2024-10-11 11:16:26,631 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\foucault\mu_code from settings file
2024-10-11 11:16:26,631 - mu.logic:1583(change_mode) INFO: Workspace directory: C:\Users\foucault\mu_code
2024-10-11 11:16:26,632 - mu.logic:890(restore_session) DEBUG: <SessionSettings from C:\Users\foucault\AppData\Local\python\mu\session.json>
2024-10-11 11:16:26,638 - mu.logic:1015(_load) INFO: Loading script from: C:\gilles\enseignement\Cours\M1GM_PAX7GMAC_Programmation_Arduino\MicroPython\Files\AnalogRead_and_Print.py
2024-10-11 11:16:26,639 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2024-10-11 11:16:26,639 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2024-10-11 11:16:26,639 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\r\n'
2024-10-11 11:16:26,639 - mu.logic:1114(_load) DEBUG: from machine import ADC
from time import sleep
adc = ADC(1) # broche A0
while 1:
# conversion en entier 16 bits de 0 a 65535
val = adc.read_u16()
print("U16 --> " + str(val)) # affichage
val = adc.read()
# conversion en entier 12 bits de 0 a 4095
print("U12 --> " + str(val)) # affichage
sleep(0.1)
2024-10-11 11:16:26,898 - mu.logic:912(restore_session) INFO: Loaded files.
2024-10-11 11:16:26,898 - mu.logic:918(restore_session) INFO: User defined environment variables: {}
2024-10-11 11:16:26,898 - mu.logic:923(restore_session) INFO: Minify scripts on micro:bit? False
2024-10-11 11:16:26,918 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\foucault\mu_code from settings file
2024-10-11 11:16:26,918 - mu.logic:1583(change_mode) INFO: Workspace directory: C:\Users\foucault\mu_code
2024-10-11 11:16:30,082 - mu.logic:1439(show_admin) INFO: Showing admin with logs from C:\Users\foucault\AppData\Local\python\mu\Logs\mu.log
2024-10-11 11:16:30,082 - mu.virtual_environment:984(installed_packages) INFO: Discovering installed third party modules in venv.
2024-10-11 11:16:30,082 - mu.virtual_environment:139(run_blocking) INFO: About to run blocking C:\Users\foucault\AppData\Local\python\mu\mu_venv-38-20241011-103744\scripts\pip.exe with args ['list', '--disable-pip-version-check'] and envvars {}
2024-10-11 11:16:30,752 - mu.virtual_environment:189(wait) DEBUG: Finished: True; exitStatus 0; exitCode 0
`
The text was updated successfully, but these errors were encountered: