Public bug reported:

Hi.

I'm using muse 3.0.2+ds1-2build1 on Ubuntu 20.04.

When opening a MIDI track segment, there's a "Plugins" menu providing some 
Python-based scripts.
However, selecting one of them (e.g. RandomizeVelocityRelative) to be executed 
on some selected MIDI events leads to an error popup and as nasty side effect 
the previously selected MIDI events are deleted:

MusE was unable to launch the script, error message:
Traceback (most recent call last):
  File "/usr/share/muse/scripts/RandomizeVelocityRelative", line 31, in <module>
    from PyQt4 import QtGui, QtCore
ModuleNotFoundError: No module named 'PyQt4'
...


PyQt4 doesn't seem to be "easily" available anymore.
So what I did was to look at the upstream repository of muse on github.
It turned out, that all these scripts are already updated to use PyQt5, but 
only for versions 4.0pre1 or higher.
So I just opened the current scripts from 
https://github.com/muse-sequencer/muse/tree/master/src/share/scripts and 
overwrote "RandomizeVelocityRelative" and "SwingQuantize1" in my 
/usr/share/muse/scripts and ... it works. :-)
At least those two are working fine for me now, because I'm using them quite 
frequently.


So coming to my request:
Would it be possible to patch these Python scripts with the content from 
upstream/master to make them "just work" again in muse as provided by Ubuntu 
20.04 (and later LTS releases that are not shipping muse 4.0 yet)?


Thanks and regards.

** Affects: muse (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956008

Title:
  Python plugins not working due to missing pyqt4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/muse/+bug/1956008/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to