Comment 4 for bug 1297779

Revision history for this message
Alvin Penner (apenner) wrote :

on Windows, recent development build, the behavior is somewhat different than above. If I edit the preferences.xml file and just randomly delete the last three lines or so, just enough to make it invalid xml code, then I get the following behavior.

- starting Inkscape from the gui, I get the attached popup dialog. The dialog shows up as the top window, so it is easy to see. The dialog also shows up as a minimized icon on the taskbar. At this point the Inkscape window does not yet exist. Acknowledging the dialog, makes it disappear on the taskbar, and then about 5 seconds later the Inkscape window is created for the first time. After this, Inkscape will not save the new preferences file

- starting Inkscape from the console I get the above behavior plus console messages like the messages below:

- the problem is that it is not entirely clear what to do here. On the one hand, refusing to fix the error and refusing to save a new preferences file is rather annoying. On the other hand, overwriting this preferences file would not be welcomed, because the file is 95% correct in this case, and could conceivably have been patched by hand.

..................................................................................................

Entity: line 1637: parser error : Premature end of data in tag group line 1636
     id="debug">
                ^
Entity: line 1637: parser error : Premature end of data in tag inkscape line 2
     id="debug">
                ^
Entity: line 1637: parser error : Premature end of data in tag group line 1636
     id="debug">
                ^
Entity: line 1637: parser error : Premature end of data in tag inkscape line 2
     id="debug">
                ^