Open DrBlackross opened 2 years ago
oh yea, update after trying sudo apt install mu-editor it did install it.... just won't run it, lol
$ mu-editor
Logging to /home/drblackross/.cache/mu/log/mu.log
Traceback (most recent call last):
File "/usr/bin/mu-editor", line 33, in
Hey @DrBlackross, thanks for your report...
We have just updated the docs on running the Mu AppImage file on Ubuntu 22.04... It boils down to:
Installing a system dependency before hand:
sudo apt install libfuse2
Launching Mu in the CLI with:
QT_QPA_PLATFORM=wayland ./Downloads/Mu_Editor-1.1.1-x86_64.AppImage
Please let us know if this helps running Mu on your system.
I also encountered the same segmentation fault. And I tried every QT_QPA_PLATFORM
option, i.e., eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb. None is working. Either segmentation fault, or plugin not found, or nothing pops up.
QT_QPA_PLATFORM=wayland /opt/MuEditor
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted
My system is MX-Linux running KDE plasma desktop. When I apt-get install mu-editor
, it can launch, but it does not support micropython plugin. So it is quite broken.
What were you trying to do?
Trying to get Seeed XIAO to blink with latest CircuitPython 7.3.1 (only works with kb version'ish)
What steps did you take to trigger the issue?
latest appimage
then following https://mu.readthedocs.io/en/latest/ decided to clone and compile
What did you expect to happen?
expected it to work
What actually happened?
i've flashed from 5.0 (stables).uf2 up to adafruit-circuitpython-seeeduino_xiao-en_US-20220714-3515003.uf2.... after version 7.3.0 something changed. led = DigitalInOut(board.D13) no longer worked, even on adafruits site https://wiki.seeedstudio.com/Seeeduino-XIAO-CircuitPython/ it says D13, then later changes to board.LED (doesn't work).. thought it was the way i was writing the python, editor used, etc. so i tried gedit, atom, visualstudio (with circuitpython extension loaded), PyCharm, and figured i goto the source and try to use the Mu-Editor. rewrote the code.py and moved the board.D13 to board.D2 and hooked a scope up to the pad, it works. But, D13 doesn't... LOL, which is the source of my frustration.....
That's about it, other than the 4 different versions of XIAO in https://adafruit-circuit-python.s3.amazonaws.com/index.html?prefix=bin/
Seeed_XIAO_nRF52840_Sense seeeduino_xiao seeeduino_xiao_kb seeeduino_xiao_rp2040
i don't know which one to flash other than the luck i had with 5.0 and some seeeduino_xiao_kb versions that would work with Mu-editor or circuitpython in general, but would like to at least running with the current version on the original version of the XIAO.
Operating System Version
Ubuntu 22.04 LTS
Mu Version
latest
Other Info
Python 3.10.4 pip 22.1.2 from /home/drblackross/.local/lib/python3.10/site-packages/pip (python 3.10)
Editor Log
output from mu.log
(python -m pip install --upgrade pip below for what its worth)