PDA

View Full Version : Need assistance with crash during library scan



VladTemplar
2007-07-19, 02:50
Alright I present a problem which to me, in my limited programming / database experience, makes very little sense. I've been attempting to get SlimServer to scan my library in entirety, but each time ti does so it crashes at exactly the same spot on a certain file. I brought this up directly with Logitech support, but they were unable to replicate the problem. Indeed, if I scan ONLY that folder my SlimServer is capable of reading and recognizing it. However, when I have it search and catalog the entirety of my library, it crashes upon reaching this particular folder. After many various and assorted "tests" generated by Logitech Customer Support I finally just got frustrated, decided I had other more important things to do besides spend hours working on that, and went off to do other things. Thus the Logitech Customer Support ticket has expired. Tonight I decided to mess around with it yet again and the same problem is persisting, but I found an interesting quirk. If I make a playlist which is the entirety of my library and tell SlimServer to scan ONLY my playlists (which, incidentally, the only playlist available is the one I created which has the entire library in it) SlimServer manages to scan my entire library and generate a listing based off of what is in the playlist.

So I'm sure you're probably scratching your head at this point, because yes, it makes no sense. Obviously there isn't a MySQL conflict if it's able to generate the library, the issue just seems to be when scanner.exe attempts to scan the library without a playlist in reference. I can, of course, simply update that playlist each time I add a new album, but I'd rather get to the root of the problem and fix it there.

Note: This has also been sent to support at slimdevices dot com. Just figured I'd let more minds have a whack at it.

Ross L
2007-07-19, 17:11
It sounds like you've identified a particular file that is causing the crash? If so sending that to support would likely get you a solution very quickly. Have you looked at the tags of the file that is causing the crash?

chrisla
2007-07-19, 17:24
Have you tried scanning a directory that contains the entire directory with
that file, as well as the folders that come before and after it?

This would eliminate some scenarios where something is getting opened and
not closed correctly (say a stray apostrophe or other illegal character;
which I am sure should be getting escaped properly)

That would seem like a step closer to a real world test.

-Chris


On 7/19/07, VladTemplar <
VladTemplar.2typxn1184838901 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
>
>
> Alright I present a problem which to me, in my limited programming /
> database experience, makes very little sense. I've been attempting to
> get SlimServer to scan my library in entirety, but each time ti does so
> it crashes at exactly the same spot on a certain file. I brought this up
> directly with Logitech support, but they were unable to replicate the
> problem. Indeed, if I scan ONLY that folder my SlimServer is capable of
> reading and recognizing it. However, when I have it search and catalog
> the entirety of my library, it crashes upon reaching this particular
> folder. After many various and assorted "tests" generated by Logitech
> Customer Support I finally just got frustrated, decided I had other
> more important things to do besides spend hours working on that, and
> went off to do other things. Thus the Logitech Customer Support ticket
> has expired. Tonight I decided to mess around with it yet again and the
> same problem is persisting, but I found an interesting quirk. If I make
> a playlist which is the entirety of my library and tell SlimServer to
> scan ONLY my playlists (which, incidentally, the only playlist
> available is the one I created which has the entire library in it)
> SlimServer manages to scan my entire library and generate a listing
> based off of what is in the playlist.
>
> So I'm sure you're probably scratching your head at this point, because
> yes, it makes no sense. Obviously there isn't a MySQL conflict if it's
> able to generate the library, the issue just seems to be when
> scanner.exe attempts to scan the library without a playlist in
> reference. I can, of course, simply update that playlist each time I
> add a new album, but I'd rather get to the root of the problem and fix
> it there.
>
> Note: This has also been sent to support at slimdevices dot com. Just
> figured I'd let more minds have a whack at it.
>
>
> --
> VladTemplar
> ------------------------------------------------------------------------
> VladTemplar's Profile:
> http://forums.slimdevices.com/member.php?userid=3998
> View this thread: http://forums.slimdevices.com/showthread.php?t=36937
>
>

Siduhe
2007-07-20, 01:50
In addition to the good suggestions above, do you have any of the following:

Shortcuts?
Playlists?
Cuesheets?

In the directory to be scanned? In my experience, these are amongst the more likely things to trip up a Slimserver scan.

If you do, try moving them somewhere else temporarily and rescanning to see if it will complete then.