Bug 1211979

Summary: goldendict fails to start
Product: [openSUSE] openSUSE Tumbleweed Reporter: Vladimir <malik0102>
Component: OtherAssignee: E-mail List <screening-team-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: shenlebantongying
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Vladimir 2023-06-03 19:29:17 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Build Identifier: 

The programm goldendict was removed a few days ago, as a result of a system's upgrade. Insted of it, there is now a goldendict-nl package in the repositories. goldendict-nl is a fork of goldendict. I has installed goldendict-nl, but the program does not start. 

If I enter command goldendict-ng in konsole, I receive the message "If 'goldendict-ng' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf goldendict-ng"

If I enter command goldendict in konsole, I receive the message 
"could not load multimedia backend ""
QtMultimedia is not currently supported on this platform or compiler.
Aborted (core dumped)"



Reproducible: Always

Steps to Reproduce:
Just try to run the program.



I use openSUSE Tumbleweed 20230531 KDE/Plasma
Comment 1 slb 2023-06-03 20:11:40 UTC
The goldendict in the repo was the fork's older version.

---


Yes, openSUSE's qt multimedia seems to have some problems.

---

As workaround, you can open `~/.goldendict/config` or `~/.config/goldendict/config`

And manually change from QtMultimedia to FFmpeg at this line (just delete the line also OK):

```
  <internalPlayerBackend>FFmpeg</internalPlayerBackend>
```
Comment 2 slb 2023-06-03 20:30:33 UTC
It seems openSUSE's current Qt6 Multimedia is a dummy implementation.

https://github.com/qt/qtmultimedia/blame/837a0ed6fe9c911a60626447feaaf034d1b682a5/src/multimedia/platform/qplatformmediaintegration.cpp#L21
Comment 3 Vladimir 2023-06-03 20:36:40 UTC
(In reply to slb from comment #1)
> The goldendict in the repo was the fork's older version.
> 
> ---
> 
> 
> Yes, openSUSE's qt multimedia seems to have some problems.
> 
> ---
> 
> As workaround, you can open `~/.goldendict/config` or
> `~/.config/goldendict/config`
> 
> And manually change from QtMultimedia to FFmpeg at this line (just delete
> the line also OK):
> 
> ```
>   <internalPlayerBackend>FFmpeg</internalPlayerBackend>
> ```


This method works. Thank you.
Comment 4 slb 2023-06-03 21:07:24 UTC
Another workaround is `sudo zypper in qt6-multimedia`.

My bad, I didn't realize that qt multimedia needs a run time dependency :(
Comment 5 Vladimir 2023-06-03 21:30:47 UTC
(In reply to slb from comment #4)
> Another workaround is `sudo zypper in qt6-multimedia`.
> 
> My bad, I didn't realize that qt multimedia needs a run time dependency :(

Yes, this method works as well.
Comment 6 slb 2023-06-05 17:19:49 UTC
fixed: https://build.opensuse.org/request/show/1090798