Bug 412542 - Couldn't open appstream
Summary: Couldn't open appstream
Status: CONFIRMED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-03 00:17 UTC by Justin
Modified: 2023-06-10 09:44 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin 2019-10-03 00:17:25 UTC
SUMMARY

Discover give error: Couldn't open appstream
after clicking link on https://kde.org/applications/


STEPS TO REPRODUCE
1. Go https://kde.org/applications/multimedia/org.kde.kmplayer
2. Click 'Install on Linux'
3. Discover opens with 'Couldn't open appstream' 




EXPECTED RESULT
Discover (or other package manager) opens with option to install.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 19.04
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-10-07 00:14:46 UTC
The id seems wrong in the latest released version:

appstreamcli search kmplayer
Identifier: kmplayer.desktop [desktop-application]

But KMPlayer's AppStream ID is correct in the app's source code: https://cgit.kde.org/kmplayer.git/tree/src/org.kde.kmplayer.appdata.xml#n3

And it's valid:
appstreamcli validate src/org.kde.kmplayer.appdata.xml
I: org.kde.kmplayer:56: description-first-para-too-short KMPlayer is a simple frontend for MPlayer/FFMpeg/Phonon.

Validation was successful: infos: 1, pedantic: 1


The git log says that the ID was just changed 5 months ago, but KMPlayer hasn't had a release in years, so the version available in distro repos is wrong.

The solution here is to have a release. This isn't something we track in Bugzilla so I have to close the bug because there's actually no code changes needed to fix this (it's already fixed in the code), but I will follow up with the developers.
Comment 2 Justin 2019-10-07 06:12:13 UTC
(In reply to Nate Graham from comment #1)
> The id seems wrong in the latest released version:
> 
> appstreamcli search kmplayer
> Identifier: kmplayer.desktop [desktop-application]
> 
> But KMPlayer's AppStream ID is correct in the app's source code:
> https://cgit.kde.org/kmplayer.git/tree/src/org.kde.kmplayer.appdata.xml#n3
> 
> And it's valid:
> appstreamcli validate src/org.kde.kmplayer.appdata.xml
> I: org.kde.kmplayer:56: description-first-para-too-short KMPlayer is a
> simple frontend for MPlayer/FFMpeg/Phonon.
> 
> Validation was successful: infos: 1, pedantic: 1
> 
> 
> The git log says that the ID was just changed 5 months ago, but KMPlayer
> hasn't had a release in years, so the version available in distro repos is
> wrong.
> 
> The solution here is to have a release. This isn't something we track in
> Bugzilla so I have to close the bug because there's actually no code changes
> needed to fix this (it's already fixed in the code), but I will follow up
> with the developers.

Thanks for the investigation Nate.
nb. This is not just about KMplayer (that was an example) but about many of the apps links from https://kde.org/applications/
Should non-updated/deprecated apps or their non-working links be removed from https://kde.org/applications/? Or at least a 'Currently not available for Disco/Bionic' warning be added to the https://kde.org/applications/ page for that software?
It could be argued that having dead apps or links on the KDE website does not inspire confidence for potential new users of Plasma investigating what is available.
Comment 3 Nate Graham 2019-10-08 17:12:03 UTC
Yeah, they should all get new releases.

Do you think you could put together a list of apps on https://kde.org/applications/ that don't open in Discover properly? I'll follow up with their developers.
Comment 4 Justin 2019-10-09 01:50:14 UTC
Ok, shall do!
Comment 5 Justin 2019-10-09 04:25:45 UTC
List of apps on https://kde.org/applications/ with 'Couldn't open appstream' display in Discover.

Clazy
KdebugSettings
kdesrc-build
KUIViewer Kpart
SymbolEditor
KgraphViewer
kdegraphics-mobipocket
kdegraphics-thumbnailers
Choqok
PIM Data Exporter
Banji  (does not work form other sources either)
KIO Gdrive
Zeroconf Support
KMPlayer 
Plasma Camera (tried on the desktop not mobile)
FFmpeg Thumbnailer
Flow
Dolphin Plugins 
FileStash
Samba Filesharing Plugin
Printer Configuration
Symmy 
KBackup 
Kdialog
Kamera
Kcron
Markdown Viewer KPart
Comment 6 Nate Graham 2019-11-08 21:56:59 UTC
Over to Neon to get the apps in this list released. Not exactly the ideal component, but it's where the "All About The Apps" leader lives :)