Package Details: mu-editor 1:1.2.0-3

Git Clone URL: https://aur.archlinux.org/mu-editor.git (read-only, click to copy)
Package Base: mu-editor
Description: A simple Python editor for beginner programmers
Upstream URL: https://codewith.mu/
Licenses: GPL3
Submitter: webmeister
Maintainer: daniel7
Last Packager: daniel7
Votes: 14
Popularity: 0.000387
First Submitted: 2016-07-20 09:37 (UTC)
Last Updated: 2023-03-15 00:59 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Pinned Comments

SpotlightKid commented on 2022-02-23 18:28 (UTC)

The new 1.1.x release of mu-editor adds several dependencies on Python packages, which are not yet packaged for the AUR and also sets max version number restrictions on several packages, which will not work with Arch either.

Since I have not actually used mu-editor in several years and I am tired of dealing with these kinds of projects, which make life unnecessarily complicated for distribution packagers, I am orphaning this package now.

If you want to use mu-editor 1.1.x, I would like to suggest you use pipx to install it, but, alas, this doesn't work, since its dependencies are unresolvable.

Latest Comments

1 2 3 4 Next › Last »

fanzhuyifan commented on 2023-09-05 17:30 (UTC)

Same issue with @Levitating. As pointed out by @gsus, this is fixed by using the tar archive instead. Could the PKGBUILD be updated? Thanks!

gsus commented on 2023-08-08 18:53 (UTC)

@Levitating the problem is mu-editor release repo (github), the tar file contain the correct appimage file

Levitating commented on 2023-06-02 00:45 (UTC)

When I try to execute the AppImage I get:

fish: Job 1, '/opt/mu-editor/Mu_Editor-1.2.0.…' terminated by signal SIGSEGV (Address boundary error)

jmcb commented on 2022-09-08 12:01 (UTC)

Turns out packaging 1.1.x on any distribution is currently unworkable due to #1634. https://github.com/mu-editor/mu/issues/1634

An appimage package also won't on arch specifically, due to #2295 https://github.com/mu-editor/mu/issues/2295

jmcb commented on 2022-09-06 23:39 (UTC)

Working on a fixed version at https://github.com/joelsgp/pkgbuild-mu-editor, I guess the only way to fix version number restriction is to package the lower version on the aur a la python39 or to patch the upstream to play nice with the new versions?

Eugine_Nier commented on 2022-07-12 18:45 (UTC)

I get the following error when trying to run mu-editor:

(python:7170): Gtk-WARNING **: 14:43:33.026: Unable to locate theme engine in module_path: "adwaita",

(python:7170): Gtk-WARNING **: 14:43:33.026: Unable to locate theme engine in module_path: "adwaita", Traceback (most recent call last): File "/usr/bin/mu-editor", line 33, in <module> sys.exit(load_entry_point('mu-editor==1.0.3', 'console_scripts', 'mu-editor')()) File "/usr/lib/python3.10/site-packages/mu/app.py", line 148, in run editor_window.setup(editor.debug_toggle_breakpoint, editor.theme) File "/usr/lib/python3.10/site-packages/mu/interface/main.py", line 826, in setup self.autosize_window() File "/usr/lib/python3.10/site-packages/mu/interface/main.py", line 775, 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'

Luk313 commented on 2022-05-09 14:04 (UTC) (edited on 2022-05-09 14:07 (UTC) by Luk313)

Hi, Thanks very much for this package.

It is currently having an install problem.

1°) mu-editor current version is having a problem on line 775 of the file /usr/lib/python3.10/site-packages/mu/interface/main.py :

The result should be an int and not a float. Please see the following error :

File "/usr/lib/python3.10/site-packages/mu/interface/main.py", line 775, 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'

You could easily solve this problem by patching the following single / (that gives floats) by a double // that gives int :

In the autosize_window(self) function (line 766), please Replace lines 775 and 776 :

self.move((screen.width() - size.width()) / 2, (screen.height() - size.height()) / 2)

by:

self.move((screen.width() - size.width()) // 2, (screen.height() - size.height()) // 2)

You should have:

def autosize_window(self): """ Makes the editor 80% of the width*height of the screen and centres it. """ screen = QDesktopWidget().screenGeometry() w = int(screen.width() * 0.8) h = int(screen.height() * 0.8) self.resize(w, h) size = self.geometry() self.move((screen.width() - size.width()) // 2, (screen.height() - size.height()) // 2) 2°) mu-editor relies on new packages as well, could you please take them into account for this package ??

  • nudatus (>=0.0.3)
  • gpiozero (I installed 1.6.2)
  • guizero (>=1.3.0)
  • pgzero (>=1.2.1)
  • pigpio (>=1.78)

Thanks very much for this package ! Cheers

SpotlightKid commented on 2022-02-23 18:28 (UTC)

The new 1.1.x release of mu-editor adds several dependencies on Python packages, which are not yet packaged for the AUR and also sets max version number restrictions on several packages, which will not work with Arch either.

Since I have not actually used mu-editor in several years and I am tired of dealing with these kinds of projects, which make life unnecessarily complicated for distribution packagers, I am orphaning this package now.

If you want to use mu-editor 1.1.x, I would like to suggest you use pipx to install it, but, alas, this doesn't work, since its dependencies are unresolvable.

SpotlightKid commented on 2022-01-11 21:13 (UTC)

@laktak (who marked this as out-of-date) Whenever the minor python version is updated, you need to rebuild / re-install your AUR packages, which install any Python packages (such as this one). No need to update this package.

SpotlightKid commented on 2021-08-16 09:37 (UTC)

@jyper: These dependencies are already covered by the dependency on python-qtconsole and its dependencies.