Bugzilla – Bug 4409
All fonts lost
Last modified: 2008-12-18 11:12:53 UTC
At r10440 I no longer have any display output on any of my Squeezeboxes. In the web interface, under the players' display settings I see that the font drop down lists are now empty. The radio buttons appear to have retained their old settings and I see four buttons under each FONT and STANDBY FONT. Using the remote's 'Size' button, I can move the selection and see it reflected in the web interfaces radion button.
Could you start the server with --d_graphics and post what it says.
Or ./slimserver.pl --debug=player.graphics
(In reply to comment #2) > Or ./slimserver.pl --debug=player.graphics Did that already. Nothing is logged with player.graphics set to the debug level.
For whatever reason, it looks like the logging changes are causing this. Display & font settings are fine at 10436, but fail at 10438.
Its working for me with the logging code, but on linux. Do you have any files in the Graphics directory and is it readable - if so I would expect the debug to show lines like: [20:09:07.2585] Slim::Display::Lib::Fonts::fontfiles (460) found: /usr/local/slimserver/Graphics/large.2.font.bmp
(In reply to comment #5) > Do you have any files in the Graphics directory and is it readable Yes, about 20 bmp files and a ttf. > if so I would expect the debug to show lines like: > [20:09:07.2585] Slim::Display::Lib::Fonts::fontfiles (460) found: > /usr/local/slimserver/Graphics/large.2.font.bmp Nothing. I just noticed - no settings are being saved to the prefs file, so the debug settings aren't persisting across server restarts. They stick while the server remains running, fwiw. Will file a new bug.
seems to be more windows supidity. working fine here on linux.
Created attachment 1660 [details] server log I added --debug=player.graphics to the startup command since prefs aren't being saved. This raised some display messages. See the attached log.
Created attachment 1661 [details] fonts.bin How large should the fonts.bin file be? It's only 33 bytes on my system. [19:42:25.4700] Slim::Display::Lib::Fonts::loadFonts (558) Writing font cache: C:\Program Files\SlimServer\server\Cache\fonts.bin
33 bytes sounds like just the header for the font cache, but no actual font information. It should contain a preparsed version of all the fonts - about 80K or so. Looks like the problem is that the server is not reading the Graphics directory correctly. Are you able to edit the perl, if so in Slim/Display/Lib/Fonts.pm sub fontfiles, could you add a print statement: --- trunk/server/Slim/Display/Lib/Fonts.pm 2006-10-22 21:52:58.000000000 +0100 +++ Slim/Display/Lib/Fonts.pm 2006-10-23 19:24:31.000000000 +0100 @@ -437,6 +437,8 @@ for my $fontFileDir (graphicsDirs()) { + print "dir: $fontFileDir\n"; + if (!-d $fontFileDir) { next; }
The result of the print is: [21:33:06.8717] main::init (320) SlimServer Graphic Fonts init... dir: C:\slim\trunk\server\Graphics dir: C:\slim\trunk\server\Plugins\AlbumReview dir: C:\slim\trunk\server\Plugins\Alien dir: C:\slim\trunk\server\Plugins\Biography dir: C:\slim\trunk\server\Plugins\DateTime dir: C:\slim\trunk\server\Plugins\DigitalInput dir: C:\slim\trunk\server\Plugins\Health dir: C:\slim\trunk\server\Plugins\LMA dir: C:\slim\trunk\server\Plugins\Live365 dir: C:\slim\trunk\server\Plugins\MoodLogic dir: C:\slim\trunk\server\Plugins\MusicMagic dir: C:\slim\trunk\server\Plugins\MyPicks dir: C:\slim\trunk\server\Plugins\Picks dir: C:\slim\trunk\server\Plugins\Podcast dir: C:\slim\trunk\server\Plugins\PreventStandby dir: C:\slim\trunk\server\Plugins\RS232 dir: C:\slim\trunk\server\Plugins\RadioIO dir: C:\slim\trunk\server\Plugins\RadioTime dir: C:\slim\trunk\server\Plugins\RandomPlay dir: C:\slim\trunk\server\Plugins\Rhapsody dir: C:\slim\trunk\server\Plugins\ShoutcastBrowser dir: C:\slim\trunk\server\Plugins\iTunes [21:33:07.6754] main::init (328) UDP init...
Please try change 10457 and close if it works for you.
That did it. Thanks.
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.