OklahomaGreyBeard / erlandplugins

Automatically exported from code.google.com/p/erlandplugins
0 stars 1 forks source link

Custom Scan generates "Database error: disk I/O error" #114

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which plugin is the bug/enhancement related to ?
Custom Scan
What version of SlimServer/SqueezeCeneter are you using? On what operating
system?
7.6.1 on Debian (WD My Book Live)
Could you describe the problem or enhancment ?
Trying to use the custom scan module as described in 
http://wiki.slimdevices.com/index.php/Setup_browse_menu_for_classical_music 
doesn't work. The scanner log shows an Disk I/O error (see below)

What steps will reproduce the problem?
1. Setup custom scan as described
2. Start Scan from "Manage Scanning"
3. After a while the server log will show the problem

[11-09-09 22:36:04.4429] Slim::Schema::Storage::throw_exception (119) Error: 
DBI Exception: DBD::SQLite::st execute failed: disk I/O error [for Statement 
"INSERT INTO customscan_track_attributes 
(track,url,musicbrainz_id,module,attr,value,valuesort,extravalue,valuetype) 
values (?,?,?,?,?,?,?,?,?)"]
[11-09-09 22:36:04.4451] Slim::Schema::Storage::throw_exception (119) Backtrace:

   frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 119)
   frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
   frame 2: DBIx::Class::Storage::DBI::__ANON__ (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomScan/Scanner.pm line 1791)
   frame 3: (eval) (/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomScan/Scanner.pm line 1772)
   frame 4: Plugins::CustomScan::Scanner::scanTrack (/usr/share/perl5/Slim/Utils/Scheduler.pm line 150)
   frame 5: (eval) (/usr/share/perl5/Slim/Utils/Scheduler.pm line 150)
   frame 6: Slim::Utils::Scheduler::run_tasks (/usr/sbin/squeezeboxserver line 674)
   frame 7: main::idle (/usr/sbin/squeezeboxserver line 641)
   frame 8: main::main (/usr/sbin/squeezeboxserver line 1136)

[11-09-09 22:36:04.4472] Plugins::CustomScan::Scanner::scanTrack (1795) 
Database error: disk I/O error

Original issue reported on code.google.com by michael....@gmail.com on 9 Sep 2011 at 9:07

GoogleCodeExporter commented 8 years ago
There's a thread on a similar problem in the forum 
(http://forums.slimdevices.com/showthread.php?t=88524). So I guess this might 
be related to insufficient tmp-space on the NAS device. But other than in the 
forum discussion the regular scan works fine only Custom Scan produces the 
problem. Also I tried to monitor /tmp during the scan using df but couldn't 
find any change at all.

Original comment by michael....@gmail.com on 11 Sep 2011 at 12:30