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.4k stars 434 forks source link

eh, tried running appimages, then went to compile and run from source.... #2285

Open DrBlackross opened 2 years ago

DrBlackross commented 2 years ago

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

~/Downloads$ ./Mu_Editor-1.1.1-x86_64.AppImage
No settings file found at /home/drblackross/.local/share/mu/venv.json; skipping
Segmentation fault (core dumped)

then following https://mu.readthedocs.io/en/latest/ decided to clone and compile

~/Desktop/Mu/mu$ python -m pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /home/drblackross/.local/lib/python3.10/site-packages (22.1.2)

~/Desktop/Mu/mu$ pip install -e ".[dev]"
ERROR: Package 'mu-editor' requires a different Python: 3.10.4 not in '<3.9,>=3.5'

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.....

.# load the Led on pin13 for something maybe
led = DigitalInOut(board.D13)
led.direction = Direction.OUTPUT
while len(pulses) == 2:                                               //pulseio is loaded (i think), but even mirroring an input signal on D1 to out on D13 didn't work
    led.value = True
    time.sleep(0.5)
    led.value = False
    time.sleep(0.5)

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

2022-07-14 14:38:28,077 - root:271(run) INFO: 

-----------------

Starting Mu 1.1.1
2022-07-14 14:38:28,077 - root:272(run) INFO: uname_result(system='Linux', node='BEAST', release='5.18.0-11.1-liquorix-amd64', version='#1 ZEN SMP PREEMPT_DYNAMIC liquorix 5.18-11ubuntu1~jammy (2022-0', machine='x86_64', processor='x86_64')
2022-07-14 14:38:28,078 - root:273(run) INFO: Platform: Linux-5.18.0-11.1-liquorix-amd64-x86_64-with-glibc2.2.5
2022-07-14 14:38:28,079 - root:274(run) INFO: Python path: ['/tmp/.mount_Mu_EdiQo1pJ9/usr/lib/python38.zip', '/tmp/.mount_Mu_EdiQo1pJ9/usr/lib/python3.8', '/tmp/.mount_Mu_EdiQo1pJ9/usr/lib/python3.8/lib-dynload', '/tmp/.mount_Mu_EdiQo1pJ9/usr/lib/python3.8/site-packages']
2022-07-14 14:38:28,079 - root:275(run) INFO: Language code: en_US
2022-07-14 14:38:28,079 - mu.settings:220(load) WARNING: No settings file found at /home/drblackross/.local/share/mu/settings.json; skipping
2022-07-14 14:38:28,079 - mu.settings:220(load) WARNING: No settings file found at /home/drblackross/.local/share/mu/session.json; skipping
2022-07-14 14:39:01,331 - root:271(run) INFO: 

-----------------

Starting Mu 1.1.1
2022-07-14 14:39:01,331 - root:272(run) INFO: uname_result(system='Linux', node='BEAST', release='5.18.0-11.1-liquorix-amd64', version='#1 ZEN SMP PREEMPT_DYNAMIC liquorix 5.18-11ubuntu1~jammy (2022-0', machine='x86_64', processor='x86_64')
2022-07-14 14:39:01,332 - root:273(run) INFO: Platform: Linux-5.18.0-11.1-liquorix-amd64-x86_64-with-glibc2.2.5
2022-07-14 14:39:01,332 - root:274(run) INFO: Python path: ['/tmp/.mount_Mu_EdiBMwnFi/usr/lib/python38.zip', '/tmp/.mount_Mu_EdiBMwnFi/usr/lib/python3.8', '/tmp/.mount_Mu_EdiBMwnFi/usr/lib/python3.8/lib-dynload', '/tmp/.mount_Mu_EdiBMwnFi/usr/lib/python3.8/site-packages']
2022-07-14 14:39:01,332 - root:275(run) INFO: Language code: en_US
2022-07-14 14:39:01,332 - mu.settings:220(load) WARNING: No settings file found at /home/drblackross/.local/share/mu/settings.json; skipping
2022-07-14 14:39:01,332 - mu.settings:220(load) WARNING: No settings file found at /home/drblackross/.local/share/mu/session.json; skipping
2022-07-14 14:44:42,901 - root:271(run) INFO: 

-----------------

Starting Mu 1.1.1
2022-07-14 14:44:42,901 - root:272(run) INFO: uname_result(system='Linux', node='BEAST', release='5.18.0-11.1-liquorix-amd64', version='#1 ZEN SMP PREEMPT_DYNAMIC liquorix 5.18-11ubuntu1~jammy (2022-0', machine='x86_64', processor='x86_64')
2022-07-14 14:44:42,902 - root:273(run) INFO: Platform: Linux-5.18.0-11.1-liquorix-amd64-x86_64-with-glibc2.2.5
2022-07-14 14:44:42,902 - root:274(run) INFO: Python path: ['/tmp/.mount_Mu_EdiYWECpo/usr/lib/python38.zip', '/tmp/.mount_Mu_EdiYWECpo/usr/lib/python3.8', '/tmp/.mount_Mu_EdiYWECpo/usr/lib/python3.8/lib-dynload', '/tmp/.mount_Mu_EdiYWECpo/usr/lib/python3.8/site-packages']
2022-07-14 14:44:42,902 - root:275(run) INFO: Language code: en_US
2022-07-14 14:44:42,902 - mu.settings:220(load) WARNING: No settings file found at /home/drblackross/.local/share/mu/settings.json; skipping
2022-07-14 14:44:42,902 - mu.settings:220(load) WARNING: No settings file found at /home/drblackross/.local/share/mu/session.json; skipping

(python -m pip install --upgrade pip below for what its worth)

home/Desktop/Mu/mu$ pip install -e ".[dev]"
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/drblackross/Desktop/Mu/mu
  Preparing metadata (setup.py) ... done
Collecting jupyter-client<6.2,>=4.1
  Downloading jupyter_client-6.1.12-py3-none-any.whl (112 kB)
.     ............................................................................ 112.7/112.7 kB 1.4 MB/s eta 0:00:00
Collecting ipykernel<6,>=4.1
  Downloading ipykernel-5.5.6-py3-none-any.whl (121 kB)
.     ............................................................................ 121.0/121.0 kB 1.5 MB/s eta 0:00:00
Collecting ipython_genutils>=0.2.0
  Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting qtconsole==4.7.7
  Downloading qtconsole-4.7.7-py2.py3-none-any.whl (118 kB)
.     ............................................................................ 118.5/118.5 kB 1.3 MB/s eta 0:00:00
Collecting adafruit-board-toolkit~=1.1
  Downloading adafruit-board-toolkit-1.1.0.tar.gz (34 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pyserial~=3.5 in /usr/lib/python3/dist-packages (from mu-editor==1.1.1) (3.5)
Collecting nudatus>=0.0.3
  Downloading nudatus-0.0.5-py3-none-any.whl (5.3 kB)
Collecting flake8>=3.8.3
  Using cached flake8-4.0.1-py2.py3-none-any.whl (64 kB)
Collecting click<=8.0.4
  Downloading click-8.0.4-py3-none-any.whl (97 kB)
.     ............................................................................ 97.5/97.5 kB 2.0 MB/s eta 0:00:00
Requirement already satisfied: appdirs>=1.4.3 in /usr/lib/python3/dist-packages (from mu-editor==1.1.1) (1.4.4)
Collecting semver>=2.8.0
  Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: virtualenv>=20.0.0 in /usr/lib/python3/dist-packages (from mu-editor==1.1.1) (20.13.0+ds)
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (from mu-editor==1.1.1) (0.37.1)
Requirement already satisfied: requests>=2.0.0 in /usr/lib/python3/dist-packages (from mu-editor==1.1.1) (2.25.1)
Collecting PyQt5==5.13.2
  Downloading PyQt5-5.13.2-5.13.2-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (62.2 MB)
.     ............................................................................ 62.2/62.2 MB 5.0 MB/s eta 0:00:00
Collecting QScintilla==2.11.3
  Downloading QScintilla-2.11.3-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (2.7 MB)
.     ............................................................................ 2.7/2.7 MB 5.6 MB/s eta 0:00:00
Collecting PyQtChart==5.13.1
  Downloading PyQtChart-5.13.1-5.13.2-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (1.1 MB)
.     ............................................................................ 1.1/1.1 MB 4.3 MB/s eta 0:00:00
Collecting black<22.1.0,>=19.10b0
  Downloading black-21.12b0-py3-none-any.whl (156 kB)
.     ............................................................................ 156.7/156.7 kB 2.1 MB/s eta 0:00:00
Requirement already satisfied: pytest>=4.6 in /usr/lib/python3/dist-packages (from mu-editor==1.1.1) (6.2.5)
Collecting pytest-cov
  Using cached pytest_cov-3.0.0-py3-none-any.whl (20 kB)
Collecting pytest-random-order>=1.0.0
  Using cached pytest_random_order-1.0.4-py3-none-any.whl (10 kB)
Collecting pytest-faulthandler
  Downloading pytest_faulthandler-2.0.1-py2.py3-none-any.whl (2.7 kB)
Collecting pytest-timeout
  Downloading pytest_timeout-2.1.0-py3-none-any.whl (12 kB)
Collecting coverage
  Downloading coverage-6.4.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (212 kB)
.     ............................................................................ 212.3/212.3 kB 2.5 MB/s eta 0:00:00
Requirement already satisfied: sphinx in /usr/lib/python3/dist-packages (from mu-editor==1.1.1) (4.3.2)
Collecting twine
  Downloading twine-4.0.1-py3-none-any.whl (36 kB)
Requirement already satisfied: babel in /usr/lib/python3/dist-packages (from mu-editor==1.1.1) (2.8.0)
Requirement already satisfied: PyQt5_sip<13,>=4.19.19 in /usr/lib/python3/dist-packages (from PyQt5==5.13.2->mu-editor==1.1.1) (12.9.1)
Collecting pyzmq>=17.1
  Using cached pyzmq-23.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting jupyter-core
  Downloading jupyter_core-4.11.1-py3-none-any.whl (88 kB)
.     ............................................................................ 88.4/88.4 kB 1.8 MB/s eta 0:00:00
Requirement already satisfied: qtpy in /home/drblackross/.local/lib/python3.10/site-packages (from qtconsole==4.7.7->mu-editor==1.1.1) (2.1.0)
Requirement already satisfied: pygments in /usr/lib/python3/dist-packages (from qtconsole==4.7.7->mu-editor==1.1.1) (2.11.2)
Requirement already satisfied: traitlets in /home/drblackross/.local/lib/python3.10/site-packages (from qtconsole==4.7.7->mu-editor==1.1.1) (5.2.2.post1)
Requirement already satisfied: platformdirs>=2 in /usr/lib/python3/dist-packages (from black<22.1.0,>=19.10b0->mu-editor==1.1.1) (2.5.1)
Requirement already satisfied: mypy-extensions>=0.4.3 in /home/drblackross/.local/lib/python3.10/site-packages (from black<22.1.0,>=19.10b0->mu-editor==1.1.1) (0.4.3)
Requirement already satisfied: pathspec<1,>=0.9.0 in /home/drblackross/.local/lib/python3.10/site-packages (from black<22.1.0,>=19.10b0->mu-editor==1.1.1) (0.9.0)
Collecting tomli<2.0.0,>=0.2.6
  Downloading tomli-1.2.3-py3-none-any.whl (12 kB)
Requirement already satisfied: typing-extensions>=3.10.0.0 in /home/drblackross/.local/lib/python3.10/site-packages (from black<22.1.0,>=19.10b0->mu-editor==1.1.1) (4.2.0)
Collecting pycodestyle<2.9.0,>=2.8.0
  Using cached pycodestyle-2.8.0-py2.py3-none-any.whl (42 kB)
Collecting mccabe<0.7.0,>=0.6.0
  Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Requirement already satisfied: pyflakes<2.5.0,>=2.4.0 in /home/drblackross/.local/lib/python3.10/site-packages (from flake8>=3.8.3->mu-editor==1.1.1) (2.4.0)
Requirement already satisfied: ipython>=5.0.0 in /home/drblackross/.local/lib/python3.10/site-packages (from ipykernel<6,>=4.1->mu-editor==1.1.1) (8.4.0)
Requirement already satisfied: tornado>=4.2 in /home/drblackross/.local/lib/python3.10/site-packages (from ipykernel<6,>=4.1->mu-editor==1.1.1) (6.1)
Requirement already satisfied: python-dateutil>=2.1 in /usr/lib/python3/dist-packages (from jupyter-client<6.2,>=4.1->mu-editor==1.1.1) (2.8.1)
Requirement already satisfied: filelock<4,>=3.2 in /home/drblackross/.local/lib/python3.10/site-packages (from virtualenv>=20.0.0->mu-editor==1.1.1) (3.4.2)
Requirement already satisfied: six<2,>=1.9.0 in /usr/lib/python3/dist-packages (from virtualenv>=20.0.0->mu-editor==1.1.1) (1.16.0)
Requirement already satisfied: distlib<1,>=0.3.1 in /usr/lib/python3/dist-packages (from virtualenv>=20.0.0->mu-editor==1.1.1) (0.3.4)
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
Collecting coverage
  Using cached coverage-6.4.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (212 kB)
  Downloading coverage-6.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (211 kB)
.     ............................................................................ 211.8/211.8 kB 2.6 MB/s eta 0:00:00
  Downloading coverage-6.3.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (211 kB)
.     ............................................................................ 211.1/211.1 kB 3.4 MB/s eta 0:00:00
  Downloading coverage-6.3.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (211 kB)
.     ............................................................................ 211.1/211.1 kB 152.5 kB/s eta 0:00:00
  Downloading coverage-6.3.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (210 kB)
.     ............................................................................ 210.6/210.6 kB 3.4 MB/s eta 0:00:00
  Downloading coverage-6.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (210 kB)
.     ............................................................................ 210.4/210.4 kB 3.6 MB/s eta 0:00:00
  Downloading coverage-6.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (215 kB)
.     ............................................................................ 215.5/215.5 kB 2.4 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
  Downloading coverage-6.1.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (215 kB)
.     ............................................................................ 215.1/215.1 kB 1.0 MB/s eta 0:00:00
  Downloading coverage-6.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (215 kB)
.     ............................................................................ 215.1/215.1 kB 3.5 MB/s eta 0:00:00
  Downloading coverage-6.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (214 kB)
.     ............................................................................ 214.9/214.9 kB 3.6 MB/s eta 0:00:00
  Downloading coverage-6.0.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (255 kB)
.     ............................................................................ 255.1/255.1 kB 1.5 MB/s eta 0:00:00
  Downloading coverage-6.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (254 kB)
.     ............................................................................ 254.7/254.7 kB 2.7 MB/s eta 0:00:00
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading coverage-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (254 kB)
.     ............................................................................ 254.4/254.4 kB 2.8 MB/s eta 0:00:00
  Downloading coverage-5.5-cp310-cp310-manylinux1_x86_64.whl (238 kB)
.     ............................................................................ 239.0/239.0 kB 3.7 MB/s eta 0:00:00
  Downloading coverage-5.4.tar.gz (687 kB)
.     ............................................................................ 687.7/687.7 kB 719.7 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.3.1.tar.gz (684 kB)
.     ............................................................................ 684.5/684.5 kB 2.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.3.tar.gz (693 kB)
.     ............................................................................ 693.6/693.6 kB 4.7 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.2.1.tar.gz (694 kB)
.     ............................................................................ 694.1/694.1 kB 525.0 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.2.tar.gz (693 kB)
.     ............................................................................ 693.7/693.7 kB 5.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.1.tar.gz (687 kB)
.     ............................................................................ 687.4/687.4 kB 5.3 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.0.4.tar.gz (680 kB)
.     ............................................................................ 680.4/680.4 kB 5.5 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.0.3.tar.gz (679 kB)
.     ............................................................................ 679.2/679.2 kB 5.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.0.2.tar.gz (678 kB)
.     ............................................................................ 678.6/678.6 kB 5.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.0.1.tar.gz (675 kB)
.     ............................................................................ 675.2/675.2 kB 5.7 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-5.0.tar.gz (673 kB)
.     ............................................................................ 673.8/673.8 kB 4.7 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-4.5.4.tar.gz (385 kB)
.     ............................................................................ 385.2/385.2 kB 5.0 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-4.5.3.tar.gz (384 kB)
.     ............................................................................ 384.7/384.7 kB 3.9 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-4.5.2.tar.gz (384 kB)
.     ............................................................................ 384.8/384.8 kB 2.5 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-4.5.1.tar.gz (379 kB)
.     ............................................................................ 379.7/379.7 kB 4.4 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-4.5.tar.gz (378 kB)
.     ............................................................................ 378.9/378.9 kB 5.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-4.4.2.tar.gz (374 kB)
.     ............................................................................ 374.6/374.6 kB 3.9 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
  Downloading coverage-4.4.1.tar.gz (369 kB)
.     ............................................................................ 369.8/369.8 kB 3.8 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of babel to determine which version is compatible with other requirements. This could take a while.
Collecting babel
  Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB)
.     ............................................................................ 9.5/9.5 MB 6.3 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of virtualenv to determine which version is compatible with other requirements. This could take a while.
Collecting virtualenv>=20.0.0
  Using cached virtualenv-20.15.1-py2.py3-none-any.whl (10.1 MB)
INFO: pip is looking at multiple versions of semver to determine which version is compatible with other requirements. This could take a while.
Collecting semver>=2.8.0
  Downloading semver-2.12.0-py2.py3-none-any.whl (12 kB)
  Downloading semver-2.11.0-py2.py3-none-any.whl (12 kB)
  Downloading semver-2.10.2-py2.py3-none-any.whl (12 kB)
  Downloading semver-2.10.1-py2.py3-none-any.whl (12 kB)
  Downloading semver-2.10.0-py2.py3-none-any.whl (12 kB)
  Downloading semver-2.9.1-py2.py3-none-any.whl (9.8 kB)
  Downloading semver-2.9.0-py2.py3-none-any.whl (9.1 kB)
INFO: pip is looking at multiple versions of semver to determine which version is compatible with other requirements. This could take a while.
  Downloading semver-2.8.1-py2.py3-none-any.whl (5.1 kB)
INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
Collecting requests>=2.0.0
  Downloading requests-2.28.1-py3-none-any.whl (62 kB)
.     ............................................................................ 62.8/62.8 kB 742.3 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of pytest-random-order to determine which version is compatible with other requirements. This could take a while.
Collecting pytest-random-order>=1.0.0
  Downloading pytest_random_order-1.0.3-py3-none-any.whl (10 kB)
  Downloading pytest_random_order-1.0.2-py3-none-any.whl (10 kB)
  Downloading pytest_random_order-1.0.1-py3-none-any.whl (10 kB)
  Downloading pytest_random_order-1.0.0-py3-none-any.whl (10 kB)
INFO: pip is looking at multiple versions of pytest to determine which version is compatible with other requirements. This could take a while.
Collecting pytest>=4.6
  Using cached pytest-7.1.2-py3-none-any.whl (297 kB)
INFO: pip is looking at multiple versions of pytest-random-order to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyserial to determine which version is compatible with other requirements. This could take a while.
Collecting pyserial~=3.5
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
INFO: pip is looking at multiple versions of nudatus to determine which version is compatible with other requirements. This could take a while.
Collecting nudatus>=0.0.3
  Downloading nudatus-0.0.4.tar.gz (4.5 kB)
  Preparing metadata (setup.py) ... done
  Downloading nudatus-0.0.3.tar.gz (4.5 kB)
  Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of jupyter-client to determine which version is compatible with other requirements. This could take a while.
Collecting jupyter-client<6.2,>=4.1
  Downloading jupyter_client-6.1.11-py3-none-any.whl (108 kB)
.     ............................................................................ 108.7/108.7 kB 109.7 kB/s eta 0:00:00
  Downloading jupyter_client-6.1.10-py3-none-any.whl (108 kB)
.     ............................................................................ 108.7/108.7 kB 2.3 MB/s eta 0:00:00
Collecting jedi<=0.17.2
  Using cached jedi-0.17.2-py2.py3-none-any.whl (1.4 MB)
Collecting jupyter-client<6.2,>=4.1
  Downloading jupyter_client-6.1.9-py3-none-any.whl (108 kB)
.     ............................................................................ 108.7/108.7 kB 2.2 MB/s eta 0:00:00
  Downloading jupyter_client-6.1.8-py3-none-any.whl (108 kB)
.     ............................................................................ 108.7/108.7 kB 2.4 MB/s eta 0:00:00
  Downloading jupyter_client-6.1.7-py3-none-any.whl (108 kB)
.     ............................................................................ 108.6/108.6 kB 732.6 kB/s eta 0:00:00
  Downloading jupyter_client-6.1.6-py3-none-any.whl (108 kB)
.     ............................................................................ 108.3/108.3 kB 1.2 MB/s eta 0:00:00
  Downloading jupyter_client-6.1.5-py3-none-any.whl (107 kB)
.     ............................................................................ 107.4/107.4 kB 1.4 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of jupyter-client to determine which version is compatible with other requirements. This could take a while.
  Downloading jupyter_client-6.1.3-py3-none-any.whl (106 kB)
.     ............................................................................ 106.7/106.7 kB 2.0 MB/s eta 0:00:00
  Downloading jupyter_client-6.1.2-py3-none-any.whl (106 kB)
.     ............................................................................ 106.7/106.7 kB 1.4 MB/s eta 0:00:00
  Downloading jupyter_client-6.1.1-py3-none-any.whl (106 kB)
.     ............................................................................ 106.7/106.7 kB 1.6 MB/s eta 0:00:00
  Downloading jupyter_client-6.1.0-py3-none-any.whl (106 kB)
.     ............................................................................ 106.7/106.7 kB 1.3 MB/s eta 0:00:00
  Downloading jupyter_client-6.0.0-py3-none-any.whl (104 kB)
.     ............................................................................ 104.2/104.2 kB 1.6 MB/s eta 0:00:00
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading jupyter_client-5.3.5-py2.py3-none-any.whl (92 kB)
.     ............................................................................ 92.4/92.4 kB 1.1 MB/s eta 0:00:00
  Downloading jupyter_client-5.3.4-py2.py3-none-any.whl (92 kB)
.     ............................................................................ 92.1/92.1 kB 1.1 MB/s eta 0:00:00
  Downloading jupyter_client-5.3.3-py2.py3-none-any.whl (93 kB)
.     ............................................................................ 93.1/93.1 kB 1.2 MB/s eta 0:00:00
  Downloading jupyter_client-5.3.2-py2.py3-none-any.whl (93 kB)
.     ............................................................................ 93.1/93.1 kB 1.4 MB/s eta 0:00:00
  Downloading jupyter_client-5.3.1-py2.py3-none-any.whl (91 kB)
.     ............................................................................ 91.3/91.3 kB 1.4 MB/s eta 0:00:00
  Downloading jupyter_client-5.3.0-py2.py3-none-any.whl (91 kB)
.     ............................................................................ 91.3/91.3 kB 1.4 MB/s eta 0:00:00
  Downloading jupyter_client-5.2.4-py2.py3-none-any.whl (89 kB)
.     ............................................................................ 89.7/89.7 kB 1.6 MB/s eta 0:00:00
  Downloading jupyter_client-5.2.3-py2.py3-none-any.whl (89 kB)
.     ............................................................................ 89.2/89.2 kB 1.4 MB/s eta 0:00:00
  Downloading jupyter_client-5.2.2-py2.py3-none-any.whl (88 kB)
.     ............................................................................ 88.7/88.7 kB 1.0 MB/s eta 0:00:00
  Downloading jupyter_client-5.2.1-py2.py3-none-any.whl (88 kB)
.     ............................................................................ 88.4/88.4 kB 1.3 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of ipython-genutils to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of ipykernel to determine which version is compatible with other requirements. This could take a while.
Collecting ipykernel<6,>=4.1
  Downloading ipykernel-5.5.5-py3-none-any.whl (120 kB)
.     ............................................................................ 121.0/121.0 kB 1.2 MB/s eta 0:00:00
  Downloading ipykernel-5.5.4-py3-none-any.whl (120 kB)
.     ............................................................................ 120.9/120.9 kB 1.5 MB/s eta 0:00:00
  Downloading ipykernel-5.5.3-py3-none-any.whl (120 kB)
.     ............................................................................ 120.9/120.9 kB 1.6 MB/s eta 0:00:00
  Downloading ipykernel-5.5.0-py3-none-any.whl (120 kB)
.     ............................................................................ 120.9/120.9 kB 1.2 MB/s eta 0:00:00
  Downloading ipykernel-5.4.3-py3-none-any.whl (120 kB)
.     ............................................................................ 120.1/120.1 kB 1.2 MB/s eta 0:00:00
  Downloading ipykernel-5.4.2-py3-none-any.whl (119 kB)
.     ............................................................................ 119.9/119.9 kB 1.2 MB/s eta 0:00:00
  Downloading ipykernel-5.4.1-py3-none-any.whl (119 kB)
.     ............................................................................ 119.8/119.8 kB 1.2 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of ipykernel to determine which version is compatible with other requirements. This could take a while.
  Downloading ipykernel-5.4.0-py3-none-any.whl (119 kB)
.     ............................................................................ 119.9/119.9 kB 1.2 MB/s eta 0:00:00
  Downloading ipykernel-5.3.4-py3-none-any.whl (120 kB)
.     ............................................................................ 120.6/120.6 kB 141.7 kB/s eta 0:00:00
  Downloading ipykernel-5.3.3-py3-none-any.whl (120 kB)
.     ............................................................................ 120.6/120.6 kB 1.5 MB/s eta 0:00:00
  Downloading ipykernel-5.3.2-py3-none-any.whl (120 kB)
.     ............................................................................ 120.5/120.5 kB 1.5 MB/s eta 0:00:00
  Downloading ipykernel-5.3.1-py3-none-any.whl (120 kB)
.     ............................................................................ 120.2/120.2 kB 1.1 MB/s eta 0:00:00
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading ipykernel-5.3.0-py3-none-any.whl (119 kB)
.     ............................................................................ 119.8/119.8 kB 1.4 MB/s eta 0:00:00
  Downloading ipykernel-5.2.1-py3-none-any.whl (118 kB)
.     ............................................................................ 118.2/118.2 kB 1.2 MB/s eta 0:00:00
  Downloading ipykernel-5.2.0-py3-none-any.whl (117 kB)
.     ............................................................................ 117.4/117.4 kB 1.3 MB/s eta 0:00:00
  Downloading ipykernel-5.1.4-py3-none-any.whl (116 kB)
.     ............................................................................ 116.8/116.8 kB 1.3 MB/s eta 0:00:00
  Downloading ipykernel-5.1.3-py3-none-any.whl (116 kB)
.     ............................................................................ 116.6/116.6 kB 915.9 kB/s eta 0:00:00
  Downloading ipykernel-5.1.2-py3-none-any.whl (116 kB)
.     ............................................................................ 116.3/116.3 kB 1.4 MB/s eta 0:00:00
  Downloading ipykernel-5.1.1-py3-none-any.whl (114 kB)
.     ............................................................................ 114.0/114.0 kB 997.5 kB/s eta 0:00:00
  Downloading ipykernel-5.1.0-py3-none-any.whl (113 kB)
.     ............................................................................ 113.9/113.9 kB 855.7 kB/s eta 0:00:00
  Downloading ipykernel-5.0.0-py3-none-any.whl (113 kB)
.     ............................................................................ 113.5/113.5 kB 992.1 kB/s eta 0:00:00
  Downloading ipykernel-4.10.1-py3-none-any.whl (109 kB)
.     ............................................................................ 109.9/109.9 kB 976.2 kB/s eta 0:00:00
  Downloading ipykernel-4.10.0-py3-none-any.whl (109 kB)
.     ............................................................................ 109.9/109.9 kB 1.2 MB/s eta 0:00:00
  Downloading ipykernel-4.9.0-py3-none-any.whl (110 kB)
.     ............................................................................ 110.9/110.9 kB 921.7 kB/s eta 0:00:00
  Downloading ipykernel-4.8.2-py3-none-any.whl (108 kB)
.     ............................................................................ 108.7/108.7 kB 1.2 MB/s eta 0:00:00
  Downloading ipykernel-4.8.1-py3-none-any.whl (108 kB)
.     ............................................................................ 108.4/108.4 kB 237.7 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of flake8 to determine which version is compatible with other requirements. This could take a while.
Collecting flake8>=3.8.3
  Using cached flake8-4.0.0-py2.py3-none-any.whl (64 kB)
  Downloading flake8-3.9.2-py2.py3-none-any.whl (73 kB)
.     ............................................................................ 73.1/73.1 kB 104.8 kB/s eta 0:00:00
Collecting pycodestyle<2.8.0,>=2.7.0
  Downloading pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
.     ............................................................................ 41.7/41.7 kB 429.2 kB/s eta 0:00:00
Collecting pyflakes<2.4.0,>=2.3.0
  Downloading pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
.    ............................................................................ 68.8/68.8 kB 511.6 kB/s eta 0:00:00
Collecting flake8>=3.8.3
  Downloading flake8-3.9.1-py2.py3-none-any.whl (73 kB)
.     ............................................................................ 73.1/73.1 kB 714.8 kB/s eta 0:00:00
  Downloading flake8-3.9.0-py2.py3-none-any.whl (73 kB)
.     ............................................................................ 73.1/73.1 kB 1.0 MB/s eta 0:00:00
  Downloading flake8-3.8.4-py2.py3-none-any.whl (72 kB)
.     ............................................................................ 72.9/72.9 kB 692.0 kB/s eta 0:00:00
Collecting pyflakes<2.3.0,>=2.2.0
  Downloading pyflakes-2.2.0-py2.py3-none-any.whl (66 kB)
.     ............................................................................ 67.0/67.0 kB 852.0 kB/s eta 0:00:00
Collecting pycodestyle<2.7.0,>=2.6.0a1
  Downloading pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB)
.     ............................................................................ 41.4/41.4 kB 391.7 kB/s eta 0:00:00
Collecting flake8>=3.8.3
  Downloading flake8-3.8.3-py2.py3-none-any.whl (72 kB)
.     ............................................................................ 72.7/72.7 kB 925.4 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while.
Collecting click<=8.0.4
  Using cached click-8.0.3-py3-none-any.whl (97 kB)
INFO: pip is looking at multiple versions of flake8 to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading click-8.0.2-py3-none-any.whl (97 kB)
.     ............................................................................ 97.6/97.6 kB 1.4 MB/s eta 0:00:00
  Downloading click-8.0.1-py3-none-any.whl (97 kB)
.     ............................................................................ 97.4/97.4 kB 1.3 MB/s eta 0:00:00
  Downloading click-8.0.0-py3-none-any.whl (96 kB)
.     ............................................................................ 96.9/96.9 kB 1.1 MB/s eta 0:00:00
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
INFO: pip is looking at multiple versions of black to determine which version is compatible with other requirements. This could take a while.
Collecting black<22.1.0,>=19.10b0
  Downloading black-21.11b1-py3-none-any.whl (155 kB)
.     ............................................................................ 155.2/155.2 kB 1.4 MB/s eta 0:00:00
Requirement already satisfied: regex>=2021.4.4 in /home/drblackross/.local/lib/python3.10/site-packages (from black<22.1.0,>=19.10b0->mu-editor==1.1.1) (2022.6.2)
INFO: pip is looking at multiple versions of click to determine which version is compatible with other requirements. This could take a while.
  Downloading black-21.10b0-py3-none-any.whl (150 kB)
.     ............................................................................ 150.1/150.1 kB 2.4 MB/s eta 0:00:00
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading black-21.9b0-py3-none-any.whl (148 kB)
.     ............................................................................ 148.2/148.2 kB 975.1 kB/s eta 0:00:00
  Downloading black-21.8b0-py3-none-any.whl (148 kB)
.     ............................................................................ 148.1/148.1 kB 2.1 MB/s eta 0:00:00
  Downloading black-21.7b0-py3-none-any.whl (141 kB)
.     ............................................................................ 141.2/141.2 kB 2.2 MB/s eta 0:00:00
  Downloading black-21.6b0-py3-none-any.whl (140 kB)
.     ............................................................................ 140.3/140.3 kB 2.0 MB/s eta 0:00:00
Requirement already satisfied: toml>=0.10.1 in /usr/lib/python3/dist-packages (from black<22.1.0,>=19.10b0->mu-editor==1.1.1) (0.10.2)
  Downloading black-21.5b2-py3-none-any.whl (138 kB)
.     ............................................................................ 138.9/138.9 kB 2.0 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of black to determine which version is compatible with other requirements. This could take a while.
  Downloading black-21.5b1-py3-none-any.whl (137 kB)
.     ............................................................................ 137.5/137.5 kB 2.2 MB/s eta 0:00:00
  Downloading black-21.5b0-py3-none-any.whl (131 kB)
.     ............................................................................ 131.2/131.2 kB 1.6 MB/s eta 0:00:00
  Downloading black-21.4b2-py3-none-any.whl (130 kB)
.     ............................................................................ 131.0/131.0 kB 1.8 MB/s eta 0:00:00
  Downloading black-21.4b1-py3-none-any.whl (130 kB)
.     ............................................................................ 130.1/130.1 kB 2.0 MB/s eta 0:00:00
  Downloading black-21.4b0-py3-none-any.whl (129 kB)
.     ............................................................................ 129.7/129.7 kB 1.9 MB/s eta 0:00:00
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading black-20.8b1.tar.gz (1.1 MB)
.     ............................................................................ 1.1/1.1 MB 5.3 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting typed-ast>=1.4.0
  Downloading typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (877 kB)
.     ............................................................................ 877.7/877.7 kB 5.7 MB/s eta 0:00:00
Collecting black<22.1.0,>=19.10b0
  Downloading black-20.8b0.tar.gz (1.1 MB)
.     ............................................................................ 1.1/1.1 MB 5.1 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: attrs>=18.1.0 in /home/drblackross/.local/lib/python3.10/site-packages (from black<22.1.0,>=19.10b0->mu-editor==1.1.1) (21.4.0)
Collecting click<=8.0.4
  Downloading click-7.1.1-py2.py3-none-any.whl (82 kB)
.     ............................................................................ 82.8/82.8 kB 1.2 MB/s eta 0:00:00
  Downloading click-7.1-py2.py3-none-any.whl (82 kB)
.     ............................................................................ 82.8/82.8 kB 1.7 MB/s eta 0:00:00
  Downloading Click-7.0-py2.py3-none-any.whl (81 kB)
.     ............................................................................ 81.3/81.3 kB 1.2 MB/s eta 0:00:00
  Downloading click-6.7-py2.py3-none-any.whl (71 kB)
.     ............................................................................ 71.2/71.2 kB 1.7 MB/s eta 0:00:00
  Downloading click-6.6-py2.py3-none-any.whl (71 kB)
.     ............................................................................ 71.0/71.0 kB 943.3 kB/s eta 0:00:00
Collecting black<22.1.0,>=19.10b0
  Downloading black-19.10b0-py36-none-any.whl (97 kB)
.     ............................................................................ 97.5/97.5 kB 2.0 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of appdirs to determine which version is compatible with other requirements. This could take a while.
Collecting appdirs>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of adafruit-board-toolkit to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of qtconsole to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of qscintilla to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyqtchart to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pyqt5 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mu-editor[dev] to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'mu-editor' requires a different Python: 3.10.4 not in '<3.9,>=3.5'
drblackross@BEAST:~/Desktop/Mu/mu$ python -version
Unknown option: -e
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
DrBlackross commented 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 sys.exit(load_entry_point('mu-editor==1.0.3', 'console_scripts', 'mu-editor')()) File "/usr/share/mu-editor/mu/app.py", line 148, in run editor_window.setup(editor.debug_toggle_breakpoint, editor.theme) File "/usr/share/mu-editor/mu/interface/main.py", line 825, in setup self.autosize_window() File "/usr/share/mu-editor/mu/interface/main.py", line 774, in autosize_window self.move((screen.width() - size.width()) / 2, TypeError: arguments did not match any overloaded call: move(self, QPoint): argument 1 has unexpected type 'float' move(self, int, int): argument 1 has unexpected type 'float'

tmontes commented 2 years ago

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.

xuancong84 commented 1 year ago

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.