Bugzilla – Bug 4802
Use of uninitialized value in concatenation
Last modified: 2007-04-05 16:32:35 UTC
I'm seeing this warning on startup: 2007-03-04 20:02:28.2482 Use of uninitialized value in concatenation (.) or string at C:\Program Files\SlimServer Dot 6\server/Slim/Display/Lib/Fonts.pm line 379. It's also present in the trunk: [21:28:50.5675] Slim::Utils::Misc::msg (1140) Warning: [21:28:50.5668] Use of uninitialized value in concatenation (.) or string at C:/Program Files/SlimServer Dot3/server/Slim/Display/Lib/Fonts.pm line 395.
I should have mentioned this is running the Perl code on Windows XP. Trying to debug another problem I notice this is only being logged when the Perl version is run as a Windows service. I don't see the warning when run from the command line.
I'll assign this one to me for now, I should have some time to work on this later today.
Sorry for the delay I've only just now established an XP image with active perl installed running trunk. I'm not seeing this error message, when are you seeing it? On boot, while starting SlimServer? Any 3rd party plugins or anything installed?
I suspect you only see this is perl is run with warnings enabled and the fontcache file is removed - this will happen when you first run slimserver on a new install. Jim - I assume you see two warnings when starting a server with no fontcache file?
Jim does change 11641 in trunk fix this for you? You need to remove the Cache/fontcache file and restart to see this error anyway. I'm minded to just fix this in 7.0.
If its alright with you Jim I'd like to mark this bug as worksforme. If you're still seeing the error please feel free to re-open this bug with more details.