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

Mu Python not working, nothing showing up in serial line, Circuit playground express not responding #2532

Open
mboysen48 opened this issue Nov 20, 2024 · 0 comments

Comments

@mboysen48
Copy link

What were you trying to do?

Write code into Mu editor to program CPX

What steps did you take to trigger the issue?

Selected python for CPX, copied code from adafruit library pasted code in editor, nothing worked.

What did you expect to happen?

teh code to run , lights to change, blink etc

What actually happened?

nothing

Operating System Version

Windows 11

Mu Version

1.2

Other Info

2024-11-19 15:30:16,813 - root:283(run) INFO:


Starting Mu 1.2.0
2024-11-19 15:30:16,816 - root:284(run) INFO: uname_result(system='Windows', node='5CD4265RJ9', release='10', version='10.0.22631', machine='AMD64', processor='AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD')
2024-11-19 15:30:16,883 - root:285(run) INFO: Platform: Windows-10-10.0.22631-SP0
2024-11-19 15:30:16,884 - root:286(run) INFO: Python path: ['C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\python38.zip', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\DLLs', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\Pythonwin']
2024-11-19 15:30:16,884 - root:287(run) INFO: Language code: en_US
2024-11-19 15:30:16,884 - mu.settings:220(load) WARNING: No settings file found at C:\Users\mitch.boysen\AppData\Local\python\mu\settings.json; skipping
2024-11-19 15:30:17,097 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2024-11-19 15:30:17,097 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2024-11-19 15:30:17,099 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 15:30:17,100 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe
2024-11-19 15:30:17,100 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2024-11-19 15:30:17,956 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2024-11-19 15:30:17,957 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2024-11-19 15:30:17,969 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\pip.exe
2024-11-19 15:30:17,971 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2024-11-19 15:30:17,971 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2024-11-19 15:30:18,131 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 15:30:18,131 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2024-11-19 15:30:18,131 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2024-11-19 15:30:18,890 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 15:30:18,890 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2024-11-19 15:30:18,890 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2024-11-19 15:30:20,694 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 15:30:20,694 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2024-11-19 15:30:20,694 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipython_genutils') with kwargs {'shell': True}
2024-11-19 15:30:20,861 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 15:30:20,861 - mu.virtual_environment:662(ensure_and_create) INFO: Valid virtual environment found at C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 15:30:20,861 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 15:30:20,889 - mu.logic:777(init) INFO: Setting up editor.
2024-11-19 15:30:20,890 - mu.logic:801(init) INFO: Log directory: C:\Users\mitch.boysen\AppData\Local\python\mu\Logs
2024-11-19 15:30:20,890 - mu.logic:802(init) INFO: Data directory: C:\Users\mitch.boysen\AppData\Local\python\mu
2024-11-19 15:30:20,890 - mu.logic:816(setup) INFO: Available modes: python, snek, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2024-11-19 15:30:20,890 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 15:30:21,178 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 15:30:21,179 - mu.logic:1583(change_mode) INFO: Workspace directory: C:\Users\mitch.boysen\mu_code
2024-11-19 15:30:21,179 - mu.logic:890(restore_session) DEBUG: <SessionSettings from C:\Users\mitch.boysen\AppData\Local\python\mu\session.json>
2024-11-19 15:30:21,186 - mu.logic:1015(_load) INFO: Loading script from: F:\code.py
2024-11-19 15:30:21,186 - mu.logic:1026(_load) INFO: The file F:\code.py does not exist.
2024-11-19 15:30:21,186 - mu.logic:912(restore_session) INFO: Loaded files.
2024-11-19 15:30:21,186 - mu.logic:918(restore_session) INFO: User defined environment variables: {}
2024-11-19 15:30:21,186 - mu.logic:923(restore_session) INFO: Minify scripts on micro:bit? False
2024-11-19 15:30:21,235 - mu.logic:1583(change_mode) INFO: Workspace directory: D:
2024-11-19 15:30:21,832 - mu.logic:980(restore_session) INFO: Starting with blank file.
2024-11-19 15:30:22,011 - mu.logic:756(check_usb) INFO: circuitpython device connected on port: COM5(VID: 0x239A, PID: 0x8019, manufacturer: 'Microsoft')
2024-11-19 15:30:24,692 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM5
2024-11-19 15:30:24,794 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM5
2024-11-19 15:30:24,800 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM5
2024-11-19 15:30:24,801 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 15:30:24,810 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 15:30:24,810 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 15:30:27,803 - mu.logic:1152(get_dialog_directory) INFO: Using path for file dialog: D:
2024-11-19 15:30:31,065 - mu.interface.main:416(get_load_path) DEBUG: Getting load path: D:/code.py
2024-11-19 15:30:31,065 - mu.logic:1015(_load) INFO: Loading script from: D:/code.py
2024-11-19 15:30:31,182 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2024-11-19 15:30:31,182 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2024-11-19 15:30:31,182 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2024-11-19 15:30:31,182 - mu.logic:1114(_load) DEBUG: # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries

SPDX-License-Identifier: MIT

"""This example turns on the little red LED."""
from adafruit_circuitplayground import cp

while True:
cp.red_led = True

2024-11-19 15:30:42,885 - mu.logic:1530(select_mode) INFO: Showing available modes: ['python', 'snek', 'circuitpython', 'microbit', 'esp', 'web', 'pyboard', 'debugger', 'pygamezero', 'lego', 'pico']
2024-11-19 15:30:54,004 - mu.interface.main:1075(show_confirmation) DEBUG: There is un-saved work, closing the tab will cause you to lose it.
2024-11-19 15:30:54,004 - mu.interface.main:1076(show_confirmation) DEBUG: None
2024-11-19 15:30:57,226 - mu.logic:1152(get_dialog_directory) INFO: Using path for file dialog: D:
2024-11-19 15:31:00,663 - mu.interface.main:416(get_load_path) DEBUG: Getting load path: D:/code.py
2024-11-19 15:31:00,663 - mu.logic:1015(_load) INFO: Loading script from: D:/code.py
2024-11-19 15:31:00,664 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2024-11-19 15:31:00,664 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2024-11-19 15:31:00,664 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2024-11-19 15:31:00,664 - mu.logic:1114(_load) DEBUG: # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries

SPDX-License-Identifier: MIT

"""This example turns on the little red LED."""
from adafruit_circuitplayground import cp

while True:
cp.red_led = True

2024-11-19 15:31:08,467 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\session.json
2024-11-19 15:31:08,471 - mu.logic:1430(quit) INFO: Quitting.

2024-11-19 15:31:08,471 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\session.json
2024-11-19 15:31:08,471 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 15:44:33,799 - root:283(run) INFO:


Starting Mu 1.2.0
2024-11-19 15:44:33,799 - root:284(run) INFO: uname_result(system='Windows', node='5CD4265RJ9', release='10', version='10.0.22631', machine='AMD64', processor='AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD')
2024-11-19 15:44:33,889 - root:285(run) INFO: Platform: Windows-10-10.0.22631-SP0
2024-11-19 15:44:33,889 - root:286(run) INFO: Python path: ['C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\python38.zip', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\DLLs', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\Pythonwin']
2024-11-19 15:44:33,889 - root:287(run) INFO: Language code: en_US
2024-11-19 15:44:33,889 - mu.settings:220(load) WARNING: No settings file found at C:\Users\mitch.boysen\AppData\Local\python\mu\settings.json; skipping
2024-11-19 15:44:34,045 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2024-11-19 15:44:34,045 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2024-11-19 15:44:34,686 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 15:44:34,713 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe
2024-11-19 15:44:34,714 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2024-11-19 15:44:34,994 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2024-11-19 15:44:34,995 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2024-11-19 15:44:34,995 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\pip.exe
2024-11-19 15:44:35,000 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2024-11-19 15:44:35,000 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2024-11-19 15:44:35,203 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 15:44:35,203 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2024-11-19 15:44:35,203 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2024-11-19 15:44:35,960 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 15:44:35,960 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2024-11-19 15:44:35,960 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2024-11-19 15:44:37,566 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 15:44:37,566 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2024-11-19 15:44:37,566 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipython_genutils') with kwargs {'shell': True}
2024-11-19 15:44:37,746 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 15:44:37,747 - mu.virtual_environment:662(ensure_and_create) INFO: Valid virtual environment found at C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 15:44:37,747 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 15:44:37,799 - mu.logic:777(init) INFO: Setting up editor.
2024-11-19 15:44:37,800 - mu.logic:801(init) INFO: Log directory: C:\Users\mitch.boysen\AppData\Local\python\mu\Logs
2024-11-19 15:44:37,800 - mu.logic:802(init) INFO: Data directory: C:\Users\mitch.boysen\AppData\Local\python\mu
2024-11-19 15:44:37,800 - mu.logic:816(setup) INFO: Available modes: python, snek, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2024-11-19 15:44:37,800 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 15:44:38,129 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 15:44:38,129 - mu.logic:1583(change_mode) INFO: Workspace directory: C:\Users\mitch.boysen\mu_code
2024-11-19 15:44:38,129 - mu.logic:890(restore_session) DEBUG: <SessionSettings from C:\Users\mitch.boysen\AppData\Local\python\mu\session.json>
2024-11-19 15:44:38,134 - mu.logic:1015(_load) INFO: Loading script from: D:\code.py
2024-11-19 15:44:38,143 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2024-11-19 15:44:38,143 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2024-11-19 15:44:38,144 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2024-11-19 15:44:38,144 - mu.logic:1114(_load) DEBUG: # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries

SPDX-License-Identifier: MIT

"""This example turns on the little red LED."""
from adafruit_circuitplayground import cp

while True:
cp.red_led = True

2024-11-19 15:44:38,907 - mu.logic:912(restore_session) INFO: Loaded files.
2024-11-19 15:44:38,908 - mu.logic:918(restore_session) INFO: User defined environment variables: {}
2024-11-19 15:44:38,908 - mu.logic:923(restore_session) INFO: Minify scripts on micro:bit? False
2024-11-19 15:44:38,957 - mu.logic:1583(change_mode) INFO: Workspace directory: D:
2024-11-19 15:44:39,124 - mu.logic:756(check_usb) INFO: circuitpython device connected on port: COM5(VID: 0x239A, PID: 0x8019, manufacturer: 'Microsoft')
2024-11-19 15:44:46,812 - mu.logic:739(check_usb) INFO: circuitpython device disconnected on port: COM5(VID: 0x239A, PID: 0x8019, manufacturer Microsoft)
2024-11-19 15:44:49,889 - mu.logic:756(check_usb) INFO: circuitpython device connected on port: COM5(VID: 0x239A, PID: 0x8019, manufacturer: 'Microsoft')
2024-11-19 15:44:57,375 - mu.logic:1152(get_dialog_directory) INFO: Using path for file dialog: D:
2024-11-19 15:45:01,557 - mu.interface.main:416(get_load_path) DEBUG: Getting load path: D:/code.py
2024-11-19 15:45:01,557 - mu.logic:1015(_load) INFO: Loading script from: D:/code.py
2024-11-19 15:45:01,558 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2024-11-19 15:45:01,558 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2024-11-19 15:45:01,558 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2024-11-19 15:45:01,558 - mu.logic:1114(_load) DEBUG: # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries

SPDX-License-Identifier: MIT

"""This example turns on the little red LED."""
from adafruit_circuitplayground import cp

while True:
cp.red_led = True

2024-11-19 15:45:05,429 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM5
2024-11-19 15:45:05,531 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM5
2024-11-19 15:45:05,535 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM5
2024-11-19 15:45:05,536 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 15:45:05,554 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 15:45:05,554 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 15:45:09,475 - mu.logic:1152(get_dialog_directory) INFO: Using path for file dialog: D:
2024-11-19 15:45:13,047 - mu.interface.main:416(get_load_path) DEBUG: Getting load path: D:/code.py
2024-11-19 15:45:13,047 - mu.logic:1015(_load) INFO: Loading script from: D:/code.py
2024-11-19 15:45:13,047 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2024-11-19 15:45:13,048 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2024-11-19 15:45:13,048 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2024-11-19 15:45:13,048 - mu.logic:1114(_load) DEBUG: # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries

SPDX-License-Identifier: MIT

"""This example turns on the little red LED."""
from adafruit_circuitplayground import cp

while True:
cp.red_led = True

2024-11-19 15:45:45,835 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: COM5
2024-11-19 15:45:45,854 - mu.interface.main:1047(show_message) DEBUG: Could not find an attached device.
2024-11-19 15:45:45,854 - mu.interface.main:1048(show_message) DEBUG: Please make sure the device is plugged into this computer.

It must have a version of MicroPython (or CircuitPython) flashed onto it before the REPL will work.

Finally, press the device's reset button and wait a few seconds before trying again.
2024-11-19 15:46:31,159 - mu.logic:739(check_usb) INFO: circuitpython device disconnected on port: COM5(VID: 0x239A, PID: 0x8019, manufacturer Microsoft)
2024-11-19 15:46:31,864 - mu.logic:756(check_usb) INFO: circuitpython device connected on port: COM5(VID: 0x239A, PID: 0x8019, manufacturer: 'Microsoft')
2024-11-19 15:46:36,376 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\session.json
2024-11-19 15:46:36,399 - mu.logic:1430(quit) INFO: Quitting.

2024-11-19 15:46:36,399 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\session.json
2024-11-19 15:46:36,400 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 16:03:17,825 - root:283(run) INFO:


Starting Mu 1.2.0
2024-11-19 16:03:17,825 - root:284(run) INFO: uname_result(system='Windows', node='5CD4265RJ9', release='10', version='10.0.22631', machine='AMD64', processor='AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD')
2024-11-19 16:03:17,884 - root:285(run) INFO: Platform: Windows-10-10.0.22631-SP0
2024-11-19 16:03:17,884 - root:286(run) INFO: Python path: ['C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\python38.zip', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\DLLs', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\Pythonwin']
2024-11-19 16:03:17,884 - root:287(run) INFO: Language code: en_US
2024-11-19 16:03:17,884 - mu.settings:220(load) WARNING: No settings file found at C:\Users\mitch.boysen\AppData\Local\python\mu\settings.json; skipping
2024-11-19 16:03:17,987 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2024-11-19 16:03:17,988 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2024-11-19 16:03:17,988 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 16:03:18,277 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe
2024-11-19 16:03:18,287 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2024-11-19 16:03:18,442 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2024-11-19 16:03:18,443 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2024-11-19 16:03:18,446 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\pip.exe
2024-11-19 16:03:18,448 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2024-11-19 16:03:18,448 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2024-11-19 16:03:18,544 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:03:18,544 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2024-11-19 16:03:18,544 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2024-11-19 16:03:18,978 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:03:18,978 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2024-11-19 16:03:18,979 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2024-11-19 16:03:19,992 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:03:19,992 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2024-11-19 16:03:19,993 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipython_genutils') with kwargs {'shell': True}
2024-11-19 16:03:20,094 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:03:20,094 - mu.virtual_environment:662(ensure_and_create) INFO: Valid virtual environment found at C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 16:03:20,094 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 16:03:20,123 - mu.logic:777(init) INFO: Setting up editor.
2024-11-19 16:03:20,123 - mu.logic:801(init) INFO: Log directory: C:\Users\mitch.boysen\AppData\Local\python\mu\Logs
2024-11-19 16:03:20,123 - mu.logic:802(init) INFO: Data directory: C:\Users\mitch.boysen\AppData\Local\python\mu
2024-11-19 16:03:20,124 - mu.logic:816(setup) INFO: Available modes: python, snek, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2024-11-19 16:03:20,124 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 16:03:20,345 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 16:03:20,345 - mu.logic:1583(change_mode) INFO: Workspace directory: C:\Users\mitch.boysen\mu_code
2024-11-19 16:03:20,345 - mu.logic:890(restore_session) DEBUG: <SessionSettings from C:\Users\mitch.boysen\AppData\Local\python\mu\session.json>
2024-11-19 16:03:20,350 - mu.logic:1015(_load) INFO: Loading script from: D:\code.py
2024-11-19 16:03:20,350 - mu.logic:1026(_load) INFO: The file D:\code.py does not exist.
2024-11-19 16:03:20,350 - mu.logic:912(restore_session) INFO: Loaded files.
2024-11-19 16:03:20,350 - mu.logic:918(restore_session) INFO: User defined environment variables: {}
2024-11-19 16:03:20,350 - mu.logic:923(restore_session) INFO: Minify scripts on micro:bit? False
2024-11-19 16:03:20,384 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 16:03:20,415 - mu.interface.main:1047(show_message) DEBUG: Could not find an attached CircuitPython device.
2024-11-19 16:03:20,415 - mu.interface.main:1048(show_message) DEBUG: Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, Mu will use the directory found here:

C:\Users\mitch.boysen\mu_code

...to store your code.
2024-11-19 16:03:27,407 - mu.logic:1583(change_mode) INFO: Workspace directory: C:\Users\mitch.boysen\mu_code
2024-11-19 16:03:27,782 - mu.logic:980(restore_session) INFO: Starting with blank file.
2024-11-19 16:03:29,553 - mu.logic:756(check_usb) INFO: circuitpython device connected on port: COM5(VID: 0x239A, PID: 0x8019, manufacturer: 'Microsoft')
2024-11-19 16:03:35,174 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\session.json
2024-11-19 16:03:35,175 - mu.logic:1430(quit) INFO: Quitting.

2024-11-19 16:03:35,175 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\session.json
2024-11-19 16:03:35,176 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 16:03:39,055 - root:283(run) INFO:


Starting Mu 1.2.0
2024-11-19 16:03:39,055 - root:284(run) INFO: uname_result(system='Windows', node='5CD4265RJ9', release='10', version='10.0.22631', machine='AMD64', processor='AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD')
2024-11-19 16:03:39,129 - root:285(run) INFO: Platform: Windows-10-10.0.22631-SP0
2024-11-19 16:03:39,129 - root:286(run) INFO: Python path: ['C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\python38.zip', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\DLLs', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\Pythonwin']
2024-11-19 16:03:39,129 - root:287(run) INFO: Language code: en_US
2024-11-19 16:03:39,130 - mu.settings:220(load) WARNING: No settings file found at C:\Users\mitch.boysen\AppData\Local\python\mu\settings.json; skipping
2024-11-19 16:03:39,247 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2024-11-19 16:03:39,248 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2024-11-19 16:03:39,248 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 16:03:39,248 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe
2024-11-19 16:03:39,248 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2024-11-19 16:03:39,774 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2024-11-19 16:03:39,774 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2024-11-19 16:03:39,776 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\pip.exe
2024-11-19 16:03:39,778 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2024-11-19 16:03:39,778 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2024-11-19 16:03:39,945 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:03:39,945 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2024-11-19 16:03:39,945 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2024-11-19 16:03:40,560 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:03:40,561 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2024-11-19 16:03:40,561 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2024-11-19 16:03:41,721 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:03:41,721 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2024-11-19 16:03:41,721 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipython_genutils') with kwargs {'shell': True}
2024-11-19 16:03:41,879 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:03:41,879 - mu.virtual_environment:662(ensure_and_create) INFO: Valid virtual environment found at C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 16:03:41,879 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 16:03:41,892 - mu.logic:777(init) INFO: Setting up editor.
2024-11-19 16:03:41,893 - mu.logic:801(init) INFO: Log directory: C:\Users\mitch.boysen\AppData\Local\python\mu\Logs
2024-11-19 16:03:41,893 - mu.logic:802(init) INFO: Data directory: C:\Users\mitch.boysen\AppData\Local\python\mu
2024-11-19 16:03:41,893 - mu.logic:816(setup) INFO: Available modes: python, snek, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2024-11-19 16:03:41,893 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 16:03:41,969 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 16:03:41,970 - mu.logic:1583(change_mode) INFO: Workspace directory: C:\Users\mitch.boysen\mu_code
2024-11-19 16:03:41,970 - mu.logic:890(restore_session) DEBUG: <SessionSettings from C:\Users\mitch.boysen\AppData\Local\python\mu\session.json>
2024-11-19 16:03:41,974 - mu.logic:912(restore_session) INFO: Loaded files.
2024-11-19 16:03:41,974 - mu.logic:918(restore_session) INFO: User defined environment variables: {}
2024-11-19 16:03:41,974 - mu.logic:923(restore_session) INFO: Minify scripts on micro:bit? False
2024-11-19 16:03:41,999 - mu.logic:1583(change_mode) INFO: Workspace directory: D:
2024-11-19 16:03:42,448 - mu.logic:980(restore_session) INFO: Starting with blank file.
2024-11-19 16:03:43,039 - mu.logic:756(check_usb) INFO: circuitpython device connected on port: COM5(VID: 0x239A, PID: 0x8019, manufacturer: 'Microsoft')
2024-11-19 16:03:48,105 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM5
2024-11-19 16:03:48,206 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM5
2024-11-19 16:03:48,214 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM5
2024-11-19 16:03:48,215 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 16:03:48,225 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:03:48,226 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:03:52,316 - mu.logic:1152(get_dialog_directory) INFO: Using path for file dialog: D:
2024-11-19 16:03:59,310 - mu.interface.main:416(get_load_path) DEBUG: Getting load path: D:/code.py
2024-11-19 16:03:59,310 - mu.logic:1015(_load) INFO: Loading script from: D:/code.py
2024-11-19 16:03:59,310 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2024-11-19 16:03:59,310 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2024-11-19 16:03:59,311 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2024-11-19 16:03:59,311 - mu.logic:1114(_load) DEBUG: # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries

SPDX-License-Identifier: MIT

"""This example turns on the little red LED."""
from adafruit_circuitplayground import cp

while True:
cp.red_led = True

2024-11-19 16:04:31,975 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: COM5
2024-11-19 16:04:31,997 - mu.modes.base:478(toggle_repl) INFO: Toggle REPL off.
2024-11-19 16:04:32,626 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM5
2024-11-19 16:04:32,679 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM5
2024-11-19 16:04:32,683 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM5
2024-11-19 16:04:32,683 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 16:04:32,690 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:04:32,691 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:04:49,583 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: COM5
2024-11-19 16:04:49,606 - mu.modes.base:478(toggle_repl) INFO: Toggle REPL off.
2024-11-19 16:04:49,931 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM5
2024-11-19 16:04:49,984 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM5
2024-11-19 16:04:49,987 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM5
2024-11-19 16:04:49,987 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 16:04:49,993 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:04:49,994 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:04:59,511 - mu.logic:1343(check_code) INFO: Checking code.
2024-11-19 16:06:19,222 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: COM5
2024-11-19 16:06:19,245 - mu.modes.base:478(toggle_repl) INFO: Toggle REPL off.
2024-11-19 16:06:19,933 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM5
2024-11-19 16:06:19,987 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM5
2024-11-19 16:06:19,989 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM5
2024-11-19 16:06:19,989 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 16:06:19,997 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:06:19,997 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:06:26,046 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\session.json
2024-11-19 16:06:26,047 - mu.logic:1430(quit) INFO: Quitting.

2024-11-19 16:06:26,047 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\session.json
2024-11-19 16:06:26,047 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 16:07:10,731 - root:283(run) INFO:


Starting Mu 1.2.0
2024-11-19 16:07:10,731 - root:284(run) INFO: uname_result(system='Windows', node='5CD4265RJ9', release='10', version='10.0.22631', machine='AMD64', processor='AMD64 Family 25 Model 68 Stepping 1, AuthenticAMD')
2024-11-19 16:07:10,802 - root:285(run) INFO: Platform: Windows-10-10.0.22631-SP0
2024-11-19 16:07:10,802 - root:286(run) INFO: Python path: ['C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\python38.zip', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\DLLs', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\win32\lib', 'C:\Users\mitch.boysen\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\Pythonwin']
2024-11-19 16:07:10,802 - root:287(run) INFO: Language code: en_US
2024-11-19 16:07:10,802 - mu.settings:220(load) WARNING: No settings file found at C:\Users\mitch.boysen\AppData\Local\python\mu\settings.json; skipping
2024-11-19 16:07:10,893 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2024-11-19 16:07:10,893 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2024-11-19 16:07:11,406 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 16:07:11,416 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe
2024-11-19 16:07:11,417 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2024-11-19 16:07:11,624 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2024-11-19 16:07:11,624 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2024-11-19 16:07:11,628 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\pip.exe
2024-11-19 16:07:11,629 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2024-11-19 16:07:11,629 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2024-11-19 16:07:11,806 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:07:11,806 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2024-11-19 16:07:11,806 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2024-11-19 16:07:12,406 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:07:12,406 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2024-11-19 16:07:12,406 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2024-11-19 16:07:13,477 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:07:13,477 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2024-11-19 16:07:13,477 - mu.virtual_environment:463(run_subprocess) INFO: Running ('C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\python.exe', '-c', 'import ipython_genutils') with kwargs {'shell': True}
2024-11-19 16:07:13,634 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2024-11-19 16:07:13,635 - mu.virtual_environment:662(ensure_and_create) INFO: Valid virtual environment found at C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235
2024-11-19 16:07:13,635 - mu.settings:169(save) DEBUG: Saving to C:\Users\mitch.boysen\AppData\Local\python\mu\venv.json
2024-11-19 16:07:13,647 - mu.logic:777(init) INFO: Setting up editor.
2024-11-19 16:07:13,647 - mu.logic:801(init) INFO: Log directory: C:\Users\mitch.boysen\AppData\Local\python\mu\Logs
2024-11-19 16:07:13,647 - mu.logic:802(init) INFO: Data directory: C:\Users\mitch.boysen\AppData\Local\python\mu
2024-11-19 16:07:13,648 - mu.logic:816(setup) INFO: Available modes: python, snek, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2024-11-19 16:07:13,648 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 16:07:13,741 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\mitch.boysen\mu_code from settings file
2024-11-19 16:07:13,741 - mu.logic:1583(change_mode) INFO: Workspace directory: C:\Users\mitch.boysen\mu_code
2024-11-19 16:07:13,741 - mu.logic:890(restore_session) DEBUG: <SessionSettings from C:\Users\mitch.boysen\AppData\Local\python\mu\session.json>
2024-11-19 16:07:13,776 - mu.logic:1015(_load) INFO: Loading script from: D:\code.py
2024-11-19 16:07:13,777 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2024-11-19 16:07:13,777 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2024-11-19 16:07:13,777 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2024-11-19 16:07:13,777 - mu.logic:1114(_load) DEBUG: # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries

SPDX-License-Identifier: MIT

"""This example turns on the little red LED."""
from adafruit_circuitplayground import cp

while True:
cp.red_led = True

2024-11-19 16:07:14,303 - mu.logic:912(restore_session) INFO: Loaded files.
2024-11-19 16:07:14,303 - mu.logic:918(restore_session) INFO: User defined environment variables: {}
2024-11-19 16:07:14,303 - mu.logic:923(restore_session) INFO: Minify scripts on micro:bit? False
2024-11-19 16:07:14,358 - mu.logic:1583(change_mode) INFO: Workspace directory: D:
2024-11-19 16:07:14,669 - mu.logic:756(check_usb) INFO: circuitpython device connected on port: COM1(VID: 0x239A, PID: 0x8019, manufacturer: 'Microsoft')
2024-11-19 16:07:19,220 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM1
2024-11-19 16:07:19,220 - mu.modes.base:513(add_repl) ERROR: Cannot connect to device on port COM1
2024-11-19 16:07:19,255 - mu.interface.main:1047(show_message) DEBUG: Cannot connect to device on port COM1
2024-11-19 16:07:19,256 - mu.interface.main:1048(show_message) DEBUG: Click on the device's reset button, wait a few seconds and then try again.
2024-11-19 16:07:40,534 - mu.logic:739(check_usb) INFO: circuitpython device disconnected on port: COM1(VID: 0x239A, PID: 0x8019, manufacturer Microsoft)
2024-11-19 16:07:45,561 - mu.logic:756(check_usb) INFO: circuitpython device connected on port: COM1(VID: 0x239A, PID: 0x8019, manufacturer: 'Microsoft')
2024-11-19 16:07:49,725 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 16:07:52,190 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM1
2024-11-19 16:07:52,190 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 16:08:52,987 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: COM1
2024-11-19 16:08:52,988 - mu.modes.base:478(toggle_repl) INFO: Toggle REPL off.
2024-11-19 16:08:54,440 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM1
2024-11-19 16:08:54,541 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM1
2024-11-19 16:08:54,544 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM1
2024-11-19 16:08:54,544 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 16:08:54,553 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:08:54,553 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:09:02,662 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: COM1
2024-11-19 16:09:02,683 - mu.modes.base:478(toggle_repl) INFO: Toggle REPL off.
2024-11-19 16:09:03,587 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM1
2024-11-19 16:09:03,641 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM1
2024-11-19 16:09:03,644 - mu.modes.base:510(add_repl) INFO: Started REPL on port: COM1
2024-11-19 16:09:03,644 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2024-11-19 16:09:03,652 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:09:03,653 - mu.interface.panes:447(process_tty_data) WARNING: dropped title 🐍Done | 9.2.0
2024-11-19 16:09:32,288 - mu.interface.main:1075(show_confirmation) DEBUG: There is un-saved work, closing the tab will cause you to lose it.
2024-11-19 16:09:32,288 - mu.interface.main:1076(show_confirmation) DEBUG: None
2024-11-19 16:09:38,161 - mu.logic:999(new) INFO: Added a new tab.
2024-11-19 16:09:59,216 - mu.logic:1152(get_dialog_directory) INFO: Using path for file dialog: D:
2024-11-19 16:10:07,327 - mu.interface.main:441(get_save_path) DEBUG: Getting save path: D:/code.py
2024-11-19 16:10:07,327 - mu.logic:1261(check_for_shadow_module) INFO: Checking path "D:/code.py" for shadow module.
2024-11-19 16:10:07,327 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: D:/code.py
2024-11-19 16:10:07,327 - mu.logic:1224(save_tab_to_file) DEBUG: print(this is a POS)# Write your code here :-)

2024-11-19 16:11:20,543 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: COM1
2024-11-19 16:11:20,566 - mu.modes.base:478(toggle_repl) INFO: Toggle REPL off.
2024-11-19 16:11:30,295 - mu.logic:1439(show_admin) INFO: Showing admin with logs from C:\Users\mitch.boysen\AppData\Local\python\mu\Logs\mu.log
2024-11-19 16:11:30,295 - mu.virtual_environment:984(installed_packages) INFO: Discovering installed third party modules in venv.
2024-11-19 16:11:30,295 - mu.virtual_environment:139(run_blocking) INFO: About to run blocking C:\Users\mitch.boysen\AppData\Local\python\mu\mu_venv-38-20241118-201235\scripts\pip.exe with args ['list', '--disable-pip-version-check'] and envvars {}
2024-11-19 16:11:35,887 - mu.virtual_environment:189(wait) DEBUG: Finished: True; exitStatus 0; exitCode 0
2024-11-19 16:11:35,887 - mu.virtual_environment:274(run) DEBUG: Process output: Package Version


asttokens 2.1.0
backcall 0.2.0
click 8.1.3
colorama 0.4.6
decorator 5.1.1
entrypoints 0.4
executing 1.2.0
Flask 2.0.3
ipykernel 5.5.6
ipython 8.6.0
ipython-genutils 0.2.0
itsdangerous 2.1.2
jedi 0.18.1
Jinja2 3.1.2
jupyter_client 7.4.5
jupyter_core 5.0.0
MarkupSafe 2.1.1
matplotlib-inline 0.1.6
nest-asyncio 1.5.6
numpy 1.23.4
parso 0.8.3
pgzero 1.2.1
pickleshare 0.7.5
pip 22.3.1
platformdirs 2.5.4
prompt-toolkit 3.0.32
pure-eval 0.2.2
pygame 2.1.2
Pygments 2.13.0
python-dateutil 2.8.2
pywin32 305
pyzmq 24.0.1
setuptools 65.5.1
six 1.16.0
stack-data 0.6.1
tornado 6.2
traitlets 5.5.0
wcwidth 0.2.5
Werkzeug 2.2.2
wheel 0.38.4
2024-11-19 16:11:35,887 - mu.virtual_environment:993(installed_packages) INFO: []

Editor Log

Tried uninstalling Mu, all appdata files, rebooted CPX installed new bootloader for CPX, installed latest uf2 for CPX, reinstalled Mu editor

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

1 participant