Bugzilla – Bug 1474
Directory scan ignores lots of files
Last modified: 2008-08-18 10:54:16 UTC
Since a while the directory scan seems to ignore a lot of files (because of some internal Perl errors I assume): 2005-04-30 21:38:14.6729 index: 29 2005-04-30 21:38:14.6742 itempath: Herbert Gr�hnemeyer and file:///media2/media/mp3/Pop made file:///media2/media/mp3/Pop/Herbert%20Gr%EF%BF%BDhnemeyer Use of uninitialized value in concatenation (.) or string at /usr/local/slimserver//Slim/Utils/Scan.pm line 384. 2005-04-30 21:38:14.6769 isList(file:///media2/media/mp3/Pop/Herbert%20Gr%EF%BF%BDhnemeyer) == 2005-04-30 21:38:14.6774 not a list: file:///media2/media/mp3/Pop/Herbert%20Gr%EF%BF% BDhnemeyer 2005-04-30 21:38:14.6778 Skipping unknown type: file:///media2/media/mp3/Pop/Herbert%20Gr%EF %BF%BDhnemeyer 2005-04-30 21:38:14.6794 numitems: 15807 2005-04-30 21:38:14.6798 index: 30 Is there something I can do to resolve this issue?
Additional info: the OS is Fedora Core 3, Perl version is 5.8.5
Andreas - what is your LC_CTYPE/LANG environment variable set to? Can you try the latest nightly or subversion release? Thanks.
LANG was set to en.UTF8 (default on FC3). I unset now LANG and LC_TYPE. The latest 6.1 build now shows "locale: iso-8859-1" but the error remains
Ok - please make sure that your LC_CTYPE is set to en_US.UTF-8 before launching slimserver. Does that help? If not - would it be possible to get ssh access to your machine?
The latest version + changing LC_CTYPE as requested helped a lot not not totally. Accented chars are now recognized but there seem to be trouble with some files containing spaces (however other filenames with spaces are scanned properly): lassik/Composer/Urmas%20Sisask/Gloria%20Patri/12%20Credo.mp3] - skipping! 2005-06-03 17:25:12.3780 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Jazz/Stevie% 20Wonder/Talking%20Book/07%20-%20Big%20Brother.mp3] - skipping! 2005-06-03 17:25:12.3801 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Klassik/ Composer/Johannes%20Brahms/Brahms%20%20Rhapsodies,%20Intermezzos,%20KlavierSt%20cke/ Romance%20in%20F%20major,%20op.%20118%20no.%205.mp3] - skipping! 2005-06-03 17:25:12.3994 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Pop/The% 20Alan%20Parsons%20Project/Tales%20Of%20Mystery%20And%20Imagination/03_The%20Tell-tale% 20Heart.mp3] - skipping! 2005-06-03 17:25:12.5457 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Klassik/ Artists/Vladimir%20Horowitz/Horowitz-Encores/18-Sousa---Horowitz--The-Stars-and-Stripes- Forever.mp3] - skipping! 2005-06-03 17:25:12.5483 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Pop/Loreena% 20McKennitt/Misc/Loreena%20Mckennit%20-%20Standing%20Stones.mp3] - skipping! 2005-06-03 17:25:12.6583 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Klassik/ Composer/Frederic%20Chopin/Meister%20des%20Klaviers%20Disc%203,%20Rudolf%20Buchbinder,% 20p/Drei%20Ecossaiesen,%20op.%20post.%2072%20Nr.%203-5.mp3] - skipping! 2005-06-03 17:25:12.6607 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Pop/Elton% 20John%20&%20Billy%20Joel/Billy%20Joel%20and%20Elton%20John-Rocketman%20(1).mp3] - skipping!
Andreas - please try this again with the July 6th nightly build (in a few hours) - and let me know. I checked in a large reworking of the Unicode handling in SlimServer. Thanks.
There are still outstanding issues with file names containing whitespace (latest nightly build (July 7th): Turtle%20Island%20String%20Quartet/The%20Hamburg%20Concert/10%20-%20Marwa%20in%20the%20Pines%20(With%20You).mp3] - skipping! 2005-07-08 07:53:07.3436 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Klassik/Artists/Turtle%20Island%20String%20Quartet/The%20Hamburg%20Concert/11%20-%20Ensenada.mp3] - skipping! 2005-07-08 07:53:07.3457 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Klassik/Artists/Turtle%20Island%20String%20Quartet/The%20Hamburg%20Concert/12%20-%20Stolen%20Moments.mp3] - skipping! 2005-07-08 07:53:07.3474 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Klassik/Artists/Turtle%20Island%20String%20Quartet/The%20Hamburg%20Concert/13%20-%20Skylife.mp3] - skipping! 2005-07-08 07:53:07.3491 Couldn't retrieve objectForUrl: [file:///media2/media/mp3/Klassik/Artists/Turtle%20Island%20String%20Quartet/The%20Hamburg%20Concert/14%20-%20Who%20Do%20You%20Think%20You%20Are%3F.mp3] - skipping!
Andreas - can you please upload your slimserversql.db file (zipped) to this bug? There shouldn't be any issue with spaces. Are all the accented files working now? Thanks
All files including the ones with spaces and accents are in the database although this error message is misleading. If there are no issues with such filenames there should not be such comments in the logfile.
Ok - so at this point you're saying everything is working, but we're spewing error messages that we shouldn't be?
Yes. That's what I am saying.
Ok - that's somewhat confusing though - the error messages you are getting indicate that there aren't actually objects in the client playlist stash. Does this happen when you play any track? Or if you load a playlist? Thanks.
If the spew is still an issue with the latest nightlies, please open another bug. Thanks.
This bug was marked resolved in Slimserver 6.1, which is several versions ago. If you're still seeing this bug, please re-open it. Thanks!