Bugzilla – Bug 6288
plugin-data.yaml not rewritten when SC location changes
Last modified: 2008-12-18 11:12:53 UTC
I could not get the web UI to load on my OS X SC checkout. I had not yet gone through the wizard. I got this error on the console: [12:40:24.1772] Slim::Networking::Select::select (245) Error: Select task failed: Can't locate object method "canUseiTunesLibrary" via package "Slim::Plugin::iTunes::Common" (perhaps you forgot to load "Slim::Plugin::iTunes::Common"?) at /Users/bklaas/svk/slim/branches/mainMenuRework/Slim/Web/Settings/Server/Wizard.pm line 157. So I commented line 157 out of Wizard.pm and then restarted /Users/bklaas/svk/slim/branches/mainMenuRework: ./slimserver.pl [12:46:03.5410] Slim::Networking::Select::select (245) Error: Select task failed: Undefined subroutine &Slim::Plugin::MusicMagic::Plugin::canUseMusicMagic called at /Users/bklaas/svk/slim/branches/mainMenuRework/Slim/Web/Settings/Server/Wizard.pm line 158. then I commented 158 and the wizard came up
The problem here is that my Cache/plugin-data.yaml file was not rewritten when I moved/restarted SC from a different directory, so the path to Plugins were incorrect. This caused the Web UI to fail completely whenever it hit any part of the SC code that queried PluginManager. This might be a WONTFIX, but I'm not sure it should be...I'd like to see the plugin-data.yaml file get rewritten on restart. What do we gain by staying with the cached version?
it used to contain state data. "to be disabled", "to be enabled" and "to be removed". Otherwise, it's there as a cache of the processed install.xml information. If we want to rebuild it every time the server starts, I should think it would then be no point in creating it anyway.
Ben - do you still consider this issue major or rather wontfix? As Kevin mentions, checking the file for it's validity at every startup would render it rather useless.
Sorry, this definitely shouldn't be a major once the root cause was determined. There needs to be a fix for this eventually, IMO, but it's not a typical bug to hit. moving to normal
change 15864 - add SC installation folder to plugin cache and rebuild cache if path changed
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.