Bug 1223466

Summary: Mnemosyne failed to start on the latest Tumbleweed snapshot
Product: [openSUSE] openSUSE Tumbleweed Reporter: Wei <wire.a3n6s>
Component: OtherAssignee: Eric Schirra <ecsos>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: lars.vogdt
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Wei 2024-04-29 02:18:32 UTC
mnemosyne was installed from the Education repository. It used to work fine but now failed to start since the OS was rolled to the latest snapshot.

Environment:
* openSUSE Tumbleweed snapshot version 20240426
* mnemosyne version 2.11 from the Education repository (mnemosyne-2.11-3.6.noarch)

Reproduce Steps:

Start mnemosyne from the commandline:

# mnemosyne
/usr/lib/python3.11/site-packages/mnemosyne/libmnemosyne/__init__.py:377: UserWarning: google_trans_new package is not installed. Google translate feature will not be available.
  warnings.warn("google_trans_new package is not installed. Google translate feature will not be available.")
QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/libexec/qt6/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/libexec/qt6/qtwebengine_dictionaries'


The application won't start. Ctrl-C to stop it, then got following debug information:

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/lib/python3.11/site-packages/mnemosyne/pyqt_ui/review_wdgt.py", line 449, in restore_focus
    def restore_focus(self):


Since it worked fine in March before some OS upgradings (rollings), it may has something to do with the dependencies (maybe some Qt6 libraries).
Comment 1 Eric Schirra 2024-04-29 07:56:42 UTC
Sorry, but I can't understand this.
Here the application starts without any problems and is usable.
Comment 2 Wei 2024-04-29 11:45:45 UTC
(In reply to Eric Schirra from comment #1)
> Sorry, but I can't understand this.
> Here the application starts without any problems and is usable.

It only happens on the latest snapshot of Tumbleweed.