Hi,
I have never had Squeezebox server / LMS working since 7.6, and OSX 10.7.2
I was hoping that 7.7.X would help and give me a working SB again, but no such luck. Everytime i try and scan. i get the above message. I have tried with and without iTunes but it makes no difference. I have included my scanner log below, and I would appreciate it if someone could shed some light on the problem for me as I really miss my music!
I have OSX 10.7.2 and LMS 7.7.1 / r33715.
[11-11-17 23:45:48.4697] main::main (200) Starting Logitech Media Server scanner (v7.7.1, r33715, Thu Nov 17 03:01:32 PST 2011) perl 5.012003
[11-11-17 23:45:48.8346] Slim::Music::Import::runImporter (485) Starting Slim::Media::MediaFolderScan scan
[11-11-17 23:45:48.8351] Slim::Utils::Scanner::Local::rescan (171) Discovering audio files in /Users/slayaz/Music/iTunes
[11-11-17 23:45:55.5474] Slim::Utils::Scanner::Local::__ANON__ (254) Removing deleted audio files (0)
[11-11-17 23:45:55.5477] Slim::Utils::Scanner::Local::__ANON__ (332) Scanning new audio files (24547)
[11-11-17 23:45:55.5657] Slim::Utils::Scanner::Local::__ANON__ (793) ERROR SCANNING audio file file:///Users/slayaz/Music/iTunes/iTunes%20Music/Compilations/Most%20Rated%20Miami/No%20Te%20Vaya.m4a: Unable to read tags from file
[11-11-17 23:45:55.5874] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db prepare_cached failed: table tracks has no column named added_time [for Statement "INSERT INTO tracks (bitrate,audio_offset,drm,audio_size,remote,sample size,audio,titlesort,cover,timestamp,url,lossless, urlmd5,channels,primary_artist,samplerate,secs,add ed_time,filesize,album,updated_time,tracknum,conte nt_type,titlesearch,title,year) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?)"]
[11-11-17 23:45:55.5877] Slim::Schema::Storage::throw_exception (122) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema/Storage.pm line 122)
frame 1: Slim::Schema::Storage::throw_exception (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
frame 2: DBIx::Class::Storage:BI::__ANON__ (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema.pm line 3024)
frame 3: Slim::Schema::_insertHash (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema.pm line 1382)
frame 4: Slim::Schema::_createTrack (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema.pm line 1646)
frame 5: Slim::Schema::_newTrack (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema.pm line 1847)
frame 6: Slim::Schema::updateOrCreateBase (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Scanner/Local.pm line 784)
frame 7: Slim::Utils::Scanner::Local::__ANON__ (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Scanner/Local.pm line 849)
frame 8: Slim::Utils::Scanner::Local::new (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Scanner/Local.pm line 372)
frame 9: Slim::Utils::Scanner::Local::__ANON__ (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Scanner/Local.pm line 402)
frame 10: Slim::Utils::Scanner::Local::__ANON__ (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Scanner/Local/Async.pm line 84)
frame 11: Slim::Utils::Scanner::Local::Async::__ANON__ (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Scanner/Local/Async.pm line 165)
frame 12: Slim::Utils::Scanner::Local::Async::find (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Scanner/Local.pm line 102)
frame 13: Slim::Utils::Scanner::Local::find (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Utils/Scanner/Local.pm line 515)
frame 14: Slim::Utils::Scanner::Local::rescan (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Media/MediaFolderScan.pm line 68)
frame 15: Slim::Media::MediaFolderScan::startScan (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Music/Import.pm line 487)
frame 16: Slim::Music::Import::runImporter (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Music/Import.pm line 327)
frame 17: Slim::Music::Import::runScan (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/scanner.pl line 334)
frame 18: (eval) (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/scanner.pl line 328)
frame 19: main::main (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/scanner.pl line 509)
[11-11-17 23:45:55.5881] main::main (340) Error: Failed when running main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db prepare_cached failed: table tracks has no column named added_time [for Statement "INSERT INTO tracks (bitrate,audio_offset,drm,audio_size,remote,sample size,audio,titlesort,cover,timestamp,url,lossless, urlmd5,channels,primary_artist,samplerate,secs,add ed_time,filesize,album,updated_time,tracknum,conte nt_type,titlesearch,title,year) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?)"] at /Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema/Storage.pm line 126
]
[11-11-17 23:45:55.5883] main::main (341) Error: Skipping post-process & Not updating lastRescanTime!
Results 1 to 10 of 68
-
2011-11-17, 16:54 #1
Media scan terminated unexpectedly
--
In a land of sheep, even a toothless wolf is king
-
2011-11-19, 07:12 #2
67 views and no replies....
I guess I am the only one with this problem.--
In a land of sheep, even a toothless wolf is king
-
2011-11-20, 10:27 #3Junior Member
- Join Date
- Nov 2011
- Posts
- 2
Afraid I can't offer a solution but no, you're not alone. I've searched everywhere for a solution but failed miserably. This has been going on for aver a week now so if I can't find a fix in the next couple of days I'll be going back to an old version. Really frustrating. It's the first time I've had any problems but at the moment this one is making my squeebox pretty useless.
my scanner log file is:-
[11-11-20 16:45:01.9531] main::main (200) Starting Logitech Media Server scanner (v7.7.0, r33614, Tue Oct 18 11:17:52 PDT 2011) perl 5.014001
[11-11-20 16:45:10.3751] Slim::Music::Import::runImporter (478) Starting Slim::Media::MediaFolderScan scan
[11-11-20 16:45:10.3761] Slim::Utils::Scanner::Local::rescan (171) Discovering audio files in F:\Media\Music\itunes\itunes_music_files\music
[11-11-20 16:45:47.2343] Slim::Utils::Scanner::Local::__ANON__ (254) Removing deleted audio files (0)
[11-11-20 16:45:47.2349] Slim::Utils::Scanner::Local::__ANON__ (332) Scanning new audio files (4384)
[11-11-20 16:45:47.4173] Audio::Scan::scan (64) Warning: Error: Unable to read at least 1049 bytes from file.
and my media server log file is:-
[11-11-20 11:28:55.4421] Slim::Utils::PluginManager::shutdownPlugins (366) Warning: error running Slim::Plugin::UPnP::Plugin->shutdownPlugin: Can't locate object method "shutdown" via package "Slim::Plugin::UPnP::MediaServer" at C:/PROGRA~1/SQUEEZ~1/server/Slim/Plugin/UPnP/Plugin.pm line 58.
[11-11-20 11:31:23.5939] main::init (354) Starting Logitech Media Server (v7.7.0, r33614, Tue Oct 18 11:17:52 PDT 2011) perl 5.014001
[11-11-20 11:31:54.2033] Slim::Utils::PluginManager::load (341) Warning: Couldn't call Slim::Plugin::UPnP::Plugin->initPlugin: Network::IPv4Addr: invalid netmask specification:
at C:/PROGRA~1/SQUEEZ~1/server/Slim/Plugin/UPnP/Discovery.pm line 79
[11-11-20 13:55:09.6093] Slim::Utils::PluginManager::shutdownPlugins (366) Warning: error running Slim::Plugin::UPnP::Plugin->shutdownPlugin: Can't locate object method "shutdown" via package "Slim::Plugin::UPnP::MediaServer" at C:/PROGRA~1/SQUEEZ~1/server/Slim/Plugin/UPnP/Plugin.pm line 58.
[11-11-20 16:44:35.9064] main::init (354) Starting Logitech Media Server (v7.7.0, r33614, Tue Oct 18 11:17:52 PDT 2011) perl 5.014001
[11-11-20 16:44:47.7189] Slim::Utils::PluginManager::load (341) Warning: Couldn't call Slim::Plugin::UPnP::Plugin->initPlugin: Network::IPv4Addr: invalid netmask specification:
at C:/PROGRA~1/SQUEEZ~1/server/Slim/Plugin/UPnP/Discovery.pm line 79
[11-11-20 16:57:53.7431] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP:
rocessHTTP: Can't call method "deviceid" on an undefined value at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Web/Pages/Home.pm line 237.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x827187c)
[11-11-20 16:59:08.0257] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP:
rocessHTTP: Can't call method "deviceid" on an undefined value at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Web/Pages/Home.pm line 237.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x824ec1c)
[11-11-20 17:00:23.0321] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP:
rocessHTTP: Can't call method "deviceid" on an undefined value at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~3.EXE>Slim/Web/Pages/Home.pm line 237.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x8226efc)
There are reports of this affecting more users on other forums, surely the support should be looking into it?
-
2011-11-20, 15:16 #4
I've had a lazy day today and have tried everything I can think of.
I have had some success and at least now can play "most' of my music.
In the end, I used the options in the system preferences to delete all prefs and clear caches, and ran the script a few times.
This got it to scan, although it won't update music, I get the same error, but if I clear and scan all it doesn't error.
It still gets hung up on artwork scans, but as far as I can tell they still appear OK.
I hope this helps a bit, and I agree the support id certainly slacking a bit, but I guess they have their hands full.
Good Luck!--
In a land of sheep, even a toothless wolf is king
-
2011-11-24, 11:22 #5Senior Member
- Join Date
- Oct 2005
- Posts
- 134
Scan Terminates
Same problem here. Last version to successfully scan for me was 7.5. Still looking for a solution.
Log results:
[11-11-24 09:48:58.4895] main::main (200) Starting Logitech Media Server scanner (v7.7.0, r33626, Tue Nov 1 14:23:14 EDT 2011) perl 5.014002
[11-11-24 09:49:02.7806] Slim::Music::Import::runImporter (478) Starting Slim::Media::MediaFolderScan scan
[11-11-24 09:49:02.8477] Slim::Utils::Scanner::Local::rescan (171) Discovering audio files in /storage/music/flac
[11-11-24 09:56:25.7855] Slim::Utils::Scanner::Local::__ANON__ (254) Removing deleted audio files (0)
[11-11-24 09:56:25.7866] Slim::Utils::Scanner::Local::__ANON__ (332) Scanning new audio files (63228)
[11-11-24 09:56:25.9601] main::main (340) Error: Failed when running main scan: [Quantifier follows nothing in regex; marked by <-- HERE in m/^(?:cover|folder|album|thumb|* <-- HERE .jpg)\./ at /usr/lib/perl5/vendor_perl/Slim/Music/Artwork.pm line 136.
]
[11-11-24 09:56:25.9611] main::main (341) Error: Skipping post-process & Not updating lastRescanTime!Last edited by paltomare; 2011-11-24 at 11:47.
-
2011-11-25, 11:24 #6
I'm running OS 10.5.8 on a Mac MINI... been working for 7-years this way. I had the same problems when first jumping to 7.7.x until I did the following:
Shutdown server, deleted ALL Slim/Squeeze data in Users/(user name)/Library/Caches that had to do with the server and re-installed 7.7.1. Currently re-scanning everything but will report back when it's done.
I've been running 7.7.1 nightlies since without any problems.
-
2011-11-25, 14:57 #7Junior Member
- Join Date
- Aug 2005
- Posts
- 12
Rescan hangs
Since the 7.7 upgrade, which did nothing except add Logitech to the server name in place of "Slimserver", broke one of my plugins, and forced me to manually re-add the start link to init.d, I have not been able to do the short rescan where it only looks for new music.
The result is the server crashes on caching cover art. The only way I can get it to work is to clear and rescan everything and with over 620 discs, that can take awhile.
Hoping there's a new release soon, but I definitely will check this forum before jumping on an update again.
-
2011-11-25, 19:02 #8Senior Member
- Join Date
- Sep 2008
- Posts
- 355
I was really excited to move to 7.7, but my media scan (only music) won't complete without this "Media Scan Terminated Unexpectedly" error...
I have reluctantly moved back to 7.6.1, which completes a scan of my entire music library without error...
I am happy to work with anyone at Logitech to resolve this issue, including providing scanning logs, etc... I really do want to move to 7.7!!!SqueezeCenter Running on HP EX485 MediaSmart Server (WHS)
- 2 SqueezeBox Controllers
- 3 SqueezeBox Receiver
- 5 SqueezeBox Booms
-
2011-11-25, 19:55 #9Senior Member
- Join Date
- Oct 2005
- Posts
- 134
-
2011-11-26, 01:51 #10
have you filed a bug with this output ? Do you have a folder.jpg or cover.jpg or simialr art file that really is an jpeg image in the album folders, no permission problems on the artwork ? No residual "weird" windows thumbs :-/ .
no special user settings ?
No bmp or png as cover art ?
This looks like pure bug to me , maybe increase the log level for scanning and artwork while trying.
The vortexbox distro have some patches here and there ? there is no difference in Artwork.pm on the VB distro compared tonwhat logitech delivers ? vb does it have some artwork dowload feature.
For some reason later sbs and lms uses *any* image in the folder if it can't find any image that fits the "pattern" of embedded or folder/cover/thumb.
IMO this is a bad idea a random pic can be just anything and make things unstable and it should not use thumb either that is usually low res pic left by windows or wmp.
The only thing it shuold second gues is the case make Folder.jpg and folder.jpg the same..--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(in storage SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux
http://people.xiph.org/~xiphmont/demo/neil-young.html

BI::__ANON__ (/Library/PreferencePanes/Squeezebox.prefPane/Contents/server/Slim/Schema.pm line 3024)
Reply With Quote

