Original bug report: https://bugzilla.gnome.org/show_bug.cgi?id=721124 Try loading this log file: <?xml version='1.0' encoding='utf-8'?> <?xml-stylesheet type="text/xsl" href="log-store-xml.xsl"?> <log> <message time='20131226T21:00:26' id='XXX' name='XXX' token='' isuser='false' type='normal'>[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~valid message follows here</message> </log> We get a lot of "parser error : xmlParseCharRef: invalid xmlChar value 27" and then "tp-logger-WARNING **: Failed to parse file"
(In reply to comment #0) > <message time='20131226T21:00:26' id='XXX' name='XXX' token='' isuser='false' > type='normal'>[6~ This is indeed malformed. XML cannot represent U+001B or other control characters, even when escaped via numeric character references. (Yes, I was astonished to discover that, too.) If we've been willing to write out files like this in the past, we need some way to put the parser in a permissive not-quite-XML mode so we can recover them.
(In reply to comment #1) > (In reply to comment #0) > > <message time='20131226T21:00:26' id='XXX' name='XXX' token='' isuser='false' > > type='normal'>[6~ > > This is indeed malformed. XML cannot represent U+001B or other control > characters, even when escaped via numeric character references. (Yes, I was > astonished to discover that, too.) > > If we've been willing to write out files like this in the past, we need some > way to put the parser in a permissive not-quite-XML mode so we can recover > them. Actually the current versions (0.8.0) still writes the corrupted files it itself cannot parse. I have log from 29 April: <message time='20140429T16:27:50' id='fizruk' name='fizruk' token='' isuser='false' type='normal'>semigroupoids has Foldable1 iirc :p</message> For reference I've installed the current version on March 29 and I tend to not have a very long uptimes ATM.
*** This bug has been marked as a duplicate of bug 40675 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.