Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Mu Editor crash
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Mu Editor crash

by csva on Thu May 28, 2020 10:06 pm

I installed Mu-Editor, it crashes when I click the "Adafruit CircuitPython" from the options, but not the others.

Starting from a terminal it crashes.

(Logging to /home/user/snap/mu-editor/common/.cache/mu/log/mu.log)

2020-05-28 21:52:13,431 - mu.logic:1074(select_mode) INFO: New mode selected: adafruit
2020-05-28 21:52:13,440 - root:95(excepthook) ERROR: Unrecoverable error
Traceback (most recent call last):
File "/snap/mu-editor/4/lib/python3.5/site-packages/mu/logic.py", line 1075, in select_mode
self.change_mode(new_mode)
File "/snap/mu-editor/4/lib/python3.5/site-packages/mu/logic.py", line 1112, in change_mode
self.modes[mode].workspace_dir()))
File "/snap/mu-editor/4/lib/python3.5/site-packages/mu/modes/adafruit.py", line 98, in workspace_dir
mount_output = check_output(mount_command).splitlines()
File "/snap/mu-editor/4/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/snap/mu-editor/4/usr/lib/python3.5/subprocess.py", line 693, in run
with Popen(*popenargs, **kwargs) as process:
File "/snap/mu-editor/4/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/snap/mu-editor/4/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied

Some kind of Python permission issue? The "execute_child" is kinda harsh.

(I also saw this on https://www.reddit.com/r/circuitpython/ ... _crashing/
https://github.com/mu-editor/mu/issues/734 )

Using Linux Mint 18.3 4.4.0-179-generic #209-Ubuntu

csva
 
Posts: 7
Joined: Wed Mar 14, 2018 5:55 pm

Re: Mu Editor crash

by siddacious on Sat May 30, 2020 2:03 am

It does seem like a permission error, though I'm not aware of how to fix it. I would suggest reviewing the official Mu documentation's installation instructions, and if that doesn't help try asking for suggestions on the chat system linked from their discussion page: https://codewith.mu/en/discuss

siddacious
 
Posts: 338
Joined: Fri Apr 21, 2017 3:09 pm

Re: Mu Editor crash

by kayaking_t on Wed Oct 14, 2020 8:57 pm

I'm experiencing the same issue. I'm wondering if anyone found a solution. If so, can you point me in that direction?

kayaking_t
 
Posts: 2
Joined: Tue Jul 14, 2020 10:04 am

Please be positive and constructive with your questions and comments.