This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Disable/clear Internet Services on startup (specifically amarok_service_ampache)

Tags: None
(comma "," separated)
hysterix
Registered Member
Posts
6
Karma
0
Hello everyone!

Firstly awesome program, I appreciate the hard work put into this, and I hope my feedback here can help a bit.

First my specs:
Amarok Version 1.92.2 ( version 2)
Ubuntu 8.04 - Gnome

To make a long story short, my amarok crashes with an access control list error during startup after I edited the ampache internet service inside the configure - amarok menu.  When I removed the file amarok_service_ampache.so out of the directory /usr/lib/kde4/lib/kde4 amarok started up with the message the module didnt load, but I was at least able to load the program!  This problem happened right after I edited the ampache configuration as I am trying to connect amarok wtih ampache and after I restarted it, I get this error and can't get run amarok unless I remove that module first.

When I removed the module, amarok did not crash but instead gave me this warning:
KLibLoader could not load the plugin:
amarok_service_ampache
Error message:
Library "amarok_service_ampache" not found

So I can 100% say that amarok is not loading due to a mis configured ampache service, but I have had this error while running in fedora 10 (gnome) and it wouldn't crash, but for ubuntu it does.

My question is, is there an easy way to tell this module to default to the installation setting, where no ampache host information or password or the module itself is not loaded on startup?  Is there an easy way to clear this configuration data? Somehow, reinstalling the program doesn't fix this, so is this configuration file somewhere else?

I can see in the file ampacheconfig.cpp:
        AmpacheServerEntry entry;
        entry.name = list.takeFirst();
        entry.url = list.takeFirst();
        entry.username = list.takeFirst();
        entry.password = list.takeFirst();
        entry.addToCollection = false; //FIXME

I would like to know where this data is being stored, and how do I remove it!  I have tried un-installing the program and re-installing with no change.  Thank you very much in advance for any and all help!

Last edited by hysterix on Mon Feb 02, 2009 1:05 pm, edited 1 time in total.
nhn
KDE Developer
Posts
114
Karma
0
OS
I replied to your private mail already, but for reference here is my reply:

you could either just go to Settings->Internet Services and disable
the Ampache service or alternatively remove all the Ampache stuff from
the main Amarok config file in ~/.kde/share/config/amarokrc ( or
~/.kde4/share/config/amarokrc depending on distro and setup )

Hope this helps.
hurra
Registered Member
Posts
75
Karma
0
Maybe also upgrade Amarok 2.0.1.1

You are running a beta version of Amarok2 currently?
User avatar
dangle_wtf
Moderator
Posts
1252
Karma
0
If you're having the same problem I have with Ampache and acl, then you probably won't be able to launch Amarok long enough to edit the settings within the program, in which case the second option mentioned by Freespirit above is the way to go - edit the amarokrc file and disable the Ampache service for the time being.

The other thing I've found is that disabling the splash-screen can be useful (particularly on OSX where any dialogue on launch is blocked by the splash-screen and is not easily able to be cleared) for getting past launch errors.
Note I haven't tried anything more recent than beta2 at this stage, only that I had the same problem.

Last edited by dangle_wtf on Tue Feb 03, 2009 2:56 am, edited 1 time in total.


"There are two theories to arguing with women. Neither one works."
.
If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss"
hysterix
Registered Member
Posts
6
Karma
0
Thank you all so very much for the help, and the quick replies!

Freespirit, thank you very much; I realized after I sent you the mail that I should post this on the forums in case others have the same problem!  Editing the file ~/.kde4/share/config/amarokrc
And the line from:
amarok_service_ampacheEnabled=true

to:

amarok_service_ampacheEnabled=false

Enabled me to get into amarok again and try to reconfigure for ampache!  Thank you all for your help and now I can continue with my configuration!  Again, a big thanks!

Last edited by hysterix on Tue Feb 03, 2009 6:06 am, edited 1 time in total.
hysterix
Registered Member
Posts
6
Karma
0
hurra wrote:Maybe also upgrade Amarok 2.0.1.1

You are running a beta version of Amarok2 currently?


Hello hurra!  I am relatively new to linux so I tried my best to do what you suggested.

I un-installed my version of amarok as it seems my distro doesnt have packages for amarok2 as of yet (or if they do, I could not get them to work).  I am running ubuntu 8.04 with gnome desktop, not kde (although I just installed the kde desktop beause I think I needed the libraries).

I tried to compile from source, but ran into a few issues with cmake, specifically I'm not sure if a person can compile kde apps with cmake on gnome, and if they can, it must mean I don't have all the developer libraries.

Lastly, it looked like once I enabled the other repo's apt-get would be able to handle it for me, but alas it can't as there are 'broken packages' as it says and it wont install some.

For now I am left at Version 1.92.2, until I can figure out how to compile amarok with cmake inside gnome and make sure to fix a whole mess of dependencies from the looks of it.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]