Created attachment 1826869 [details] mu.log Created attachment 1826869 [details] mu.log Created attachment 1826869 [details] mu.log Description of problem: The mu-editor when launched from Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Install the mu package on Fedora Workstation using Dnf. 2. Navigating to the Application Picker and clicking on the Mu icon will fail, therefore open a terminal window and enter mu-editor at the prompt. Actual results: [jpesco@f35ws log]$ mu-editor Logging to /home/jpesco/.cache/mu/log/mu.log QSocketNotifier: Can only be used with threads started with QThread Traceback (most recent call last): File "/usr/bin/mu-editor", line 8, in <module> sys.exit(run()) 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' [jpesco@f35ws log]$ Expected results: The editor should launch! Additional info: 1. I've had the same result with AARCH64 on a Raspberry Pi 4 running Fedora 35 Server and the Basic Desktop group installed. 2. Commenting out line 775 of /usr/lib/python3.10/site-packages/mu/interface/main.py, but doesn't clear up `QSocketNotifier: Can only be used with threads started with QThread' that does not appear in log file. 3. Removing the rpm package and attempting to install the mu-editor with pip also fails.
Thanks for the report, Joe! Good news is I know precisely how to fix this, we just change: self.move((screen.width() - size.width()) / 2, ... To: self.move((screen.width() - size.width()) // 2, ... In order to have ints and not floats. I will do this.
https://github.com/mu-editor/mu/pull/1828
https://src.fedoraproject.org/rpms/mu/pull-request/14 https://src.fedoraproject.org/rpms/mu/pull-request/15
FEDORA-2021-31ef447e24 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-31ef447e24
FEDORA-2021-31ef447e24 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-8d06730b63 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8d06730b63
FEDORA-2021-8d06730b63 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8d06730b63` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8d06730b63 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Requesting a freeze exception as this package is on the Fedora Python Classroom Lab and people are more likely to just run it from live media without updating the packages.
+3 in https://pagure.io/fedora-qa/blocker-review/issue/510 , marking accepted.
FEDORA-2021-8d06730b63 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.