Scan Debug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gusi
    Senior Member
    • Feb 2006
    • 165

    Scan Debug

    I recently upgraded my machine to a 4core XP box. All works well but when I try to rescan my collection the scanner runs for an hour or so and then crashes.

    I run winXPSP2, Slimserver 6.5.4 (happened on 653 too), I have about 700G of flac and mp3 files an an NTFS filesystem.

    Fortunately I usually navigate by music folder but sometime you forget where something is and a search is useful.

    Is there a way to run the scanner and catch its debug somewhere?

    When I use toad to look at the database it is empty. When I play songs the tracks get added to the database.

    cheers
    Gus
  • bpa
    Senior Member
    • Oct 2005
    • 22878

    #2
    Make sure Slimserver is running. Then run the following command from the command prompt (assuming scanner.exe is in default directory) and replacing <musicfolder> by your own music folder.
    The output should show files as they are scanned and hence the problem files.

    "c:\program files\slimserver\server\scanner.exe" --wipe --d_scan --d_import <musicfolder>

    Comment

    • gusi
      Senior Member
      • Feb 2006
      • 165

      #3
      Thanks I get:

      C:\Documents and Settings\gusi>"c:\program files\slimserver\server\scanner.exe" --wipe --d_scan --d_import H:\Flac
      2007-10-14 22:10:05.9687 Import: Adding Slim::Music::PlaylistFolderScan Scan
      2007-10-14 22:10:05.9690 Import: Adding Slim::Music::MusicFolderScan Scan
      2007-10-14 22:10:06.0202 Import: Wiped all in-memory caches.
      2007-10-14 22:10:06.0203 Import: Start schema_clear
      2007-10-14 22:10:06.0459 Import: Start schema_optimize
      2007-10-14 22:10:08.3906 Import: End schema_optimize
      2007-10-14 22:10:08.3909 Import: End schema_clear
      2007-10-14 22:10:08.3910 Import: Wiped info database
      2007-10-14 22:10:08.3914 scanPathOrURL: Finding valid files in: H:\Flac
      2007-10-14 22:10:08.3918 About to look for files in H:\Flac
      2007-10-14 22:10:08.3929 For files with extensions in: [(?i-xsm:\.(?:ape|wma|asf|wax|asx|lnk|wpl|shn|wav|wave| mp3|mp2|m3u|pls|xspf|flc|flac|fla|m4a|mov|m4b|mp4|
      cue|mp+|mpc|ogg|aif|aiff|lnk)$)]
      2007-10-14 22:11:05.6875 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593
      2007-10-14 22:11:59.1406 findFilesMatching: Following Windows Shortcut to: file:///H:/Flac
      2007-10-14 22:12:06.4843 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593
      2007-10-14 22:12:17.3125 findFilesMatching: Following Windows Shortcut to: file:///H:/Flac
      2007-10-14 22:12:24.6718 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593
      2007-10-14 22:12:35.4843 findFilesMatching: Following Windows Shortcut to: file:///H:/Flac
      2007-10-14 22:12:42.8593 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593
      2007-10-14 22:12:53.6250 findFilesMatching: Following Windows Shortcut to: file:///H:/Flac
      2007-10-14 22:13:00.9687 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593
      2007-10-14 22:13:11.6875 findFilesMatching: Following Windows Shortcut to: file:///H:/Flac
      2007-10-14 22:13:19.0312 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593
      2007-10-14 22:13:29.7656 findFilesMatching: Following Windows Shortcut to: file:///H:/Flac
      2007-10-14 22:13:37.1250 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593
      2007-10-14 22:13:47.8750 findFilesMatching: Following Windows Shortcut to: file:///H:/Flac
      2007-10-14 22:13:55.2187 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593
      2007-10-14 22:14:05.8906 findFilesMatching: Following Windows Shortcut to: file:///H:/Flac
      2007-10-14 22:14:13.2031 findFilesMatching: Following Windows Shortcut to: file:///C:/
      Can't opendir(C:\/System Volume Information): Invalid argument
      at /<c:\program files\slimserver\server\scanner.exe>File/Find/Rule.pm line 593

      Comment

      • bpa
        Senior Member
        • Oct 2005
        • 22878

        #4
        It looks like you have some invalid Windows shortcuts in your directories.

        You should look for them (often called .lnk files) and then delete them. You may need to do a search for hidden and system files to find them.

        Comment

        • gusi
          Senior Member
          • Feb 2006
          • 165

          #5
          Thanks BPA I had a look for lnk files, even installed Cygwin but couldn't find anything. I'll try slim support.

          Comment

          • gusi
            Senior Member
            • Feb 2006
            • 165

            #6
            It was a link indeed. It only showed up with dir *.lnk /s

            That is one to remember as have been caught a few times before with this problem.

            Interestingly a search in windows explorer and a find in cygwin did not show the culprit.

            Comment

            Working...