Plasma Media Center (KDE4) crashes on startup

Hi,

I just installed “Plasma Media Center” v1.3.0 (KDE 4 version) from KDE:Extras on my 13.2 laptop. It crashes on startup, exactly as described in KDE bug 335904 which was marked as resolved in August 2014:


...
PLASMA_ADAPTER: Setting Oxygen Plasma theme and loading resources... 
Failed to load Plasma Libraries, cannot continue.
...

The commit for the fix was dated August 2014, but the changelog for the OSL rpm shows

Wed 25 Jun 2014 13:00:00 BST hrvoje.senjan@gmail.com
- Update to 1.3.0 final    * Bugfixes over previous beta 

Can anyone please suggest how to get the fix into the OSL repos?
Thanks
Richard (MQ)

Either do it yourself (branch the package on OBS, add the patch, and submit it back), or file an openSUSE bug report (and mention the KDE bug report).

But: if I understand the KDE bug report correctly, you should be able to fix the crash just by installing plasma-mediacenter-devel too.

Unfortunately installing plasma-mediacenter-devel too doesn’t fix it for me, so maybe I will try to bite the bullet and try to install the patch - if it does work I will then try to submit it. If not maybe a bug report is the best bet.

However I have never used OBS and not sure if I even have access. Is the guide at https://en.opensuse.org/openSUSE:Build_Service_Tutorial up-to-date? [OT]: i wish these pages had a visible date or even just a OSL version number to shown when they were written. Too many - on the web in general and especially on opensuse.org - are way out of date. [/OT]

Thanks
Richard

Well, that patch only makes plasma-mediacenter open libplasmaadapter.so.x instead of libplasmaadapter.so (which is in the -devel package).
So if installing the -devel package doesn’t fix your crash, that patch won’t fix it either, and you probably experience a different problem.

Just to be sure: do you have /usr/lib64/libplasmaadapter.so, and is it a symlink to /usr/lib64/libplasmaadapter.so.1.3?

ls -l /usr/lib64/libplasmaadapter.so

I just installed plasma-mediacenter and plasma-mediacenter-devel from KDE:Extra here, and it works fine (without plasma-mediacenter-devel it crashes as per the bug report).

However I have never used OBS and not sure if I even have access.

Everybody who registers has access.
As you already have an account here, you don’t even have to register again.
Just login with your forum username/password on http://build.opensuse.org/, that should create your home: repo.

Is the guide at https://en.opensuse.org/openSUSE:Build_Service_Tutorial up-to-date?

Yes, it is.
OBS hasn’t radically changed interface-wise.

$ ls -l /usr/lib64/libplasmaadapter.so
ls: cannot access /usr/lib64/libplasmaadapter.so: No such file or directory
$ ls -l /usr/lib64/libplasma*
libplasmaadapter.so.1.3 
$ sudo ln -s /usr/lib64/libplasmaadapter.so.1.3 /usr/lib64/libplasmaadapter.so

Now it works…

I just installed plasma-mediacenter and plasma-mediacenter-devel from KDE:Extra here, and it works fine (without plasma-mediacenter-devel it crashes as per the bug report).

Everybody who registers has access.
As you already have an account here, you don’t even have to register again.
Just login with your forum username/password on http://build.opensuse.org/, that should create your home: repo.

Yes, it is.
OBS hasn’t radically changed interface-wise.

Well, I have successfully logged in to OBS and will explore potential fixes for this problem. More to follow…

Thanks again!
Richard (MQ)

Then you apparently didn’t install plasma-mediacenter-devel, this definitely contains that symlink…

$ sudo ln -s /usr/lib64/libplasmaadapter.so.1.3 /usr/lib64/libplasmaadapter.so

Now it works…

Good. :slight_smile:

Well, I have successfully logged in to OBS and will explore potential fixes for this problem. More to follow…

Well, it definitely would be good to have the fix in the package in KDE:Extra. I’m not sure whether there will be another KDE4 release of plasma-mediacenter (which would contain the fix).
If you don’t succeed (or don’t have time, or whatever) I can submit it as well.

D’oh! I had installed plasma-mediacenter-debuginfo, not plasma-mediacenter-devel

Well, it definitely would be good to have the fix in the package in KDE:Extra. I’m not sure whether there will be another KDE4 release of plasma-mediacenter (which would contain the fix).
If you don’t succeed (or don’t have time, or whatever) I can submit it as well.

I have to say I am rather disappointed with the functionality of plasma-mediacenter v1.3 - for starters, there doesn’t seem to be any way to configure it. Maybe time for a separate thread, but I will look at whether v1.4 can be built for KDE4 in the hope that it might include such key parts. I am a bit out of my depth wading around on OBS though!
Thanks
Richard

Well, that explains it of course… :wink:

I have to say I am rather disappointed with the functionality of plasma-mediacenter v1.3 - for starters, there doesn’t seem to be any way to configure it. Maybe time for a separate thread, but I will look at whether v1.4 can be built for KDE4 in the hope that it might include such key parts.

Well, I never used it myself.

But as indicated, I’m not sure there will be another KDE4 version at all. The last commit to the 1.4 branch was last year in November.
All work is going into the KF5/Plasma5 based plasma-mediacenter it seems, 5.4 will be released with Plasma 5.4 next week…

And KDE4’s plasma is not supported by KDE any more, there won’t be any new release either.

I don’t know the exact plans of the plasma-mediacenter developers though.

I am a bit out of my depth wading around on OBS though!

Ok, as mentioned I can (and will) submit a fixed package in the next days.