Version: 2.3.90 (2.4 beta 1) (using KDE 4.4.5) OS: Linux the program does not detect the local collection Reproducible: Always OS: Linux (i686) release 2.6.36-020636-generic Compiler: cc
Please go into more details. Did you set the collection in the settings? Did some kind of collection scanning occur? Did this work before?
I have previously set the folder containing the music files as a collection The program scans recursively reaching even 100% but does not find anything 2010/12/10 Ralf Engels <ralf.engels@nokia.com> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > > > > --- Comment #1 from Ralf Engels <ralf engels nokia com> 2010-12-10 > 16:13:38 --- > Please go into more details. > Did you set the collection in the settings? > Did some kind of collection scanning occur? > Did this work before? > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
Do you have a previous version of Amarok installed together with the current one? If this is the case, maybe the new Amarok is finding the old amarokcollectionscanner. Can you please remove the old Amarok or at least move the amarokcollectionscanner of the old Amarok out of the path (or rename it).
I removed amarok then I deleted the old configuration files contained in amarok / Home / USERNAME / .kde / share / apps / / Home / USERNAME / .kde / share / apps / config and the corresponding files in / usr/share/kde4/etc .... and then I tried to reinstall but I always have the same problem for amarok collectionscanner do not know what I should do. Forgive my horrible English 2010/12/10 Ralf Engels <ralf.engels@nokia.com> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > > > > --- Comment #3 from Ralf Engels <ralf engels nokia com> 2010-12-10 > 16:40:58 --- > Do you have a previous version of Amarok installed together with the > current > one? > If this is the case, maybe the new Amarok is finding the old > amarokcollectionscanner. > > Can you please remove the old Amarok or at least move the > amarokcollectionscanner of the old Amarok out of the path (or rename it). > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
Amarok is using an application called amarokcollectionscanner to do the actual scanning. If the scanner crashes it can be restarted without corrupting Amarok itself. You can also start the amarokcollectionscanner from the command line like this: "amarokcollectionscanner -r ~/Music" Can you do this and post the first couple of lines from the output here. Thanks.
with the command "amarokcollectionscanner -r ~/Music" I get this output pablomoreno@pablomoreno-P5K:~$ amarokcollectionscanner -r ~/Music <?xml version="1.0" encoding="UTF-8"?> <scanner count="0"> <!--Created by amarokcollectionscanner 2.3.90ondom dic 12 20:37:00 2010--> </scanner> pablomoreno@pablomoreno-P5K:~$ the program still does not find my collection. Anyway, thanks for your help 2010/12/11 Ralf Engels <ralf.engels@nokia.com> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > > > > --- Comment #5 from Ralf Engels <ralf engels nokia com> 2010-12-11 > 18:26:43 --- > Amarok is using an application called amarokcollectionscanner to do the > actual > scanning. > If the scanner crashes it can be restarted without corrupting Amarok > itself. > > You can also start the amarokcollectionscanner from the command line like > this: > "amarokcollectionscanner -r ~/Music" > > Can you do this and post the first couple of lines from the output here. > > Thanks. > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
What is the output of ls -la ~/Music ?
here's the output of the command suggested: pablomoreno@pablomoreno-P5K:~$ ls -la ~/Musica totale 224 drwxr-xr-x 50 pablomoreno pablomoreno 4096 2010-11-10 17:39 . drwxr-xr-x 79 pablomoreno pablomoreno 4096 2010-12-13 15:22 .. drwx------ 3 pablomoreno pablomoreno 4096 2010-09-26 13:53 クリスティーナ・アギレラ drwx------ 3 pablomoreno pablomoreno 4096 2010-09-27 00:36 AA.VV drwx------ 20 pablomoreno pablomoreno 4096 2010-10-13 00:20 Afterhours drwx------ 7 pablomoreno pablomoreno 4096 2010-09-27 00:36 Alex Baroni drwx------ 11 pablomoreno pablomoreno 4096 2009-05-27 11:47 Alice in chains drwx------ 3 pablomoreno pablomoreno 4096 2010-09-26 14:40 Artisti vari drwx------ 7 pablomoreno pablomoreno 4096 2009-04-24 20:32 audioslave drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:02 baroni drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:02 bublè drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:02 cammariere drwx------ 4 pablomoreno pablomoreno 12288 2010-09-05 10:02 cartoni sigle drwx------ 4 pablomoreno pablomoreno 4096 2010-09-27 00:35 Cristina D'avena drwx------ 27 pablomoreno pablomoreno 4096 2009-04-24 20:35 Dave Matthews Band drwx------ 4 pablomoreno pablomoreno 4096 2010-09-27 00:42 Eddie Vedder drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:02 eros drwx------ 4 pablomoreno pablomoreno 4096 2009-04-24 20:31 evanescence drwx------ 6 pablomoreno pablomoreno 4096 2010-09-05 10:02 Gundam 00 OST drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 Iron Man - Soundtrack drwx------ 17 pablomoreno pablomoreno 4096 2009-04-24 20:37 Jeff_Buckley-Discography drwx------ 5 pablomoreno pablomoreno 4096 2010-04-12 17:19 Led Zeppelin - Mothership drwx------ 5 pablomoreno pablomoreno 4096 2010-10-12 23:32 ligabue drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 Lorenzo Jovanotti - Safari (2008) Limited drwx------ 3 pablomoreno pablomoreno 4096 2010-10-08 15:25 Lo zecchino d'oro drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 mango-ti amo così drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 Morgan - Italian Songbook Vol.1 drwx------ 2 pablomoreno pablomoreno 20480 2010-11-06 10:14 mp3 vari drwxr-xr-x 7 pablomoreno pablomoreno 4096 2010-11-10 16:02 Muse Discography (2010) drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 musica per running drwx------ 7 pablomoreno pablomoreno 4096 2010-11-21 14:14 negramaro drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 [Nipponsei] Eureka seveN Complete Best drwx------ 11 pablomoreno pablomoreno 4096 2010-06-28 10:53 Pantera Discography 1990-2003 (9 CDs) drwxr-xr-x 5 pablomoreno pablomoreno 4096 2010-11-06 10:12 Paolo Benvegnù drwx------ 16 pablomoreno pablomoreno 4096 2009-04-24 20:30 PEARL JAM drwx------ 3 pablomoreno pablomoreno 4096 2010-10-08 15:25 Piccolo Coro Dell'antoniano drwx------ 7 pablomoreno pablomoreno 4096 2010-02-06 10:14 Porcupine Three Discography drwx------ 10 pablomoreno pablomoreno 4096 2010-09-27 00:40 Quintorigo drwx------ 10 pablomoreno pablomoreno 4096 2010-10-11 17:35 Radiohead Discography drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 Sigle cartoni drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 sigle cartoni elisa drwx------ 6 pablomoreno pablomoreno 4096 2010-09-27 00:36 Smashing Pumpkins drwx------ 10 pablomoreno pablomoreno 4096 2010-10-01 15:49 Soundgarden Discography drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 Soundtrack - Daredevil drwx------ 10 pablomoreno pablomoreno 4096 2009-04-24 20:36 Subsonica drwx------ 8 pablomoreno pablomoreno 4096 2009-04-24 20:33 [TNT Village] Quintorigo discografia drwx------ 2 pablomoreno pablomoreno 4096 2010-09-05 10:03 Trinity Blood Soundtraks drwx------ 2 pablomoreno pablomoreno 4096 2010-06-28 10:14 varie drwx------ 3 pablomoreno pablomoreno 4096 2010-09-27 00:40 Various Artists drwx------ 3 pablomoreno pablomoreno 4096 2010-09-27 00:40 Village People pablomoreno@pablomoreno-P5K:~$ 2010/12/13 Myriam Schweingruber <myriam@kde.org> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > Myriam Schweingruber <myriam@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEEDSINFO > Resolution| |WAITINGFORINFO > > > > > --- Comment #7 from Myriam Schweingruber <myriam kde org> 2010-12-13 > 11:56:35 --- > What is the output of ls -la ~/Music ? > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
It looks like your collection directory is not world-readable which could cause problems. We just tested it an this really seems to be the problem. Amarok is forking itself during start and it might give away too many permissions. You might try out starting amarok with the --nofork option or change the permissions of the music folders. But it is still a bug and we need to fix it.
I tried with amarok - nofork not seem to work. I also tried to give access permissions to the music folder for all users but still no result. Sorry for my English and thank you very much for your help. Congratulations on your outstanding work 2010/12/13 Ralf Engels <ralf.engels@nokia.com> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > > > > --- Comment #9 from Ralf Engels <ralf engels nokia com> 2010-12-13 > 17:03:09 --- > It looks like your collection directory is not world-readable which could > cause > problems. > > We just tested it an this really seems to be the problem. > Amarok is forking itself during start and it might give away too many > permissions. > > You might try out starting amarok with the --nofork option or change the > permissions of the music folders. > > But it is still a bug and we need to fix it. > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
How about the permissions of the tracks inside the folders? The following two lines will set the permissions in a "normal way". Please note that Amarok should still work with your permissions. That is definitely a bug and would need to be solved. find ~/Music -type d -exec chmod 755 {} \; find ~/Music -type f -exec chmod 644 {} \;
I gave the commands you recommended but still nothing I have given permissions to the folder in music as a picture: http://img585.imageshack.us/img585/5725/schermatad.png 2010/12/14 Ralf Engels <ralf.engels@nokia.com> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > > > > --- Comment #11 from Ralf Engels <ralf engels nokia com> 2010-12-14 > 12:33:55 --- > How about the permissions of the tracks inside the folders? The following > two > lines will set the permissions in a "normal way". > Please note that Amarok should still work with your permissions. That is > definitely a bug and would need to be solved. > > find ~/Music -type d -exec chmod 755 {} \; > find ~/Music -type f -exec chmod 644 {} \; > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
Could you please check that you have the following packages installed: libmysqlclient16 libmysqld-pic mysql-common mysql-server-core-5.1 mysql-client-core-5.1
Most of the packages you mentioned were not installed. Now I installed amarok and finally recognized my collection. Were only installed: - libmysqlclient16 - mysql-common but not the remaining Thank you very much. 2010/12/14 Myriam Schweingruber <myriam@kde.org> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > > > > --- Comment #13 from Myriam Schweingruber <myriam kde org> 2010-12-14 > 16:53:07 --- > Could you please check that you have the following packages installed: > libmysqlclient16 > libmysqld-pic > mysql-common > mysql-server-core-5.1 > mysql-client-core-5.1 > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
I just realized that by closing and reopening amarok loses again the collection that had previously been recognized. sin, I thought I had solved 2010/12/14 Fabio Ugolini <ugolini77@gmail.com> > Most of the packages you mentioned were not installed. Now I installed > amarok and finally recognized my collection. > Were only installed: > - libmysqlclient16 > - mysql-common > > but not the remaining > > Thank you very much. > > 2010/12/14 Myriam Schweingruber <myriam@kde.org> > > https://bugs.kde.org/show_bug.cgi?id=259445 >> >> >> >> >> >> --- Comment #13 from Myriam Schweingruber <myriam kde org> 2010-12-14 >> 16:53:07 --- >> Could you please check that you have the following packages installed: >> libmysqlclient16 >> libmysqld-pic >> mysql-common >> mysql-server-core-5.1 >> mysql-client-core-5.1 >> >> -- >> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email >> ------- You are receiving this mail because: ------- >> You reported the bug. >> > >
Please report this downstream at Ubuntu as this is clearly a packaging error.
I do not know if the problem depends solely on the grounds of the Ubuntu packaging because once you quit the program and then reopened the problem has come back again and also doing a collection scanning was no longer view 2010/12/14 Myriam Schweingruber <myriam@kde.org> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > Myriam Schweingruber <myriam@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|NEEDSINFO |RESOLVED > Resolution|WAITINGFORINFO |DOWNSTREAM > > > > > --- Comment #16 from Myriam Schweingruber <myriam kde org> 2010-12-14 > 20:49:12 --- > Please report this downstream at Ubuntu as this is clearly a packaging > error. > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
Did you try with a new user?
I created a new user "ad hoc"and amarok works fine (I set the audio collection main user), even restarting the collection is kept in memory. Instead the main user is still not working 2010/12/14 Myriam Schweingruber <myriam@kde.org> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > > > > --- Comment #18 from Myriam Schweingruber <myriam kde org> 2010-12-14 > 22:48:51 --- > Did you try with a new user? > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >
So this is a configuration problem. Please remove all the amarok* files in $HOME/.kde/share/config/, backup the $HOME/.kde/share/apps/amarok/ folder and then erase it as well. This will make you start with a new user profile. You can then copy back your podcast subscriptions if you have some.
It seems that at last I am born to solve the problem, of course only with your help. So it was a packaging problem errrata if I understand, as missing the following packages: libmysqlclient16 libmysqld-pic mysql-common mysql-server-core-5.1 mysql-client-core-5.1 (actually not all). Thank you very much. Also reported this bug to take advantage of the program (at least on gnome): http://img232.imageshack.us/img232/5895/schermatalr.png as seen missing icons in the menu on the panel. An Italian user has manually resolved in this way and I wanted to report it (maybe it solves the bug): http://parliamodi-ubuntu.blogspot.com/2010/09/ritorno-su-amarok-232.html thanks! 2010/12/15 Myriam Schweingruber <myriam@kde.org> > https://bugs.kde.org/show_bug.cgi?id=259445 > > > > > > --- Comment #20 from Myriam Schweingruber <myriam kde org> 2010-12-15 > 10:51:51 --- > So this is a configuration problem. Please remove all the amarok* files in > $HOME/.kde/share/config/, backup the $HOME/.kde/share/apps/amarok/ folder > and > then erase it as well. This will make you start with a new user profile. > You > can then copy back your podcast subscriptions if you have some. > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >