Description
What were you trying to do?
To flash Micro:bit with the code in the Mu's window
What steps did you take to trigger the issue?
- Plug in the Micro:bit and select the Micro:bit mode
- Switch to REPL to confirm it is connected (it is and responds correctly)
- Write a simple Python code and save it
- Flash the code -> Could not find an attached BBC Micro:bit window
- Switch to Files and copy the currently edited file manually -> this works
What did you expect to happen?
The Flash button sends the edited code to the Micro:bit
What actually happened?
No response
Operating System Version
macOS Sequoia 15.2
Mu Version
1.2.0
Other Info
No response
Editor Log
2025-01-16 10:30:03,412 - root:283(run) INFO:
Starting Mu 1.2.0
2025-01-16 10:30:03,413 - root:284(run) INFO: uname_result(system='Darwin', node='macbook-pro-1.home', release='24.2.0', version='Darwin Kernel Version 24.2.0: Fri Dec 6 18:41:43 PST 2024; root:xnu-11215.61.5~2/RELEASE_X86_64', machine='x86_64', processor='i386')
2025-01-16 10:30:03,426 - root:285(run) INFO: Platform: macOS-15.2-x86_64-i386-64bit
2025-01-16 10:30:03,426 - root:286(run) INFO: Python path: ['/Applications/Mu Editor.app/Contents/Resources/Python/lib/python38.zip', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/lib-dynload', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages']
2025-01-16 10:30:03,426 - root:287(run) INFO: Language code: cs_CZ
2025-01-16 10:30:03,810 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2025-01-16 10:30:03,810 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2025-01-16 10:30:03,811 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354
2025-01-16 10:30:03,811 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python
2025-01-16 10:30:03,811 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': False}
2025-01-16 10:30:03,930 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2025-01-16 10:30:03,930 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2025-01-16 10:30:03,943 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/pip
2025-01-16 10:30:03,946 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2025-01-16 10:30:03,946 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import pgzero') with kwargs {'shell': False}
2025-01-16 10:30:03,979 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-01-16 10:30:03,979 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2025-01-16 10:30:03,979 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import flask') with kwargs {'shell': False}
2025-01-16 10:30:04,247 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-01-16 10:30:04,247 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2025-01-16 10:30:04,247 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import ipykernel') with kwargs {'shell': False}
2025-01-16 10:30:04,975 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-01-16 10:30:04,975 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2025-01-16 10:30:04,975 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import ipython_genutils') with kwargs {'shell': False}
2025-01-16 10:30:05,011 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-01-16 10:30:05,011 - mu.virtual_environment:662(ensure_and_create) INFO: Valid virtual environment found at /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354
2025-01-16 10:30:05,015 - mu.settings:169(save) DEBUG: Saving to /Users/mista/Library/Application Support/mu/venv.json
2025-01-16 10:30:05,039 - mu.logic:777(init) INFO: Setting up editor.
2025-01-16 10:30:05,040 - mu.logic:801(init) INFO: Log directory: /Users/mista/Library/Logs/mu
2025-01-16 10:30:05,040 - mu.logic:802(init) INFO: Data directory: /Users/mista/Library/Application Support/mu
2025-01-16 10:30:05,040 - mu.logic:816(setup) INFO: Available modes: python, snek, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2025-01-16 10:30:05,041 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:30:05,163 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:30:05,163 - mu.logic:1583(change_mode) INFO: Workspace directory: /Users/mista/mu_code
2025-01-16 10:30:05,163 - mu.logic:890(restore_session) DEBUG: <SessionSettings from /Users/mista/Library/Application Support/mu/session.json>
2025-01-16 10:30:05,169 - mu.logic:912(restore_session) INFO: Loaded files.
2025-01-16 10:30:05,169 - mu.logic:918(restore_session) INFO: User defined environment variables: {}
2025-01-16 10:30:05,169 - mu.logic:923(restore_session) INFO: Minify scripts on micro:bit? False
2025-01-16 10:30:05,186 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:30:05,187 - mu.logic:1583(change_mode) INFO: Workspace directory: /Users/mista/mu_code
2025-01-16 10:30:05,282 - mu.logic:980(restore_session) INFO: Starting with blank file.
2025-01-16 10:30:06,128 - mu.logic:756(check_usb) INFO: microbit device connected on port: /dev/cu.usbmodem144102(VID: 0x0D28, PID: 0x0204, manufacturer: 'Arm')
2025-01-16 10:30:12,251 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:30:12,265 - mu.modes.microbit:570(toggle_files) INFO: Toggle filesystem on.
2025-01-16 10:30:19,758 - mu.modes.microbit:574(toggle_files) INFO: Toggle filesystem off.
2025-01-16 10:30:31,051 - mu.modes.microbit:273(flash) INFO: Preparing to flash script.
2025-01-16 10:30:31,051 - mu.modes.microbit:280(flash) DEBUG: Python script from 'untitled' tab:
2025-01-16 10:30:31,051 - mu.modes.microbit:281(flash) DEBUG: b'# Write your code here :-)\n'
2025-01-16 10:30:31,080 - mu.modes.microbit:229(find_microbit) INFO: Path to micro:bit: None
2025-01-16 10:30:31,080 - mu.modes.microbit:235(find_microbit) INFO: Serial port: /dev/cu.usbmodem144102
2025-01-16 10:30:31,080 - mu.modes.microbit:236(find_microbit) INFO: Device serial number: 9906360200052820ce337b2476642342000000006e052820
2025-01-16 10:30:31,080 - mu.modes.microbit:237(find_microbit) INFO: Board ID: 0x9906
2025-01-16 10:30:34,519 - mu.interface.main:457(get_microbit_path) DEBUG: Getting micro:bit path:
2025-01-16 10:30:34,520 - mu.modes.microbit:299(flash) DEBUG: User defined path to micro:bit:
2025-01-16 10:30:34,607 - mu.interface.main:1047(show_message) DEBUG: Could not find an attached BBC micro:bit.
2025-01-16 10:30:34,607 - mu.interface.main:1048(show_message) DEBUG: Please ensure you leave enough time for the BBC micro:bit to be attached and configured correctly by your computer. This may take several seconds. Alternatively, try removing and re-attaching the device or saving your work and restarting Mu if the device remains unfound.
2025-01-16 10:34:02,652 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:34:02,663 - mu.modes.microbit:570(toggle_files) INFO: Toggle filesystem on.
2025-01-16 10:34:31,142 - mu.modes.microbit:574(toggle_files) INFO: Toggle filesystem off.
2025-01-16 10:34:33,934 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:34:33,942 - mu.modes.microbit:570(toggle_files) INFO: Toggle filesystem on.
2025-01-16 10:34:41,708 - mu.interface.panes:716(dropEvent) INFO: Copying '/Users/mista/mu_code/main.py' to device.
2025-01-16 10:35:13,070 - mu.interface.panes:827(contextMenuEvent) INFO: Open main.py internally
2025-01-16 10:35:13,070 - mu.logic:1015(_load) INFO: Loading script from: /Users/mista/mu_code/main.py
2025-01-16 10:35:13,070 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2025-01-16 10:35:13,070 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2025-01-16 10:35:13,071 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2025-01-16 10:35:13,071 - mu.logic:1114(_load) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello", loop = True)
2025-01-16 10:35:22,635 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:35:22,635 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = True)
2025-01-16 10:35:30,038 - mu.interface.panes:716(dropEvent) INFO: Copying '/Users/mista/mu_code/main.py' to device.
2025-01-16 10:35:43,760 - mu.modes.microbit:574(toggle_files) INFO: Toggle filesystem off.
2025-01-16 10:36:12,700 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:36:12,700 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = True)
2025-01-16 10:36:12,702 - mu.logic:1623(autosave) INFO: Autosave detected and saved changes in /Users/mista/mu_code/main.py.
2025-01-16 10:36:17,688 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:36:17,688 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = True)
sleep(500
2025-01-16 10:36:17,690 - mu.logic:1623(autosave) INFO: Autosave detected and saved changes in /Users/mista/mu_code/main.py.
2025-01-16 10:36:19,972 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:36:19,972 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = True)
sleep(5000)
2025-01-16 10:36:24,231 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:36:24,232 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = True)
sleep(5000)
2025-01-16 10:36:27,848 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:36:27,855 - mu.modes.microbit:570(toggle_files) INFO: Toggle filesystem on.
2025-01-16 10:36:33,300 - mu.interface.panes:716(dropEvent) INFO: Copying '/Users/mista/mu_code/main.py' to device.
2025-01-16 10:37:12,688 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:37:12,689 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = False)
sleep(5000)
2025-01-16 10:37:12,692 - mu.logic:1623(autosave) INFO: Autosave detected and saved changes in /Users/mista/mu_code/main.py.
2025-01-16 10:37:17,687 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:37:17,688 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = Falseß)
sleep(5000)
2025-01-16 10:37:17,689 - mu.logic:1623(autosave) INFO: Autosave detected and saved changes in /Users/mista/mu_code/main.py.
2025-01-16 10:37:19,719 - mu.interface.panes:716(dropEvent) INFO: Copying '/Users/mista/mu_code/main.py' to device.
2025-01-16 10:37:27,687 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:37:27,688 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = False)
sleep(5000)
2025-01-16 10:37:27,691 - mu.logic:1623(autosave) INFO: Autosave detected and saved changes in /Users/mista/mu_code/main.py.
2025-01-16 10:37:32,689 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:37:32,689 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = False)
sleep(5000)
2025-01-16 10:37:32,693 - mu.logic:1623(autosave) INFO: Autosave detected and saved changes in /Users/mista/mu_code/main.py.
2025-01-16 10:37:37,689 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:37:37,689 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = False)
sleep(5000)
2025-01-16 10:37:37,693 - mu.logic:1623(autosave) INFO: Autosave detected and saved changes in /Users/mista/mu_code/main.py.
2025-01-16 10:37:54,114 - mu.logic:992(toggle_theme) INFO: Toggle theme to: contrast
2025-01-16 10:38:11,981 - mu.logic:992(toggle_theme) INFO: Toggle theme to: day
2025-01-16 10:38:13,717 - mu.logic:992(toggle_theme) INFO: Toggle theme to: night
2025-01-16 10:38:15,164 - mu.logic:992(toggle_theme) INFO: Toggle theme to: contrast
2025-01-16 10:38:16,314 - mu.logic:992(toggle_theme) INFO: Toggle theme to: day
2025-01-16 10:38:28,448 - mu.logic:1223(save_tab_to_file) INFO: Saving script to: /Users/mista/mu_code/main.py
2025-01-16 10:38:28,449 - mu.logic:1224(save_tab_to_file) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = False)
sleep(5000)
2025-01-16 10:38:33,854 - mu.interface.panes:716(dropEvent) INFO: Copying '/Users/mista/mu_code/main.py' to device.
2025-01-16 10:39:15,375 - mu.modes.microbit:574(toggle_files) INFO: Toggle filesystem off.
2025-01-16 10:39:17,466 - mu.modes.base:112(open) INFO: Connecting to REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:39:17,484 - mu.modes.base:130(open) INFO: Connected to REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:39:17,498 - mu.modes.base:510(add_repl) INFO: Started REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:39:17,499 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2025-01-16 10:40:04,858 - mu.settings:169(save) DEBUG: Saving to /Users/mista/Library/Application Support/mu/session.json
2025-01-16 10:40:04,859 - mu.logic:1430(quit) INFO: Quitting.
2025-01-16 10:40:04,859 - mu.settings:169(save) DEBUG: Saving to /Users/mista/Library/Application Support/mu/session.json
2025-01-16 10:40:04,860 - mu.settings:169(save) DEBUG: Saving to /Users/mista/Library/Application Support/mu/venv.json
2025-01-16 10:51:12,096 - root:283(run) INFO:
Starting Mu 1.2.0
2025-01-16 10:51:12,096 - root:284(run) INFO: uname_result(system='Darwin', node='MacBook-Pro.local', release='24.2.0', version='Darwin Kernel Version 24.2.0: Fri Dec 6 18:41:43 PST 2024; root:xnu-11215.61.5~2/RELEASE_X86_64', machine='x86_64', processor='i386')
2025-01-16 10:51:12,108 - root:285(run) INFO: Platform: macOS-15.2-x86_64-i386-64bit
2025-01-16 10:51:12,108 - root:286(run) INFO: Python path: ['/Applications/Mu Editor.app/Contents/Resources/Python/lib/python38.zip', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/lib-dynload', '/Applications/Mu Editor.app/Contents/Resources/Python/lib/python3.8/site-packages']
2025-01-16 10:51:12,108 - root:287(run) INFO: Language code: cs_CZ
2025-01-16 10:51:12,451 - mu.virtual_environment:619(ensure_and_create) INFO: Added log handler.
2025-01-16 10:51:12,452 - mu.virtual_environment:630(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2025-01-16 10:51:12,453 - mu.virtual_environment:719(ensure_path) INFO: Virtual Environment found at: /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354
2025-01-16 10:51:12,453 - mu.virtual_environment:732(ensure_interpreter) INFO: Interpreter found at: /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python
2025-01-16 10:51:12,454 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': False}
2025-01-16 10:51:12,572 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: 38
2025-01-16 10:51:12,572 - mu.virtual_environment:786(ensure_interpreter_version) INFO: Both interpreters at version 38
2025-01-16 10:51:12,576 - mu.virtual_environment:815(ensure_pip) INFO: Pip found at: /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/pip
2025-01-16 10:51:12,579 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: pgzero
2025-01-16 10:51:12,579 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import pgzero') with kwargs {'shell': False}
2025-01-16 10:51:12,618 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-01-16 10:51:12,618 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: flask
2025-01-16 10:51:12,618 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import flask') with kwargs {'shell': False}
2025-01-16 10:51:12,911 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-01-16 10:51:12,911 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2025-01-16 10:51:12,911 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import ipykernel') with kwargs {'shell': False}
2025-01-16 10:51:13,752 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-01-16 10:51:13,752 - mu.virtual_environment:798(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2025-01-16 10:51:13,752 - mu.virtual_environment:463(run_subprocess) INFO: Running ('/Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/python', '-c', 'import ipython_genutils') with kwargs {'shell': False}
2025-01-16 10:51:13,792 - mu.virtual_environment:475(run_subprocess) DEBUG: Process returned 0; output: No output received.
2025-01-16 10:51:13,792 - mu.virtual_environment:662(ensure_and_create) INFO: Valid virtual environment found at /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354
2025-01-16 10:51:13,792 - mu.settings:169(save) DEBUG: Saving to /Users/mista/Library/Application Support/mu/venv.json
2025-01-16 10:51:13,810 - mu.logic:777(init) INFO: Setting up editor.
2025-01-16 10:51:13,811 - mu.logic:801(init) INFO: Log directory: /Users/mista/Library/Logs/mu
2025-01-16 10:51:13,811 - mu.logic:802(init) INFO: Data directory: /Users/mista/Library/Application Support/mu
2025-01-16 10:51:13,811 - mu.logic:816(setup) INFO: Available modes: python, snek, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2025-01-16 10:51:13,811 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:51:13,850 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:51:13,850 - mu.logic:1583(change_mode) INFO: Workspace directory: /Users/mista/mu_code
2025-01-16 10:51:13,850 - mu.logic:890(restore_session) DEBUG: <SessionSettings from /Users/mista/Library/Application Support/mu/session.json>
2025-01-16 10:51:13,854 - mu.logic:1015(_load) INFO: Loading script from: /Users/mista/mu_code/main.py
2025-01-16 10:51:13,855 - mu.logic:332(read_and_decode) DEBUG: Trying to decode with utf-8
2025-01-16 10:51:13,855 - mu.logic:335(read_and_decode) INFO: Decoded with utf-8
2025-01-16 10:51:13,855 - mu.logic:348(read_and_decode) DEBUG: Detected newline '\n'
2025-01-16 10:51:13,855 - mu.logic:1114(_load) DEBUG: # Write your code here :-)
from microbit import *
while True:
display.scroll("Hello there", loop = False)
sleep(5000)
2025-01-16 10:51:13,931 - mu.logic:912(restore_session) INFO: Loaded files.
2025-01-16 10:51:13,931 - mu.logic:918(restore_session) INFO: User defined environment variables: {}
2025-01-16 10:51:13,931 - mu.logic:923(restore_session) INFO: Minify scripts on micro:bit? False
2025-01-16 10:51:13,946 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:51:13,946 - mu.logic:1583(change_mode) INFO: Workspace directory: /Users/mista/mu_code
2025-01-16 10:51:14,799 - mu.logic:756(check_usb) INFO: microbit device connected on port: /dev/cu.usbmodem144102(VID: 0x0D28, PID: 0x0204, manufacturer: 'Arm')
2025-01-16 10:51:18,315 - mu.modes.microbit:273(flash) INFO: Preparing to flash script.
2025-01-16 10:51:18,315 - mu.modes.microbit:280(flash) DEBUG: Python script from 'main.py' tab:
2025-01-16 10:51:18,315 - mu.modes.microbit:281(flash) DEBUG: b'# Write your code here :-)\nfrom microbit import *\n\nwhile True:\n display.scroll("Hello there", loop = False)\n sleep(5000)\n'
2025-01-16 10:51:18,344 - mu.modes.microbit:229(find_microbit) INFO: Path to micro:bit: None
2025-01-16 10:51:18,345 - mu.modes.microbit:235(find_microbit) INFO: Serial port: /dev/cu.usbmodem144102
2025-01-16 10:51:18,345 - mu.modes.microbit:236(find_microbit) INFO: Device serial number: 9906360200052820ce337b2476642342000000006e052820
2025-01-16 10:51:18,345 - mu.modes.microbit:237(find_microbit) INFO: Board ID: 0x9906
2025-01-16 10:51:21,431 - mu.interface.main:457(get_microbit_path) DEBUG: Getting micro:bit path:
2025-01-16 10:51:21,431 - mu.modes.microbit:299(flash) DEBUG: User defined path to micro:bit:
2025-01-16 10:51:21,448 - mu.interface.main:1047(show_message) DEBUG: Could not find an attached BBC micro:bit.
2025-01-16 10:51:21,448 - mu.interface.main:1048(show_message) DEBUG: Please ensure you leave enough time for the BBC micro:bit to be attached and configured correctly by your computer. This may take several seconds. Alternatively, try removing and re-attaching the device or saving your work and restarting Mu if the device remains unfound.
2025-01-16 10:51:33,730 - mu.modes.base:112(open) INFO: Connecting to REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:51:33,744 - mu.modes.base:130(open) INFO: Connected to REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:51:33,749 - mu.modes.base:510(add_repl) INFO: Started REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:51:33,749 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2025-01-16 10:54:24,930 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:54:24,978 - mu.modes.base:478(toggle_repl) INFO: Toggle REPL off.
2025-01-16 10:54:26,813 - mu.modes.base:61(get_default_workspace) INFO: Using workspace /Users/mista/mu_code from settings file
2025-01-16 10:54:26,823 - mu.modes.microbit:570(toggle_files) INFO: Toggle filesystem on.
2025-01-16 10:54:30,225 - mu.modes.microbit:574(toggle_files) INFO: Toggle filesystem off.
2025-01-16 10:54:30,944 - mu.modes.base:112(open) INFO: Connecting to REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:54:30,959 - mu.modes.base:130(open) INFO: Connected to REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:54:30,965 - mu.modes.base:510(add_repl) INFO: Started REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:54:30,966 - mu.modes.base:481(toggle_repl) INFO: Toggle REPL on.
2025-01-16 10:55:26,694 - mu.logic:1530(select_mode) INFO: Showing available modes: ['python', 'snek', 'circuitpython', 'microbit', 'esp', 'web', 'pyboard', 'debugger', 'pygamezero', 'lego', 'pico']
2025-01-16 10:57:27,792 - mu.modes.base:136(close) INFO: Closing connection to REPL on port: /dev/cu.usbmodem144102
2025-01-16 10:57:27,844 - mu.modes.base:478(toggle_repl) INFO: Toggle REPL off.
2025-01-16 10:57:29,226 - mu.modes.microbit:273(flash) INFO: Preparing to flash script.
2025-01-16 10:57:29,226 - mu.modes.microbit:280(flash) DEBUG: Python script from 'main.py' tab:
2025-01-16 10:57:29,226 - mu.modes.microbit:281(flash) DEBUG: b'# Write your code here :-)\nfrom microbit import *\n\nwhile True:\n display.scroll("Hello there", loop = False)\n sleep(5000)\n'
2025-01-16 10:57:29,254 - mu.modes.microbit:229(find_microbit) INFO: Path to micro:bit: None
2025-01-16 10:57:29,254 - mu.modes.microbit:235(find_microbit) INFO: Serial port: /dev/cu.usbmodem144102
2025-01-16 10:57:29,254 - mu.modes.microbit:236(find_microbit) INFO: Device serial number: 9906360200052820ce337b2476642342000000006e052820
2025-01-16 10:57:29,254 - mu.modes.microbit:237(find_microbit) INFO: Board ID: 0x9906
2025-01-16 10:57:32,161 - mu.interface.main:457(get_microbit_path) DEBUG: Getting micro:bit path:
2025-01-16 10:57:32,161 - mu.modes.microbit:299(flash) DEBUG: User defined path to micro:bit:
2025-01-16 10:57:32,169 - mu.interface.main:1047(show_message) DEBUG: Could not find an attached BBC micro:bit.
2025-01-16 10:57:32,169 - mu.interface.main:1048(show_message) DEBUG: Please ensure you leave enough time for the BBC micro:bit to be attached and configured correctly by your computer. This may take several seconds. Alternatively, try removing and re-attaching the device or saving your work and restarting Mu if the device remains unfound.
2025-01-16 11:03:45,956 - mu.logic:1439(show_admin) INFO: Showing admin with logs from /Users/mista/Library/Logs/mu/mu.log
2025-01-16 11:03:45,956 - mu.virtual_environment:984(installed_packages) INFO: Discovering installed third party modules in venv.
2025-01-16 11:03:45,957 - mu.virtual_environment:139(run_blocking) INFO: About to run blocking /Users/mista/Library/Application Support/mu/mu_venv-38-20240910-110354/bin/pip with args ['list', '--disable-pip-version-check'] and envvars {}
2025-01-16 11:03:46,651 - mu.virtual_environment:189(wait) DEBUG: Finished: True; exitStatus 0; exitCode 0
2025-01-16 11:03:46,652 - mu.virtual_environment:274(run) DEBUG: Process output: Package Version
appnope 0.1.3
asttokens 2.1.0
backcall 0.2.0
click 8.1.3
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
pexpect 4.8.0
pgzero 1.2.1
pickleshare 0.7.5
pip 22.2.2
platformdirs 2.5.4
prompt-toolkit 3.0.32
ptyprocess 0.7.0
pure-eval 0.2.2
pygame 2.1.2
Pygments 2.13.0
python-dateutil 2.8.2
pyzmq 24.0.1
setuptools 65.3.0
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.37.1
2025-01-16 11:03:46,652 - mu.virtual_environment:993(installed_packages) INFO: []