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

Building collection crashes amarok on mdk10.1

Tags: None
(comma "," separated)
MarioK
Karma
0
Hello everyone!

I had amarok 1.1 working just fine on my Mandrake 10.1 system, but i was unable to upgrade to 1.2 (neither beta1 nor beta2) using the the rpms i found in the Mandrake cooker. Although amarok starts up just fine, it crashes when i try to scan my collection. First i tried deleting the .kde/share/apps/amarok folder, but that didn\'t help. Some previous posts suggested that this is a Taglib issue so i upgraded to 1.3.1 (using the rpms i found here http://www.gkmweb.com/amarok/10.1/) but that didn\'t seem to do the trick either. The console output suggests that it\'s an sqlite issue, but trying to install the sqlite 3.0.8 rpms i found at http://www.gkmweb.com/amarok/10.1/ didn\'t help either.

Below is the output i get from the console, any help would be appreciated!
Thanx again!


[amaroK] Connecting to /home/marios/.kde/socket-localhost/amarok.loader_socket
[amaroK] Starting amarokapp..
[amaroK] If you want a backtrace, run gdb against amarokapp, not amarok!
amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 3 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] == \'void-engine\' and [X-KDE-amaroK-rank] > 0
amarok: [PluginManager] Trying to load: libamarok_void-engine_plugin
amarok:
amarok: PluginManager Service Info:
amarok: ---------------------------
amarok: name :
amarok: library : libamarok_void-engine_plugin
amarok: desktopEntryPath : amarok_void-engine_plugin.desktop
amarok: X-KDE-amaroK-plugintype : engine
amarok: X-KDE-amaroK-name : void-engine
amarok: X-KDE-amaroK-authors : (Max Howell,Mark Kretschmann)
amarok: X-KDE-amaroK-rank : 1
amarok: X-KDE-amaroK-version : 1
amarok: X-KDE-amaroK-framework-version: 3
amarok:
QLayout: Adding KToolBar/playlist_toolbar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
QMetaObject::findSignal:CollectionView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
QMetaObject::findSignal:KListView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 3 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] == \'gst-engine\' and [X-KDE-amaroK-rank] > 0
amarok: [PluginManager] Trying to load: libamarok_gstengine_plugin
amarok:
amarok: PluginManager Service Info:
amarok: ---------------------------
amarok: name : GStreamer Engine
amarok: library : libamarok_gstengine_plugin
amarok: desktopEntryPath : amarok_gstengine_plugin.desktop
amarok: X-KDE-amaroK-plugintype : engine
amarok: X-KDE-amaroK-name : gst-engine
amarok: X-KDE-amaroK-authors : (Mark Kretschmann)
amarok: X-KDE-amaroK-rank : 255
amarok: X-KDE-amaroK-version : 1
amarok: X-KDE-amaroK-framework-version: 3
amarok:
Caps negotiation succeeded with 44100 Hz @ 2 channels
amarok: [PluginManager] Unloading library: libamarok_void-engine_plugin
[amaroK] Startup successful
[amaroK] Exiting

amarok: ERROR: [QStringList CollectionDB::query(const QString&, QStringList&, bool)] [CollectionDB] sqlite3_compile error:
amarok: ERROR: table related_artists already exists
amarok: ERROR: on query: CREATE TABLE related_artists (artist VARCHAR(255),suggestion VARCHAR(255),changedate INTEGER );
amarok: ERROR: [QStringList CollectionDB::query(const QString&, QStringList&, bool)] [CollectionDB] sqlite3_compile error:
amarok: ERROR: index related_artists_artist already exists
amarok: ERROR: on query: CREATE INDEX related_artists_artist ON related_artists( artist );
amarok: symbol lookup error: amarok: undefined symbol: _ZN13KListViewItem10insertItemEP13QListViewItem
zybex
Karma
0
You should compile amarok yourself !
I have mdk 10.1 and 1.2 beta1 works perfectly.

simple as this:
download sources
unpack
./configure --prefix=/usr
make
make install

regards
zybex
tlaloc
Karma
0
You can actually discover if your problem is TagLib related. If this is the case in the directory you specified as the root of your collection there should be a log file telling which song made TagLib crash.

Bye, Valentin.
tlaloc
Karma
0
Sorry, I think the file should be in:
.kde3.3/share/apps/amarok

in your home directory.
MarioK
Karma
0
Thank you both for your answers.

Well, i am definitely sure that it\'s NOT a Taglib issue: The collection scan log file seems OK, and amarok crashes even if i select to scan just a single, random directory. I still think this is an sqlite issue, but I am confused, because no version of sqlite was installed when I was running the 1.1 version anyway...

Anyway, i was hoping to avoid the compilation process, as I\'m not (obviously) an expert user, Upgrading from 1.0 to 1.1 with the rpms from the Mandrake cooker worked flawlessly before, so i guess I could either go back to 1.1 or wait for a newer version...

Thanks again for your help.
Mario
User avatar
eean
KDE Developer
Posts
1016
Karma
0
OS
You must have the sqlite library, there is a sqlite command-line program that amaroK never uses.

Try moving/removing your amarok directory and amarokrc.


Amarok Developer
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
MarioK wrote:
amarok: symbol lookup error: amarok: undefined symbol: _ZN13KListViewItem10insertItemEP13QListViewItem


Definitely something wrong with your package. An undefined symbol is not a "normal" bug, i.e. a bug in the application. It means something went wrong with your built.


--
Mark Kretschmann - Amarok Developer
Numbers
Karma
0
Had the same problems adding songs, but fixed by installing the 3 tablib/lib packages from the mandrake section.

http://www.gkmweb.com/amarok/

Can now build collections to much delight.
MarioK
Karma
0
Wow! So many replies! Thank you guys!

I think that Markey is right. The package from the Mandrake cooker must be defective or something. Anyway, for some reason I was convinced that the package I had was the same as the one available from the “Mandrake” link to the left of this page (http://www.gkmweb.com/amarok/10.1/), which turned out to be wrong (duh!)! So when I realized it and downloaded the one from the link above, everything worked perfectly!

Thanks again for your help,
Keep up the good work...
Mario


Bookmarks



Who is online

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