Bug 17581 - server.prefs fails to load sometimes
: server.prefs fails to load sometimes
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.7.0
: PC Other
: P1 blocker (vote)
: 7.7.0
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-21 10:02 UTC by Andy Grundman
Modified: 2011-09-21 10:28 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Grundman 2011-09-21 10:02:48 UTC
Probably due to a YAML::XS issue:

Unable to read prefs from /Users/andy/Library/Application Support/Squeezebox/server.prefs : YAML::XS::Load Error: The problem:

    Control characters are not allowed

was found at document: 0
Comment 1 Andy Grundman 2011-09-21 10:11:05 UTC
The bad text is the 0x80 character in my iPeng playername:

00001910  61 79 65 72 6e 61 6d 65  3a 20 41 6e 64 79 c3 a2  |ayername: Andy..|
00001920  c2 80 c2 99 73 20 69 50  68 6f 6e 65 0a 20 20 70  |....s iPhone.  p|
Comment 2 SVN Bot 2011-09-21 10:28:08 UTC
 == Auto-comment from SVN commit #33499 to the slim repo by agrundman ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33499 ==

Fixed bug 17581, PerlIO utf8 layer was double-encoding, YAML::XS already outputs raw utf8 bytes