Registered Member
|
I've tried multiple times reading threads and employing fixes, to no avail. I am running Ubuntu 10.04 and Amarok 2.3.1 w/ KDE 4.5. I have a large collection (15k songs) with about 65% of my music in FLAC, the rest in MP3. The music plays if I drag and drop or locate my collection under "Files". Amarok will scan my collection, but it won't do much else. I noticed it gets stuck around 94 - 95% for a few minutes, but it always completes the scan, but never loads anything into "Local Music". Everything is up to date and installed, I just can't figure out what is going on.
I ran this code "amarok -d --nofork" in terminal and an error popped up saying "The process for the file protocol died unexpectedly", but Amarok still loads. Can anyone help me out? btw I'm not using a MySQL database edit:: now I can't even browse my file directory via Amarok, I keep getting that protocol died message. |
Manager
|
Please make sure you have all necessary packages installed, in Ubuntu you definitely will need the following:
* amarok * amarok-common * amarok-utils * mysql-client-core-5. * mysql-server-code-5.1 * libmysqlclient16 * libmysql-common Then please run the amarokcollectionscanner on your music folders with -rs as options. This should fix the problem. Amarok uses MySQL embedded by default, you don't have to setup an external server, just use the default settings, and make sure you have set the location of the music on your system correctly.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
cman@cman:~$ amarokcollection scanner -rs --rpath=</media/cman's stuf/Music>
> that's what I did, is that right? All it gives me is that ">" sign. Oh, and Amarok crashed on me, leaving me with this error "Executable: amarok PID: 16856 Signal: 6 (Aborted)" I'm starting to think Amarok doesn't like me very much...oh and I have everything installed, except libmysql-common, which I cannot find. |
Manager
|
if you use --rpath you need to specify the batch mode.
Why not just do
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
tried it, but all I get is this:
cman@cman:~$ amarokcollectionscanner -rs /media/cman's stuff/Music > and it just sits. I let it sit for awhile, but nothing happens. Also, every time I close amarok the KDE bug report comes up saying amarok crashed, but really I intentionally closed it. If I try running a scan in amarok I get this Executable: amarok PID: 2184 Signal: 11 (Segmentation fault) and it crashes. I'm almost ready to give up and try again in a few months time... |
Manager
|
Did you try removing the amarok* files in $HOME/.kde/share/config/?
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
KDE CWG
|
McTwist, if you are missing a package, you might solve it this way:
IF you are using a debian-based distro. Valorie |
Registered Member
|
@Mamarok, I deleted the three Amarok files I found.
@Valorie, I ran the code and it installed a few packages, however now I am experiencing a different error with a crash at startup after the splash screen Executable: amarok PID: 5469 Signal: 7 (Bus error) I'll search around for a little bit to see what I can do... edit:: so I uninstalled and got it to run at least, after installing with kpackagekit. Just tried to load collection and it loads, but gets stuck at 95% doing something about "Podcast directory" or something. After 10 min or so, it continues, but then crashes as soon as it's done. Here is some code from right before it crashed
The crash report gave me this error: Executable: amarok PID: 2199 Signal: 11 (Segmentation fault) there is not enough data to report the bug. I'm stuck. For the life of me I cannot get amarok to run without somehow crashing!! I am doomed to the world of subpar players, I suppose =[ |
Manager
|
Usually, when it gets stuck this is a sign of a file causing problems. That is the main reason I asked you to run the amarokcollectionscanner with the -rs option, as it produces a konsole output that tells you the name and location of the file it gets stuck on.
Please, run the amarokcollectionscanner with the -rs option and move the file it indicates when it aborts out of the collection folder.
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
I've tried running the collection scanner with the options you've told me, but it simply does nothing at all. I can't start amarok anymore, it crashes, and I can't even use the collection scan via terminal. It's just not working.
edit: I've got it started, but when I scan a different folder with music files, it scans, but then does not load the music!! In terminal all I see is QWidget::setMinimumSize: (Media Sources dock/QDockWidget) Negative sizes (100,-1) are not possible listed a bunch of times. tried again with just one folder in my music folder and it seemed to scan all of the tracks fine, except it still won't load them into the collection. I don't know what to do..here is an example of it scanning one of the songs: <tags title="Sugar Magnolia" compilation="checkforvarious" bitrate="889" uniqueid="amarok-sqltrackuid://7b98f6e04897ae6fdd0e54ea49d91812" filetype="2" track="9" discnumber="3" artist="Grateful Dead" path="/media/cman's stuf/Music/Grateful Dead/Road Trips Vol. 1, No. 2/309 - Sugar Magnolia.flac" filesize="65297590" length="587000" samplerate="44100" album="Road Trips Vol. 1, No. 2 [Bonus Disc]" comment="" genre="" year="1977" audioproperties="true"/> seems fine to me. amarok does not load it. does the KWallet have something to do with it? I can't get my Kwallet set up, it gives me an error when I try to create a password, saying error opening the wallet 'kdewallet', error code -2: error opening file. |
Registered Member
|
even Amarok 1.4 won't load a collection
|
Moderator
|
Not sure where you got that command line, but the "restart" option makes no sense for your testing (the XML won't be valid) and you don't have quotes around your folder name. The
you're getting is coming from your shell and has absolutely nothing to do with amarokcollectionscanner - your shell isn't even running it, because it's sitting there waiting for you to finish your command. What you meant to run was:
Notice the quotes around the directory. So -- run that, and see what happens. Usually if Amarok doesnt' successfully scan the collection it's because somewhere you have a corrupted file, and running the collectionscanner from the command line is the best way to find it. The last file that the scanner processed will be in the file "collection_scan.log" in the directory you ran the scan from. Move that into some directory outside the path you are passing into the collection scanner and try again, this time adding -s to the commands. Once it successfully scans your folder, let me know and we can see if we can figure out why some of your files are problematic. |
Registered Member
|
after removing amarok 1.4, installing 2.3.1 again and restarting, amarok crashes on startup. I entered your code in terminal and got
<?xml version="1.0" encoding="UTF-8" ?><scanner></scanner> that's all. Everything is installed I'm sure. I don't know what's up now. |
Moderator
|
Well, downgrades are not supported and Amarok 1.4 is extremely old so depending on how your distribution uses KDEDIR you may have corrupted Amarok's config files. You need to find out what directory your KDE settings are stored in -- it may be in ~/.kde or ~/.kde4 depending on your distribution, go into that directory, and run
If you have both directories, do it in both to be certain. Then run
As for the scanner output, that is correct scanner output for when it doesn't find any music. Is /media/cman's stuff some kind of mount? |
Registered Member
|
If you want to try out something like AmaroK 1.4, try "clementine"
using PCLinuxOS 2010.7 KDE Version
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]