GNOME Bugzilla – Bug 154404
DIA writes garbage to .dia\persistence
Last modified: 2005-10-08 19:39:57 UTC
Please describe the problem: DIA fails to start up with the following message: file:///CA/Documentsandettings/Me/.dia/persistence:245: parser error : Input is not proper UTF-8, indicate encoding ! (dia:568): GLib-CRITICAL **: file gutf8.c: line 1537 (g_utf8_validate): assertio n `str != NULL' failed The .dia\persistence file around line 245 looks like this: <dia:string role="diagram_tree_hidden"> <dia:attribute name="stringvalue"> <dia:string>#ÀúŠP%�#</dia:string> </dia:attribute> </dia:string> Apparently, DIA wrote some garbage there. Steps to reproduce: Don't know. After a couple of edit cycles, this problem surfaced. I don't remember touching this diagram_tree_hidden at all. Actual results: N/A Expected results: N/A Does this happen every time? N/A Other information: N/A
what makes you think this is a blocker? Did Dia crash or just complain on the command line ?
Well, as I stated, DIA failed to start up. I had to manually remove the strange characters from the .dia\persistence file to get DIA to startup again.
Sorry for me not reading more closely and thanks for the workaround which helped here, too. http://mail.gnome.org/archives/dia-list/2004-November/msg00019.html
This can be reproduced by removing ~/.dia/persistence, starting Dia, selecting Preferences, then selecting the Diagram Tree tab, then closing. Now ~/.dia/persistence contains a strange string there. Todays CVS has a fix for that, where we use a proper persistent list for the hidden items instead.
*** Bug 144997 has been marked as a duplicate of this bug. ***
Hmm, this did not work for me, a full un-install followed by manual removal of the .dia directory followed by a re-install did though! James
*** Bug 169175 has been marked as a duplicate of this bug. ***
*** Bug 305013 has been marked as a duplicate of this bug. ***
Adjusting target to help finding 0.94 dups already fixed