Created attachment 117952 [details] Screenshot SUMMARY After starting amarok, the error message This object could not be created for the following reason: Could not find requested component: Message is persistent, can not be removed STEPS TO REPRODUCE 1. Start amarok 2. 3. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Tumbleweed 20190205 (available in About System) KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.54.0 Qt Version: 5.12.0 ADDITIONAL INFORMATION See debug output
Created attachment 117953 [details] Debug output when starting amarok
I presume it didn't happen before, what did you change in between?
(In reply to Myriam Schweingruber from comment #2) > I presume it didn't happen before, what did you change in between? AFAIK, nothing. Have to admit that I dont use amarok on a daily basis, more every now and then. I just see a tab with an 'unknown mini-program' in the middle section. Closing this removes the error message. There have been a couple of system upgrades (Tumbleweed=rolling Release) in between, maybe something was kicked out?
(In reply to Axel Braun from comment #3) > (In reply to Myriam Schweingruber from comment #2) > > I presume it didn't happen before, what did you change in between? > > AFAIK, nothing. Have to admit that I dont use amarok on a daily basis, more > every now and then. > I just see a tab with an 'unknown mini-program' in the middle section. > Closing this removes the error message. > There have been a couple of system upgrades (Tumbleweed=rolling Release) in > between, maybe something was kicked out? you should report this to your distribution, then, as we didn't change things on our side.
From looking at the code I'd say you'll need whatever package provides libktexteditor.so.4 (probably already available because amarok links to it) *and* the katepart plugin (e.g. installed as /usr/lib/kde4/katepart.so)
(In reply to Heiko Becker from comment #5) > From looking at the code I'd say you'll need whatever package provides > libktexteditor.so.4 (probably already available because amarok links to it) > *and* the katepart plugin (e.g. installed as /usr/lib/kde4/katepart.so) docb@T520:~> zypper se --provides libktexteditor S | Name | Zusammenfassung | Typ ---+------------------+------------------------+------ | kate4-parts | Kate parts for Dolphin | Paket i+ | libkde4 | KDE Base Libraries | Paket | libkde4-32bit | KDE Base Libraries | Paket i+ | openSUSE-release | openSUSE Tumbleweed | Paket -> libktexteditor should be OK docb@T520:~> zypper se --provides katepart S | Name | Zusammenfassung | Typ --+----------------------------------+------------------------------------------------------+------ | libkatepartinterfaces4 | Library to interface with kateparts | Paket | libkatepartinterfaces4-debuginfo | Debug information for package libkatepartinterfaces4 | Paket Installing this amarok starts as usual. So this seems to be a missing build dependency then
Indeed, this really needs to be reported downstream
Downstream here. (In reply to Heiko Becker from comment #5) > From looking at the code I'd say you'll need whatever package provides > libktexteditor.so.4 (probably already available because amarok links to it) > *and* the katepart plugin (e.g. installed as /usr/lib/kde4/katepart.so) Could you please tell me what the katepart is used/needed for? Or at least point me to the corresponding place in the code. I just tried uninstalling it (and libkatepartinterfaces4), and don't get an error message here... (In reply to Axel Braun from comment #3) > I just see a tab with an 'unknown mini-program' in the middle section. > Closing this removes the error message. I think that's likely the Wikipedia applet which we don't build anymore because we dropped Qt4's WebKit completely (for obvious reasons). And I'm sure we are not the only ones. I suppose the error message "Could not find requested component" is caused by that too, and unrelated to whether libkatepartinterfaces4 or the katepart are installed. The problem here is that if that applet is already listed in the user config file, it will be displayed in the context view, and loading it will fail of course if it's not available. Maybe Amarok should just ignore this particular problem and *not* show an error message for that particular applet... Another "solution" I can think of is include a kconf update script that would remove the Wikipedia applet, if Amarok is built without QtWebKit.
PS, @Axel Braun: (In reply to Axel Braun from comment #6) > Installing this amarok starts as usual. I'm a bit confused about this. You already wrote earlier that the error message disappeared after you removed that "unknown mini-program", or was that a different error message? Does it still start as usual now if you uninstall libkatepartinterfaces4 again?
(In reply to Wolfgang Bauer from comment #8) > Could you please tell me what the katepart is used/needed for? Or at least > point me to the corresponding place in the code. > > I just tried uninstalling it (and libkatepartinterfaces4), and don't get an > error message here... Ok, found it myself meanwhile. It only seems to be necessary for the scripting console (that's disabled by default). That cannot really be the problem here though, as that would show a dialog window with the error message "A KDE text-editor component could not be found. Please check your KDE installation. Exiting the console!" And amarok would exit and crash. So I really do think the problem is about the missing Wikipedia applet, and I do think we should do something about that upstream. Reopening therefore. I think my idea about a kconf update script is probably the best way to go about it, I'll try to come up with a proposal on phabricator in the next days, if nobody beats me to it... ;-)
Tested Amarok 3.2.0-git (Qt5 build, Plasma 6 desktop), non-existant context applets are ignored without user-facing error messages, so this one is pretty much resolved, I believe.