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

Import Collection Woes

Tags: None
(comma "," separated)
oscarlevin
Registered Member
Posts
7
Karma
0

Import Collection Woes

Tue Nov 04, 2008 3:28 pm
I was thrilled to see that the ability to import collections is now available.  However, I am unable to do this.  When I try I get the following:

Could not open Amarok 1.4 database: Driver not loaded Driver not loaded


Now, I'll admit I don't have 1.4 installed any more, so that might be the problem.  However, seems that Kubuntu 8.10 does not allow both versions to be installed at the same time.  Is this a deal breaker? 
adampope
Registered Member
Posts
8
Karma
0

Re: Import Collection Woes

Tue Nov 04, 2008 9:43 pm
Same problem. I was using MySQL for 1.4 and have attempted to import, get the same error message.

Maybe it's a username/password/database name issue? Any pointers on how I check what the old ones were? I've tried umpteen combinations of my usual ones. I was using the following settings (I think - it was over a year ago I set this up):

    Hostname: 127.0.0.1
    Database: amarok
    Port: 3306
    Username: amarok
    Password: Your Password

Otherwise, I'm kinda hacked off I can't access my recent collection additions at all - Amarok 1.4 had this neat 'added to collection: today/ last week/last month/three months/year' and I can't find that functionality anywhere in Amarok 2. Grr. 'twas my most used feature and I'll be doggoned if I'm losing it! I mean, other than that minor gripe Amarok 2 is well funky.
User avatar
sebr
Moderator
Posts
301
Karma
0

Re: Import Collection Woes

Tue Nov 04, 2008 10:41 pm
You might have to install the qt-sql packages which are provided by your distribution. Please report back if this fixes the problem
crumley
Registered Member
Posts
1
Karma
0

Re: Import Collection Woes

Wed Nov 05, 2008 3:52 pm
Worked for me. Needed to install the sqllite qt driver (in my case).
adampope
Registered Member
Posts
8
Karma
0

Re: Import Collection Woes

Wed Nov 05, 2008 10:45 pm
Can I report back if it doesn't fix the problem too?

Checked I had pretty much every qt and sql package installed in Ubuntu and Kubuntu, they seem fine. I uninstalled and reinstalled 1.4, checked the MySQL settings, still get the:
Error: Could not open Amarok 1.4 database: Driver not loaded Driver not loaded
Failed: Unable to import statistics

Perhaps it's the port I've specified?
User avatar
sebr
Moderator
Posts
301
Karma
0

Re: Import Collection Woes

Wed Nov 05, 2008 11:02 pm
@adampope
no this is definitely because you are missing the qtsql plugins (specifically, mysql). On ubuntu (8.04) you'll need the libqt4-sql-mysql package.
adampope
Registered Member
Posts
8
Karma
0

Re: Import Collection Woes

Thu Nov 06, 2008 8:51 pm
Yay! Worked a treat. Not sure why that package wasn't appearing in my synaptic package manager, but I found it on teh internets and installed it, bingo (though all the text in Amarok mysteriously disappeared after I imported the data - I had to restart Amarok 2 to get it to appear again). Should make that package an Amarok 2 dependency anyhow.
oscarlevin
Registered Member
Posts
7
Karma
0

Re: Import Collection Woes

Fri Nov 07, 2008 9:14 pm
Thank you SO much!  It worked (after restarting).  Cheers.
Boni
Registered Member
Posts
49
Karma
0

Re: Import Collection Woes

Sun Nov 09, 2008 10:55 am
Hello,
I am experiencing a problem with that wizard, too
No matter if I try it on newest Windows build or on Linux (Beta 3), it always tells me
"Success: Imported 0 tracks" after choosing my collection.db from Amarok 1.4

Do I have to have a special package for this? I installed libsqlite3-0.

Thank you very much, Boni

Last edited by Boni on Sun Nov 09, 2008 10:59 am, edited 1 time in total.
chrazer
Registered Member
Posts
1
Karma
0

Re: Import Collection Woes

Sun Nov 09, 2008 2:22 pm
I too get the "Success: Imported 0 tracks"  message with Amarok 1.94-11.6.  I have installed  the KDE4 sql and sql lite libs.  On the other hand I did a new collection scan and it was faster than the one I did with Amarok 1.4 (running under KDE 4.13) very much faster.  Still something is not quite right.

Chrazer
User avatar
atrox
Registered Member
Posts
211
Karma
0
OS

Re: Import Collection Woes

Sun Nov 09, 2008 2:25 pm
I'm getting the "imported 0 tracks" too. I tried Amarok 1.94 on OpenSuse 11.0 and KDE 4.1.3. Before launching new Amarok I deleted existing .kde4/share/*/amarok*, so that old setting of its wouldn't mess smth up.

Any requirements (Amarok-specific) for this to work, a'la "there must be no existing collection in Amarok 2" or smth?
wpk
Registered Member
Posts
5
Karma
0

Re: Import Collection Woes

Wed Nov 12, 2008 10:50 pm
same problem there. I'm trying to import the 1.4 collection (on Mandriva 2009.0 and KDE 4.1.3) and I'm getting the "Success: imported 0 tracks" message. The 1.4 database is a mysql base, I have all libs installed (e.g. libqt4-sql-mysql). Is there already a patch or a workaround?

Thanks.
User avatar
sebr
Moderator
Posts
301
Karma
0

Re: Import Collection Woes

Wed Nov 12, 2008 10:55 pm
Yes, the workaround is to wait until next release where this has been fixed
wpk
Registered Member
Posts
5
Karma
0

Re: Import Collection Woes

Wed Nov 12, 2008 11:09 pm
thanks for the quick reply. I was going to plunge into the code to once again find a couple of days later that the issue was fixed :smilie:
User avatar
sebr
Moderator
Posts
301
Karma
0

Re: Import Collection Woes

Wed Nov 12, 2008 11:11 pm
@wpk: infact, I'd appreciate it if you could test svn trunk to see that it has been fixed for your particular case.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]