mu-editor / mu

A small, simple editor for beginner Python programmers. Written in Python and Qt5.
http://codewith.mu
GNU General Public License v3.0
1.42k stars 437 forks source link

Mu produces warnings whist starting - raspberry pi #649

Closed rhubarbdog closed 6 years ago

rhubarbdog commented 6 years ago

If you are reporting a bug, we would like to know: HI, I'm trying mu installation and execution on my raspberry pi 3b+ running raspbian debian version 9.4. I installed mu as per the instructions at codewith.mu typing sudo apt-get install mu-editor From a terminal i entered mu-editor I get the following output

Logging to /home/phil/.cache/mu/log/mu.log
libEGL warning: DRI2: failed to authenticate
qt5ct: using qt5ct plugin
qt5ct: custom style sheet is disabled

is the libEGL warning a problem, is it for you to fix in Mu or the package for installation or do i need to do something to my Raspberry Pi? It's a pretty new installation from a NOOBS disk with hardly any extra software installed. I'm using mu version 1.0.0


2018-09-12 14:51:14,306 - root:112(run) INFO:


Starting Mu 1.0.0 2018-09-12 14:51:14,307 - root:113(run) INFO: uname_result(system='Linux', node='raspberry03', release='4.14.52-v7+', version='#1123 SMP Wed Jun 27 17:35:49 BST 2018', machine='armv7l', processor='') 2018-09-12 14:51:14,307 - root:114(run) INFO: Python path: ['/usr/bin', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-arm-linux-gnueabihf', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/IPython/extensions'] 2018-09-12 14:51:15,137 - mu.logic:540(init) INFO: Setting up editor. 2018-09-12 14:51:15,138 - mu.logic:556(init) DEBUG: Creating directory: /home/phil/.local/share/mu 2018-09-12 14:51:15,139 - mu.logic:313(get_admin_file_path) DEBUG: Creating admin file: /home/phil/.local/share/mu/settings.json 2018-09-12 14:51:15,140 - mu.logic:558(init) INFO: Settings path: /home/phil/.local/share/mu/settings.json 2018-09-12 14:51:15,141 - mu.logic:313(get_admin_file_path) DEBUG: Creating admin file: /home/phil/.local/share/mu/session.json 2018-09-12 14:51:15,142 - mu.logic:559(init) INFO: Session path: /home/phil/.local/share/mu/session.json 2018-09-12 14:51:15,142 - mu.logic:560(init) INFO: Log directory: /home/phil/.cache/mu/log 2018-09-12 14:51:15,142 - mu.logic:561(init) INFO: Data directory: /home/phil/.local/share/mu 2018-09-12 14:51:15,414 - mu.logic:574(setup) INFO: Available modes: debugger, microbit, adafruit, pygamezero, python 2018-09-12 14:51:15,415 - mu.logic:578(setup) DEBUG: Creating directory: /home/phil/mu_code 2018-09-12 14:51:15,416 - mu.logic:586(setup) DEBUG: Creating directory: /home/phil/mu_code/images 2018-09-12 14:51:15,418 - mu.logic:593(setup) DEBUG: Creating directory: /home/phil/mu_code/fonts 2018-09-12 14:51:15,419 - mu.logic:596(setup) DEBUG: Creating directory: /home/phil/mu_code/sounds 2018-09-12 14:51:15,421 - mu.logic:601(setup) DEBUG: Creating directory: /home/phil/mu_code/music 2018-09-12 14:51:15,771 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 14:51:15,773 - mu.logic:623(restore_session) INFO: Restoring session from: /home/phil/.local/share/mu/session.json 2018-09-12 14:51:15,773 - mu.logic:624(restore_session) DEBUG: {} 2018-09-12 14:51:15,774 - mu.logic:1067(select_mode) INFO: Showing available modes: ['debugger', 'microbit', 'adafruit', 'pygamezero', 'python'] 2018-09-12 14:51:23,191 - mu.logic:1072(select_mode) INFO: New mode selected: microbit 2018-09-12 14:51:23,316 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 14:51:24,032 - mu.logic:671(restore_session) INFO: Starting with blank file. 2018-09-12 14:51:24,111 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 14:55:30,163 - mu.modes.microbit:239(flash) INFO: Preparing to flash script. 2018-09-12 14:55:30,163 - mu.modes.microbit:249(flash) DEBUG: Python script: 2018-09-12 14:55:30,164 - mu.modes.microbit:250(flash) DEBUG: b'# Write your code here :-)\nwhile True:\n if button_a.is_pressed():\n dispaly.show("A")\n else:\n display.show("-")\n \n sleep(100)\n ' 2018-09-12 14:55:30,184 - mu.modes.microbit:297(flash) INFO: Path to micro:bit: /media/phil/MICROBIT 2018-09-12 14:55:30,217 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 14:55:30,218 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:55:30,218 - mu.modes.microbit:302(flash) INFO: Serial port: /dev/ttyACM0 2018-09-12 14:55:30,218 - mu.modes.microbit:303(flash) INFO: Device serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:55:30,219 - mu.modes.microbit:328(flash) INFO: Checking target device. 2018-09-12 14:55:30,762 - mu.modes.microbit:332(flash) INFO: {'release': '1.0.0-rc.2', 'version': 'micro:bit v1.0.0-rc.2+da7ce60 on 2018-07-19; MicroPython v1.9.2-34-gd64154c73 on 2017-09-01', 'machine': 'micro:bit with nRF51822', 'sysname': 'microbit', 'nodename': 'microbit'} 2018-09-12 14:55:30,764 - mu.modes.microbit:351(flash) INFO: Board MicroPython: 1.0.0-rc.2 2018-09-12 14:55:30,765 - mu.modes.microbit:353(flash) INFO: Mu MicroPython: 1.0.0-rc.2 2018-09-12 14:55:30,767 - mu.modes.microbit:505(copy_main) INFO: Copying main.py onto device 2018-09-12 14:55:30,768 - mu.modes.microbit:515(copy_main) INFO: ["fd = open('main.py', 'wb')", 'f = fd.write', "f(b'# Write your code here :-)\nwhile True:\n if button_a.is_presse')", 'f(b\'d():\n dispaly.show("A")\n else:\n display.show("-\')', 'f(b\'")\n \n sleep(100)\n \')', 'fd.close()'] 2018-09-12 14:55:31,238 - mu.modes.microbit:518(copy_main) INFO: (b'', b'') 2018-09-12 14:56:16,968 - mu.modes.microbit:239(flash) INFO: Preparing to flash script. 2018-09-12 14:56:16,969 - mu.modes.microbit:249(flash) DEBUG: Python script: 2018-09-12 14:56:16,969 - mu.modes.microbit:250(flash) DEBUG: b'from microbit import \n\nwhile True:\n if button_a.is_pressed():\n dispaly.show("A")\n else:\n display.show("-")\n \n sleep(100)\n ' 2018-09-12 14:56:16,989 - mu.modes.microbit:297(flash) INFO: Path to micro:bit: /media/phil/MICROBIT 2018-09-12 14:56:17,023 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 14:56:17,023 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:56:17,024 - mu.modes.microbit:302(flash) INFO: Serial port: /dev/ttyACM0 2018-09-12 14:56:17,024 - mu.modes.microbit:303(flash) INFO: Device serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:56:17,024 - mu.modes.microbit:328(flash) INFO: Checking target device. 2018-09-12 14:56:17,558 - mu.modes.microbit:332(flash) INFO: {'release': '1.0.0-rc.2', 'version': 'micro:bit v1.0.0-rc.2+da7ce60 on 2018-07-19; MicroPython v1.9.2-34-gd64154c73 on 2017-09-01', 'machine': 'micro:bit with nRF51822', 'sysname': 'microbit', 'nodename': 'microbit'} 2018-09-12 14:56:17,559 - mu.modes.microbit:351(flash) INFO: Board MicroPython: 1.0.0-rc.2 2018-09-12 14:56:17,560 - mu.modes.microbit:353(flash) INFO: Mu MicroPython: 1.0.0-rc.2 2018-09-12 14:56:17,561 - mu.modes.microbit:505(copy_main) INFO: Copying main.py onto device 2018-09-12 14:56:17,562 - mu.modes.microbit:515(copy_main) INFO: ["fd = open('main.py', 'wb')", 'f = fd.write', "f(b'from microbit import \n\nwhile True:\n if button_a.is_pressed()')", 'f(b\':\n dispaly.show("A")\n else:\n display.show("-")\n\')', "f(b' \n sleep(100)\n ')", 'fd.close()'] 2018-09-12 14:56:18,031 - mu.modes.microbit:518(copy_main) INFO: (b'', b'') 2018-09-12 14:56:23,990 - mu.modes.microbit:239(flash) INFO: Preparing to flash script. 2018-09-12 14:56:23,991 - mu.modes.microbit:249(flash) DEBUG: Python script: 2018-09-12 14:56:23,991 - mu.modes.microbit:250(flash) DEBUG: b'from microbit import \n\nwhile True:\n if button_a.is_pressed():\n dispaly.show("A")\n else:\n display.show("-")\n \n sleep(100)\n ' 2018-09-12 14:56:24,011 - mu.modes.microbit:297(flash) INFO: Path to micro:bit: /media/phil/MICROBIT 2018-09-12 14:56:24,045 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 14:56:24,045 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:56:24,046 - mu.modes.microbit:302(flash) INFO: Serial port: /dev/ttyACM0 2018-09-12 14:56:24,046 - mu.modes.microbit:303(flash) INFO: Device serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:56:24,046 - mu.modes.microbit:328(flash) INFO: Checking target device. 2018-09-12 14:56:24,598 - mu.modes.microbit:332(flash) INFO: {'release': '1.0.0-rc.2', 'version': 'micro:bit v1.0.0-rc.2+da7ce60 on 2018-07-19; MicroPython v1.9.2-34-gd64154c73 on 2017-09-01', 'machine': 'micro:bit with nRF51822', 'sysname': 'microbit', 'nodename': 'microbit'} 2018-09-12 14:56:24,599 - mu.modes.microbit:351(flash) INFO: Board MicroPython: 1.0.0-rc.2 2018-09-12 14:56:24,600 - mu.modes.microbit:353(flash) INFO: Mu MicroPython: 1.0.0-rc.2 2018-09-12 14:56:24,601 - mu.modes.microbit:505(copy_main) INFO: Copying main.py onto device 2018-09-12 14:56:24,602 - mu.modes.microbit:515(copy_main) INFO: ["fd = open('main.py', 'wb')", 'f = fd.write', "f(b'from microbit import \n\nwhile True:\n if button_a.is_pressed()')", 'f(b\':\n dispaly.show("A")\n else:\n display.show("-")\n\')', "f(b' \n sleep(100)\n ')", 'fd.close()'] 2018-09-12 14:56:25,075 - mu.modes.microbit:518(copy_main) INFO: (b'', b'') 2018-09-12 14:56:50,432 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 14:56:50,433 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:56:50,468 - mu.modes.base:268(add_repl) INFO: Started REPL on port: /dev/ttyACM0 2018-09-12 14:56:50,469 - mu.modes.base:249(toggle_repl) INFO: Toggle REPL on. 2018-09-12 14:57:44,271 - mu.modes.base:246(toggle_repl) INFO: Toggle REPL off. 2018-09-12 14:57:46,931 - mu.modes.microbit:239(flash) INFO: Preparing to flash script. 2018-09-12 14:57:46,931 - mu.modes.microbit:249(flash) DEBUG: Python script: 2018-09-12 14:57:46,932 - mu.modes.microbit:250(flash) DEBUG: b'from microbit import \n\nwhile True:\n if button_a.is_pressed():\n display.show("A")\n else:\n display.show("-")\n \n sleep(100)\n ' 2018-09-12 14:57:46,952 - mu.modes.microbit:297(flash) INFO: Path to micro:bit: /media/phil/MICROBIT 2018-09-12 14:57:46,985 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 14:57:46,986 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:57:46,986 - mu.modes.microbit:302(flash) INFO: Serial port: /dev/ttyACM0 2018-09-12 14:57:46,986 - mu.modes.microbit:303(flash) INFO: Device serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:57:46,987 - mu.modes.microbit:328(flash) INFO: Checking target device. 2018-09-12 14:57:47,516 - mu.modes.microbit:332(flash) INFO: {'release': '1.0.0-rc.2', 'version': 'micro:bit v1.0.0-rc.2+da7ce60 on 2018-07-19; MicroPython v1.9.2-34-gd64154c73 on 2017-09-01', 'machine': 'micro:bit with nRF51822', 'sysname': 'microbit', 'nodename': 'microbit'} 2018-09-12 14:57:47,518 - mu.modes.microbit:351(flash) INFO: Board MicroPython: 1.0.0-rc.2 2018-09-12 14:57:47,519 - mu.modes.microbit:353(flash) INFO: Mu MicroPython: 1.0.0-rc.2 2018-09-12 14:57:47,520 - mu.modes.microbit:505(copy_main) INFO: Copying main.py onto device 2018-09-12 14:57:47,520 - mu.modes.microbit:515(copy_main) INFO: ["fd = open('main.py', 'wb')", 'f = fd.write', "f(b'from microbit import \n\nwhile True:\n if button_a.is_pressed()')", 'f(b\':\n display.show("A")\n else:\n display.show("-")\n\')', "f(b' \n sleep(100)\n ')", 'fd.close()'] 2018-09-12 14:57:47,990 - mu.modes.microbit:518(copy_main) INFO: (b'', b'') 2018-09-12 14:57:59,643 - mu.interface.main:729(show_confirmation) DEBUG: There is un-saved work, exiting the application will cause you to lose it. 2018-09-12 14:57:59,644 - mu.interface.main:730(show_confirmation) DEBUG: None 2018-09-12 14:58:25,781 - mu.interface.main:244(get_save_path) DEBUG: Getting save path: /home/phil/mu_code/button.py 2018-09-12 14:58:25,782 - mu.logic:874(check_for_shadow_module) INFO: Checking path "/home/phil/mu_code/button.py" for shadow module. 2018-09-12 14:58:25,783 - mu.logic:840(save_tab_to_file) INFO: Saving script to: /home/phil/mu_code/button.py 2018-09-12 14:58:25,783 - mu.logic:841(save_tab_to_file) DEBUG: from microbit import *

while True: if button_a.is_pressed(): display.show("A") else: display.show("-")

sleep(100)

2018-09-12 14:58:59,728 - mu.logic:693(new) INFO: Added a new tab. 2018-09-12 14:59:44,882 - mu.interface.main:244(get_save_path) DEBUG: Getting save path: /home/phil/mu_code/show_x.py 2018-09-12 14:59:44,883 - mu.logic:874(check_for_shadow_module) INFO: Checking path "/home/phil/mu_code/show_x.py" for shadow module. 2018-09-12 14:59:44,883 - mu.logic:840(save_tab_to_file) INFO: Saving script to: /home/phil/mu_code/show_x.py 2018-09-12 14:59:44,884 - mu.logic:841(save_tab_to_file) DEBUG: from microbit import *

display.show("X") 2018-09-12 14:59:51,291 - mu.modes.microbit:239(flash) INFO: Preparing to flash script. 2018-09-12 14:59:51,292 - mu.modes.microbit:249(flash) DEBUG: Python script: 2018-09-12 14:59:51,296 - mu.modes.microbit:250(flash) DEBUG: b'from microbit import \n\ndisplay.show("X")' 2018-09-12 14:59:51,331 - mu.modes.microbit:297(flash) INFO: Path to micro:bit: /media/phil/MICROBIT 2018-09-12 14:59:51,387 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 14:59:51,388 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:59:51,389 - mu.modes.microbit:302(flash) INFO: Serial port: /dev/ttyACM0 2018-09-12 14:59:51,389 - mu.modes.microbit:303(flash) INFO: Device serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 14:59:51,389 - mu.modes.microbit:328(flash) INFO: Checking target device. 2018-09-12 14:59:51,910 - mu.modes.microbit:332(flash) INFO: {'release': '1.0.0-rc.2', 'version': 'micro:bit v1.0.0-rc.2+da7ce60 on 2018-07-19; MicroPython v1.9.2-34-gd64154c73 on 2017-09-01', 'machine': 'micro:bit with nRF51822', 'sysname': 'microbit', 'nodename': 'microbit'} 2018-09-12 14:59:51,911 - mu.modes.microbit:351(flash) INFO: Board MicroPython: 1.0.0-rc.2 2018-09-12 14:59:51,911 - mu.modes.microbit:353(flash) INFO: Mu MicroPython: 1.0.0-rc.2 2018-09-12 14:59:51,912 - mu.modes.microbit:505(copy_main) INFO: Copying main.py onto device 2018-09-12 14:59:51,912 - mu.modes.microbit:515(copy_main) INFO: ["fd = open('main.py', 'wb')", 'f = fd.write', 'f(b\'from microbit import \n\ndisplay.show("X")\')', 'fd.close()'] 2018-09-12 14:59:52,273 - mu.modes.microbit:518(copy_main) INFO: (b'', b'') 2018-09-12 15:01:22,503 - mu.logic:1025(quit) DEBUG: Session: {'paths': ['/home/phil/mu_code/button.py'], 'minify': False, 'microbit_runtime': '', 'theme': 'day', 'envars': [], 'mode': 'microbit'} 2018-09-12 15:01:22,503 - mu.logic:1026(quit) DEBUG: Saving session to: /home/phil/.local/share/mu/session.json 2018-09-12 15:01:22,504 - mu.logic:1028(quit) INFO: Quitting.

2018-09-12 15:01:38,926 - root:112(run) INFO:


Starting Mu 1.0.0 2018-09-12 15:01:38,926 - root:113(run) INFO: uname_result(system='Linux', node='raspberry03', release='4.14.52-v7+', version='#1123 SMP Wed Jun 27 17:35:49 BST 2018', machine='armv7l', processor='') 2018-09-12 15:01:38,927 - root:114(run) INFO: Python path: ['/usr/bin', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-arm-linux-gnueabihf', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/IPython/extensions'] 2018-09-12 15:01:39,342 - mu.logic:540(init) INFO: Setting up editor. 2018-09-12 15:01:39,343 - mu.logic:558(init) INFO: Settings path: /home/phil/.local/share/mu/settings.json 2018-09-12 15:01:39,344 - mu.logic:559(init) INFO: Session path: /home/phil/.local/share/mu/session.json 2018-09-12 15:01:39,344 - mu.logic:560(init) INFO: Log directory: /home/phil/.cache/mu/log 2018-09-12 15:01:39,344 - mu.logic:561(init) INFO: Data directory: /home/phil/.local/share/mu 2018-09-12 15:01:39,610 - mu.logic:574(setup) INFO: Available modes: debugger, pygamezero, microbit, python, adafruit 2018-09-12 15:01:39,822 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 15:01:39,825 - mu.logic:623(restore_session) INFO: Restoring session from: /home/phil/.local/share/mu/session.json 2018-09-12 15:01:39,826 - mu.logic:624(restore_session) DEBUG: {'microbit_runtime': '', 'envars': [], 'mode': 'microbit', 'paths': ['/home/phil/mu_code/button.py'], 'theme': 'day', 'minify': False} 2018-09-12 15:01:39,826 - mu.logic:706(_load) INFO: Loading script from: /home/phil/mu_code/button.py 2018-09-12 15:01:39,828 - mu.logic:271(read_and_decode) DEBUG: Trying to decode with utf-8 2018-09-12 15:01:39,831 - mu.logic:274(read_and_decode) INFO: Decoded with utf-8 2018-09-12 15:01:39,834 - mu.logic:287(read_and_decode) DEBUG: Detected newline '\n' 2018-09-12 15:01:39,835 - mu.logic:780(_load) DEBUG: from microbit import *

while True: if button_a.is_pressed(): display.show("A") else: display.show("-")

sleep(100)

2018-09-12 15:01:40,507 - mu.logic:645(restore_session) INFO: Loaded files. 2018-09-12 15:01:40,508 - mu.logic:649(restore_session) INFO: User defined environment variables: [] 2018-09-12 15:01:40,509 - mu.logic:653(restore_session) INFO: Minify scripts on micro:bit? False 2018-09-12 15:01:40,590 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 15:02:56,701 - mu.modes.microbit:239(flash) INFO: Preparing to flash script. 2018-09-12 15:02:56,702 - mu.modes.microbit:249(flash) DEBUG: Python script: 2018-09-12 15:02:56,702 - mu.modes.microbit:250(flash) DEBUG: b'from microbit import \n\nwhile True:\n if button_a.is_pressed():\n display.show("A")\n else:\n display.show("-")\n \n sleep(100)\n ' 2018-09-12 15:02:56,723 - mu.modes.microbit:297(flash) INFO: Path to micro:bit: /media/phil/MICROBIT 2018-09-12 15:02:56,756 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 15:02:56,757 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 15:02:56,757 - mu.modes.microbit:302(flash) INFO: Serial port: /dev/ttyACM0 2018-09-12 15:02:56,758 - mu.modes.microbit:303(flash) INFO: Device serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 15:02:56,758 - mu.modes.microbit:328(flash) INFO: Checking target device. 2018-09-12 15:02:57,281 - mu.modes.microbit:332(flash) INFO: {'version': 'micro:bit v1.0.0-rc.2+da7ce60 on 2018-07-19; MicroPython v1.9.2-34-gd64154c73 on 2017-09-01', 'sysname': 'microbit', 'release': '1.0.0-rc.2', 'nodename': 'microbit', 'machine': 'micro:bit with nRF51822'} 2018-09-12 15:02:57,282 - mu.modes.microbit:351(flash) INFO: Board MicroPython: 1.0.0-rc.2 2018-09-12 15:02:57,283 - mu.modes.microbit:353(flash) INFO: Mu MicroPython: 1.0.0-rc.2 2018-09-12 15:02:57,285 - mu.modes.microbit:505(copy_main) INFO: Copying main.py onto device 2018-09-12 15:02:57,286 - mu.modes.microbit:515(copy_main) INFO: ["fd = open('main.py', 'wb')", 'f = fd.write', "f(b'from microbit import \n\nwhile True:\n if button_a.is_pressed()')", 'f(b\':\n display.show("A")\n else:\n display.show("-")\n\')', "f(b' \n sleep(100)\n ')", 'fd.close()'] 2018-09-12 15:02:57,759 - mu.modes.microbit:518(copy_main) INFO: (b'', b'') 2018-09-12 15:03:11,313 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 15:03:11,314 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 15:03:11,337 - mu.modes.base:268(add_repl) INFO: Started REPL on port: /dev/ttyACM0 2018-09-12 15:03:11,338 - mu.modes.base:249(toggle_repl) INFO: Toggle REPL on. 2018-09-12 15:03:24,850 - mu.modes.base:246(toggle_repl) INFO: Toggle REPL off. 2018-09-12 15:03:26,542 - mu.modes.base:217(find_device) INFO: Found device on port: ttyACM0 2018-09-12 15:03:26,542 - mu.modes.base:218(find_device) INFO: Serial number: 9900023431904e450032100b0000001800000000cc5b28bd 2018-09-12 15:03:26,573 - mu.modes.microbit:597(toggle_files) INFO: Toggle filesystem on. 2018-09-12 15:03:31,939 - mu.modes.microbit:601(toggle_files) INFO: Toggle filesystem off. 2018-09-12 15:03:48,496 - mu.logic:950(check_code) INFO: Checking code. 2018-09-12 15:03:56,596 - mu.logic:1025(quit) DEBUG: Session: {'microbit_runtime': '', 'envars': [], 'mode': 'microbit', 'paths': ['/home/phil/mu_code/button.py'], 'theme': 'day', 'minify': False} 2018-09-12 15:03:56,597 - mu.logic:1026(quit) DEBUG: Saving session to: /home/phil/.local/share/mu/session.json 2018-09-12 15:03:56,598 - mu.logic:1028(quit) INFO: Quitting.

2018-09-12 15:04:16,366 - root:112(run) INFO:


Starting Mu 1.0.0 2018-09-12 15:04:16,366 - root:113(run) INFO: uname_result(system='Linux', node='raspberry03', release='4.14.52-v7+', version='#1123 SMP Wed Jun 27 17:35:49 BST 2018', machine='armv7l', processor='') 2018-09-12 15:04:16,370 - root:114(run) INFO: Python path: ['/usr/bin', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-arm-linux-gnueabihf', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/IPython/extensions'] 2018-09-12 15:04:16,781 - mu.logic:540(init) INFO: Setting up editor. 2018-09-12 15:04:16,782 - mu.logic:558(init) INFO: Settings path: /home/phil/.local/share/mu/settings.json 2018-09-12 15:04:16,782 - mu.logic:559(init) INFO: Session path: /home/phil/.local/share/mu/session.json 2018-09-12 15:04:16,783 - mu.logic:560(init) INFO: Log directory: /home/phil/.cache/mu/log 2018-09-12 15:04:16,783 - mu.logic:561(init) INFO: Data directory: /home/phil/.local/share/mu 2018-09-12 15:04:17,054 - mu.logic:574(setup) INFO: Available modes: pygamezero, adafruit, debugger, python, microbit 2018-09-12 15:04:17,265 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 15:04:17,267 - mu.logic:623(restore_session) INFO: Restoring session from: /home/phil/.local/share/mu/session.json 2018-09-12 15:04:17,268 - mu.logic:624(restore_session) DEBUG: {'paths': ['/home/phil/mu_code/button.py'], 'minify': False, 'theme': 'day', 'envars': [], 'mode': 'microbit', 'microbit_runtime': ''} 2018-09-12 15:04:17,268 - mu.logic:706(_load) INFO: Loading script from: /home/phil/mu_code/button.py 2018-09-12 15:04:17,269 - mu.logic:271(read_and_decode) DEBUG: Trying to decode with utf-8 2018-09-12 15:04:17,273 - mu.logic:274(read_and_decode) INFO: Decoded with utf-8 2018-09-12 15:04:17,275 - mu.logic:287(read_and_decode) DEBUG: Detected newline '\n' 2018-09-12 15:04:17,276 - mu.logic:780(_load) DEBUG: from microbit import *

while True: if button_a.is_pressed(): display.show("A") else: display.show("-")

sleep(100)

2018-09-12 15:04:17,949 - mu.logic:645(restore_session) INFO: Loaded files. 2018-09-12 15:04:17,950 - mu.logic:649(restore_session) INFO: User defined environment variables: [] 2018-09-12 15:04:17,950 - mu.logic:653(restore_session) INFO: Minify scripts on micro:bit? False 2018-09-12 15:04:18,032 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 15:04:23,008 - mu.logic:1025(quit) DEBUG: Session: {'paths': ['/home/phil/mu_code/button.py'], 'minify': False, 'theme': 'day', 'envars': [], 'mode': 'microbit', 'microbit_runtime': ''} 2018-09-12 15:04:23,009 - mu.logic:1026(quit) DEBUG: Saving session to: /home/phil/.local/share/mu/session.json 2018-09-12 15:04:23,011 - mu.logic:1028(quit) INFO: Quitting.

2018-09-12 15:18:18,254 - root:112(run) INFO:


Starting Mu 1.0.0 2018-09-12 15:18:18,257 - root:113(run) INFO: uname_result(system='Linux', node='raspberry03', release='4.14.52-v7+', version='#1123 SMP Wed Jun 27 17:35:49 BST 2018', machine='armv7l', processor='') 2018-09-12 15:18:18,258 - root:114(run) INFO: Python path: ['/usr/bin', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-arm-linux-gnueabihf', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/IPython/extensions'] 2018-09-12 15:18:18,834 - mu.logic:540(init) INFO: Setting up editor. 2018-09-12 15:18:18,835 - mu.logic:558(init) INFO: Settings path: /home/phil/.local/share/mu/settings.json 2018-09-12 15:18:18,836 - mu.logic:559(init) INFO: Session path: /home/phil/.local/share/mu/session.json 2018-09-12 15:18:18,836 - mu.logic:560(init) INFO: Log directory: /home/phil/.cache/mu/log 2018-09-12 15:18:18,837 - mu.logic:561(init) INFO: Data directory: /home/phil/.local/share/mu 2018-09-12 15:18:19,106 - mu.logic:574(setup) INFO: Available modes: microbit, debugger, python, pygamezero, adafruit 2018-09-12 15:18:19,326 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 15:18:19,331 - mu.logic:623(restore_session) INFO: Restoring session from: /home/phil/.local/share/mu/session.json 2018-09-12 15:18:19,332 - mu.logic:624(restore_session) DEBUG: {'paths': ['/home/phil/mu_code/button.py'], 'microbit_runtime': '', 'minify': False, 'mode': 'microbit', 'theme': 'day', 'envars': []} 2018-09-12 15:18:19,333 - mu.logic:706(_load) INFO: Loading script from: /home/phil/mu_code/button.py 2018-09-12 15:18:19,334 - mu.logic:271(read_and_decode) DEBUG: Trying to decode with utf-8 2018-09-12 15:18:19,337 - mu.logic:274(read_and_decode) INFO: Decoded with utf-8 2018-09-12 15:18:19,338 - mu.logic:287(read_and_decode) DEBUG: Detected newline '\n' 2018-09-12 15:18:19,339 - mu.logic:780(_load) DEBUG: from microbit import *

while True: if button_a.is_pressed(): display.show("A") else: display.show("-")

sleep(100)

2018-09-12 15:18:20,035 - mu.logic:645(restore_session) INFO: Loaded files. 2018-09-12 15:18:20,036 - mu.logic:649(restore_session) INFO: User defined environment variables: [] 2018-09-12 15:18:20,037 - mu.logic:653(restore_session) INFO: Minify scripts on micro:bit? False 2018-09-12 15:18:20,122 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 15:18:26,443 - mu.logic:1025(quit) DEBUG: Session: {'paths': ['/home/phil/mu_code/button.py'], 'microbit_runtime': '', 'minify': False, 'mode': 'microbit', 'theme': 'day', 'envars': []} 2018-09-12 15:18:26,444 - mu.logic:1026(quit) DEBUG: Saving session to: /home/phil/.local/share/mu/session.json 2018-09-12 15:18:26,445 - mu.logic:1028(quit) INFO: Quitting.

2018-09-12 15:22:03,887 - root:112(run) INFO:


Starting Mu 1.0.0 2018-09-12 15:22:03,888 - root:113(run) INFO: uname_result(system='Linux', node='raspberry03', release='4.14.52-v7+', version='#1123 SMP Wed Jun 27 17:35:49 BST 2018', machine='armv7l', processor='') 2018-09-12 15:22:03,888 - root:114(run) INFO: Python path: ['/usr/bin', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-arm-linux-gnueabihf', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/IPython/extensions'] 2018-09-12 15:22:04,282 - mu.logic:540(init) INFO: Setting up editor. 2018-09-12 15:22:04,283 - mu.logic:558(init) INFO: Settings path: /home/phil/.local/share/mu/settings.json 2018-09-12 15:22:04,283 - mu.logic:559(init) INFO: Session path: /home/phil/.local/share/mu/session.json 2018-09-12 15:22:04,284 - mu.logic:560(init) INFO: Log directory: /home/phil/.cache/mu/log 2018-09-12 15:22:04,284 - mu.logic:561(init) INFO: Data directory: /home/phil/.local/share/mu 2018-09-12 15:22:04,552 - mu.logic:574(setup) INFO: Available modes: debugger, pygamezero, adafruit, python, microbit 2018-09-12 15:22:04,768 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 15:22:04,770 - mu.logic:623(restore_session) INFO: Restoring session from: /home/phil/.local/share/mu/session.json 2018-09-12 15:22:04,771 - mu.logic:624(restore_session) DEBUG: {'mode': 'microbit', 'paths': ['/home/phil/mu_code/button.py'], 'minify': False, 'microbit_runtime': '', 'theme': 'day', 'envars': []} 2018-09-12 15:22:04,771 - mu.logic:706(_load) INFO: Loading script from: /home/phil/mu_code/button.py 2018-09-12 15:22:04,773 - mu.logic:271(read_and_decode) DEBUG: Trying to decode with utf-8 2018-09-12 15:22:04,777 - mu.logic:274(read_and_decode) INFO: Decoded with utf-8 2018-09-12 15:22:04,779 - mu.logic:287(read_and_decode) DEBUG: Detected newline '\n' 2018-09-12 15:22:04,779 - mu.logic:780(_load) DEBUG: from microbit import *

while True: if button_a.is_pressed(): display.show("A") else: display.show("-")

sleep(100)

2018-09-12 15:22:05,456 - mu.logic:645(restore_session) INFO: Loaded files. 2018-09-12 15:22:05,457 - mu.logic:649(restore_session) INFO: User defined environment variables: [] 2018-09-12 15:22:05,458 - mu.logic:653(restore_session) INFO: Minify scripts on micro:bit? False 2018-09-12 15:22:05,541 - mu.logic:1110(change_mode) INFO: Workspace directory: /home/phil/mu_code 2018-09-12 15:22:11,277 - mu.logic:1037(show_admin) INFO: Showing logs from /home/phil/.cache/mu/log/mu.log

ntoll commented 6 years ago

@rhubarbdog this is something Mu has no control over and something (apparently) to do with Raspbian, Qt5 and the way they interact with each other. This should have little or no effect on the functioning of Mu (at least, it doesn't appear to have any effect for me on my Pi). I'll close this issue since there's nothing we (Mu) can do about it.

If you're interested, why not Google for the messages you report and report back here. Perhaps others will then find such information useful.

Thanks for your input! :-)