Philip Meyer
2005-07-30, 00:35
6.2b1. WinXP Pro.
I just experienced a crash (reported in plugins mailing list) which happened when navigating through the Alien BBC menus on a SqueezeBoxG.
Operation `""': no method found, argument in overloaded package Class::DBI::Object::Has::Been::Deleted at /PerlApp/YAML/Node.pm line 26.
However, when I restarted the server, I noticed that my the web front end came up in the default skin, not my usual Fishbone skin. Alas, it appears that my slimserver.pref file has been overwritten.
This happened a couple of weeks back too.
There was a discussion thread recently about changing the way that the prefs were flushed to disk. Has the code changed in the last week? As this problem happened to me a couple of weeks back, I assume no changes have happened yet.
My slimserver.prefs file now has what I imagine are the standard default values, and there's no backup of my prefs to go back to. Looking in the file, there are paths that do point at my installation folder, which is not the standard path. I guess slimserver writes defaults to the file, taking into account the install dir.
Perhaps slimserver had some memory problem; the preferences that were held in memory got overwritten, and thus caused slimserver to crash, but at the same time the preferences were flushed to disk?
It's quite annoying to have to re-enter all preferences. Is it safe to take a copy of the pref file as a backup in case this happens again - ie. to restore, can I overwrite the pref file? What if new prefs are added, etc, would slimserver cope with an old pref file in a new version?
Shall I raise a bug?
Phil
I just experienced a crash (reported in plugins mailing list) which happened when navigating through the Alien BBC menus on a SqueezeBoxG.
Operation `""': no method found, argument in overloaded package Class::DBI::Object::Has::Been::Deleted at /PerlApp/YAML/Node.pm line 26.
However, when I restarted the server, I noticed that my the web front end came up in the default skin, not my usual Fishbone skin. Alas, it appears that my slimserver.pref file has been overwritten.
This happened a couple of weeks back too.
There was a discussion thread recently about changing the way that the prefs were flushed to disk. Has the code changed in the last week? As this problem happened to me a couple of weeks back, I assume no changes have happened yet.
My slimserver.prefs file now has what I imagine are the standard default values, and there's no backup of my prefs to go back to. Looking in the file, there are paths that do point at my installation folder, which is not the standard path. I guess slimserver writes defaults to the file, taking into account the install dir.
Perhaps slimserver had some memory problem; the preferences that were held in memory got overwritten, and thus caused slimserver to crash, but at the same time the preferences were flushed to disk?
It's quite annoying to have to re-enter all preferences. Is it safe to take a copy of the pref file as a backup in case this happens again - ie. to restore, can I overwrite the pref file? What if new prefs are added, etc, would slimserver cope with an old pref file in a new version?
Shall I raise a bug?
Phil