Revision 17150
Mac OS 10.4.11
On startup, I get a slew of errors in the console log:
Code:
--------------------
2008-02-04 19:10:41.236 defaults[19056]
The domain/default pair of (kCFPreferencesAnyApplication, AppleLanguages)
does not exist
Use of uninitialized value in chomp at
/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Utils/Unicode.pm
line 107.
Use of uninitialized value in substitution (s///) at
/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Utils/Unicode.pm
line 109.
Use of uninitialized value in split at
/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/Slim/Utils/Unicode.pm
line 110.
--------------------
Referring to lines 105-107 in the above file:
Code:
--------------------
if (open(LANG, "/usr/bin/defaults read 'Apple Global Domain' AppleLanguages
|")) {
chomp(my $languages = <LANG>);
--------------------
What I get from this command is:
Code:
--------------------
$ defaults read -g AppleLanguages
2008-02-04 19:18:12.915 defaults[22132]
The domain/default pair of (kCFPreferencesAnyApplication, AppleLanguages)
does not exist
--------------------
I don't know Perl, but it seems that this code doesn't correctly handle
the case where the key-value pair doesn't exist.
--
El Callado
------------------------------------------------------------------------
El Callado's Profile: http://forums.slimdevices.com/member.php?userid=15274
View this thread: http://forums.slimdevices.com/showthread.php?t=43073
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta