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

Collection Scanning Problem on Apple Mac OSX 10.4

Tags: None
(comma "," separated)
Aaron Cooper
Registered Member
Posts
104
Karma
0
Hey guys, I finally got Amarok to compile on Mac OSX using fink.  Playback is perfect, the only problem I'm having is creating a collection!  I can load the files and play them, but they are greyed out and don't count any statistics because I need to create a collection.  I've already set the folders to watch and scan recursively and I know the songs are in this folder (since I can play them from there).

I've left Amarok for an entire day hopefully scanning, but I have a feeling it doesn't even scan because of the output I see in the console:

amarok: BEGIN: ScanController::ScanController(CollectionDB*, bool, const QString
List&)
amarok: END__: ScanController::ScanController(CollectionDB*, bool, const QString
List&) - Took 0.013s
amarok: BEGIN: virtual void ThreadWeaver::Thread::run()
amarok: BEGIN: virtual bool ScanController::doJob()
amarok: BEGIN: SqliteConnection::SqliteConnection(const SqliteConfig*)
amarok: END__: SqliteConnection::SqliteConnection(const SqliteConfig*) - Took 0.
00032s
amarok: BEGIN: void CollectionDB::createTables(bool)
amarok: END__: void CollectionDB::createTables(bool) - Took 0.024s
amarok: BEGIN: void CollectionDB::prepareTempTables()
amarok: END__: void CollectionDB::prepareTempTables() - Took 0.00074s
amarok:    [KDE::ProgressBar::ProgressBar(QWidget*, QLabel*)]
amarok: BEGIN: void CollectionDB::copyTempTables()
amarok: END__: void CollectionDB::copyTempTables() - Took 0.0049s
amarok:    [CollectionDB] Running VACUUM
amarok: END__: virtual bool ScanController::doJob() - Took 4.4s
amarok: END__: virtual void ThreadWeaver::Thread::run() - Took 4.4s
amarok: [CollectionDB] JobFinishedEvent from ScanController received.
amarok: [CollectionDB] SQLITE_SCHEMA error occurred on query: SELECT COUNT( url
) FROM tags LIMIT 1 OFFSET 0;
amarok: [CollectionDB] Retrying now.
amarok: [ThreadWeaver] Job completed: CollectionScanner. Jobs pending: 0
amarok: BEGIN: virtual ScanController::~ScanController()
amarok: END__: virtual ScanController::~ScanController() - Took 0.0002s
amarok: [virtual KDE::ProgressBar::~ProgressBar()]


Can anyone make sense of that?  it looks like it attempted to do stuff, but completed its tasks *very* quickly.  I've fink-installed MySQL and SQLite to see if they were the problem - but it didn't help.  Currently, there are 15000~ music files in the directory I've told it to scan, but I've tried a single directory with 10 or so files and still no luck.

I've noticed that I can drag folders into the playlist and they songs will appear dark (not faded) but once I tell it to Rescan the Collection they get greyed-out and the Progress Bar doesn't leave "0%".

Has anyone had this problem before?

Thanks for any and all suggestions :)
-Aaron
Aaron Cooper
Registered Member
Posts
104
Karma
0
*bump*

Has anyone gotten their collection to scan on Mac OS X?
e235
Registered Member
Posts
15
Karma
0
I've successfully scanned a collection using a fink-built amarok on osx.

I'm not really sure what the problem with your scan is, but have you tried deleting the database file and starting over, or even just deleting the entire amarok directory in ~/.kde/...
oneandonly
Registered Member
Posts
7
Karma
0
I got the same problem here:
amarok:  [CollectionDB] SQLITE_SCHEMA error occurred on query: SELECT COUNT( url ) FROM tags LIMIT 1 OFFSET 0;

I get this error on two different macs.
oneandonly
Registered Member
Posts
7
Karma
0
This seems strange, but I solved the problem by "source .profile" before starting amarok.

I did this, because /sw/bin was not in $PATH. I startet amarok with /sw/bin/amarokapp before.
Now with correct $PATH and starting it with "amarok" everything works fine.

Can anyone explain to me, WHY it works now?
e235
Registered Member
Posts
15
Karma
0
maybe because it was finding some older version of sqlite since it didn't know where to find the fink installed version.

That would be my guess.

Did you put ". /sw/bin/init.sh" in your .xinitrc file?

If you haven't already, you should read the fink documentation on setting up x11 on os x.
http://fink.sourceforge.net/doc/x11/index.php


Bookmarks



Who is online

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