Bugzilla – Bug 5833
log4perl error messages when scripts return to the console/shell
Last modified: 2009-07-31 10:15:04 UTC
When un/installing squeezecenter.exe using the --remove/install parameters I'm getting the following message: Log4perl: Seems like no initialization happened. Forgot to call init()? Can't call method "warn" on an undefined value at /<c:\Program Files\SqueezeCenter\server\squeezecenter.exe>Slim/Utils/Log.pm line 241, <DATA> line 164. END failed--call queue aborted, <DATA> line 164. I wonder whether this is the reason why Windows seems to time out waiting for SC to be completely shut down.
Cosmetic issue only
*** Bug 6652 has been marked as a duplicate of this bug. ***
Both Windows executables return the same error message. Changing subject accordingly.
*** This bug has been marked as a duplicate of 5758 ***
Now that 5758 is closed I realise this isn't a dupe at all.
*** Bug 7793 has been marked as a duplicate of this bug. ***
kdf: good spot. yes, its the same basic issue. The $rootlogger isn't getting initialised when the full server isn't being run. Need to either init the logger always, or block logWarning et al when logging isn't enabled. -k will give this a try.
change 5833 - silence some warnings/errors when immediately returning the script with the usage screen - initialize logging right after reading the options, but before shutting down - don't try to close DB if it hasn't been initialized
sorry, that was change 18670
Change 18671 - silence the same warning when installing/removing the Window service
(In reply to comment #10) > Change 18671 - silence the same warning when installing/removing the Window > service > Closing bug
Reduce number of active targets for SC