Bug 135243 - Collection scan aborts due to too many errors on smb-shares
Summary: Collection scan aborts due to too many errors on smb-shares
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 12:21 UTC by ich
Modified: 2006-11-09 00:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ich 2006-10-07 12:21:41 UTC
Version:           >=1.4.2 (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages

The problem occurs on every linux distribution I checked (SuSE, Debian, Kubuntu). Since Amarok 1.4.2 collection scan fails on scanning my collection of about 12000 files on a samba/cifs network share printing the message "Cannot build collection (Collection scan was aborted, since too many problems...)". It does not matter whether I use the distribution-package or compile it for myself. Using 1.4.1 collection scan will work without problems.

It seems to me 1.4.2+ tries to scan to greedy so there will be timeouts.


This thread is very similar to my problem:
http://amarok.kde.org/forum/index.php/topic,12916.0.html
Comment 1 ich 2006-10-07 12:50:20 UTC
My network connection is a 100 MBIT switched network.
Comment 2 Alexander Schumacher 2006-10-07 12:56:09 UTC
I have Gigabit Ethernet and 60000 files on a server with smb and have no problem.
My System:
4000+ Athlon 64
2048MB Ram
Comment 3 Mark Kretschmann 2006-10-07 15:19:45 UTC

*** This bug has been marked as a duplicate of 109451 ***
Comment 4 ich 2006-10-07 16:17:31 UTC
It is equal if the smb-share is mounted read-only or read-write! It is about the speed and amount of files.
Comment 5 Mark Kretschmann 2006-10-07 16:31:19 UTC
Yes, but it's related to TagLib, not Amarok.
Comment 6 qaz 2006-10-12 11:29:16 UTC
hi all, i solved the problem for me by adding :
   unix charset = ISO8859-1
to my /etc/samba/smb.conf on the server

so i guess this is a problem with charsets

i mount the volume with the following line in /etc/fstab:
//myserver/share       /server/share           cifs    guest,uid=johannes,file_mode=0440,dir_mode=0550 0       0

Comment 7 ich 2006-10-14 22:30:47 UTC
Using cifs and iocharset=utf8 for mounting the smb-share on my windows machine solved my problems.
Comment 8 John E 2006-10-31 21:33:49 UTC
I'm having the same problem, but in local not in lan.

I'm using reiser4fs where the files are. The system is using utf8.

I'm currently using Amarok 1.4.4, and Kubuntu Edgy (6.10).

I don't really know what I may need to add to this.

Thanks,
Comment 9 René Fritz 2006-10-31 21:57:03 UTC
I have the same problem with 1.4.2-1.4.4. (Kubuntu Dapper and Edgy).

The collection is on a remote machine and it doesn't matter if it's mounted using cifs, smbfs (samba on remote machine) or nfs. It fails with too much errors (With different files when using smb or nfs).

I digged around and found a hint to mount as read-only, and voila it works (tried nfs). It was mentioned in other bug reports that it may depend on taglib, but why does the scan not fail with 1.4.1?
Comment 10 John E 2006-10-31 22:15:47 UTC
This looks interesting : 

http://amarok.kde.org/forum/index.php/topic,12516.0.html
Comment 11 ich 2006-10-31 22:34:41 UTC
Look at http://amarok.kde.org/wiki/Samba

I found the solution for all shares on Windows machines.
Comment 12 ebayfred 2006-11-09 00:50:30 UTC
I encountered the same Bug w/ Kubuntu Edgy and Amarok 1.4.3 using a external Harddrive via USB2.0 through CardBus (hooked up directly, no network involved).
Perhaps it is a problem occuring when the throughput is too slow?