['/usr/bin/fs-uae-launcher'] FS-UAE Launcher 2.8.3 Traceback (most recent call last): File "/usr/share/fs-uae-launcher/fsgs/Archive.py", line 9, in <module> from lhafile import LhaFile ModuleNotFoundError: No module named 'lhafile' LhaFile module import problem [SETTINGS] Constructor <fsbc.settings.Settings object at 0x7f55e7046f60> [SETTINGS] No settings path specified [SETTINGS] Using default /home/dave/FS-UAE/Data/Settings.ini [SETTINGS] File /home/dave/FS-UAE/Data/Settings.ini does not exist [I18N] Initialize_locale language = [I18N] Locale is en_US [I18N] Checking /usr/bin/share/fs-uae-launcher/share-dir [I18N] Checking /usr/bin/../share/fs-uae-launcher/share-dir [I18N] bindtextdomain fs-uae-launcher: /usr/bin/../share/locale [I18N] find translations for en_US in local directory /usr/bin/../share/locale [I18N] Path to mo file: None [I18N] Translations object: <gettext.NullTranslations object at 0x7f55e7052278> malloc_consolidate(): invalid chunk size KCrash: Application 'python3.6m' crashing... Alarm clock At first I thought it was the missing lha, but I rebuilt with +lha, and the same crash happens but without the missing module warning. Others reported it too http://eab.abime.net/showthread.php?t=95037 Reproducible: Always
The lhafile error has nothing to do with the crash. It's an optional module and that harmless error appears when you don't have it.
This is apparently a general PyQt5 problem that affects KDE Plasma users in particular but it can be worked around by patching the application. Please try this: --- fs-uae-launcher-2.8.3/fsui/qt/qt.py 2017-01-08 19:48:56.000000000 +0000 +++ fs-uae-launcher-2.8.3/fsui/qt/qt.py 2019-05-03 22:28:16.979041988 +0100 @@ -60,7 +60,7 @@ # fix_qt_for_maverick() fsbc.desktop.set_open_url_in_browser_function(open_url_in_browser) - qapplication = QtBaseApplication([]) + qapplication = QtBaseApplication(['']) initialize_qt_style(qapplication) return qapplication There are further instances in bug #677130 and https://bugzilla.redhat.com/show_bug.cgi?id=1655310#c30.
I will try Monday when back at that machine thanks for the patch! And yep I know lha had nothing to do with it, it was renamed while in triage. I even stated that in the summary.
(In reply to David Flogeras from comment #3) > And yep I know lha had nothing to do with it, it was renamed while in > triage. I even stated that in the summary. Sorry, I misread it.
Thanks James, that worked perfectly! Now can I file a bug for you wasting my next week while I relive my teens?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5764da72a188fb787eafe6bb4bf389e4c3852b commit 9f5764da72a188fb787eafe6bb4bf389e4c3852b Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2019-05-08 19:55:00 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2019-05-08 19:57:40 +0000 app-emulation/fs-uae-launcher: Patch around crash under KDE Plasma This issue affects PyQt5 in general but I don't know the proper solution and it's easy to patch around. Closes: https://bugs.gentoo.org/684948 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org> .../files/fs-uae-launcher-2.8.3-QApplication.patch | 13 +++++++++++++ ...auncher-2.8.3.ebuild => fs-uae-launcher-2.8.3-r1.ebuild} | 1 + 2 files changed, 14 insertions(+)
(In reply to David Flogeras from comment #5) > Thanks James, that worked perfectly! Now can I file a bug for you wasting > my next week while I relive my teens? Yes but I'll close it as WONTFIX or maybe OBSOLETE. ;)