Avoid discarding preferences.xml because of bad Location string

Bug #784811 reported by Vladimir Savic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned

Bug Description

Inkscape has just informed me that preferences.xml are invalid and that defaults will be used instead. Examining output from terminal clearly showed that problem is non-readable USB stick device name on Linux (it was formated and named strangely by someone on Win).
Entity: line 661: parser error : invalid character in attribute value
       path="/media//firma/" />

problem was character between strings "/media/" and "/firma/". Although I could open/save files from device, on next Inkscape startup problem poped up. Although problem exists, it's unfair to strike user with error message when it's not his fault.

su_v (suv-lp)
tags: added: encoding preferences
Revision history for this message
su_v (suv-lp) wrote :

Related:
 Bug #500961 “Preferences dialog / location of preferences.xml”
 <https://bugs.launchpad.net/inkscape/+bug/500961>
(a mechanism to reset all the preferences from within the user interface)

Revision history for this message
jazzynico (jazzynico) wrote :

IMHO, it's not unfair to warn the user when something goes wrong with the application. But I agree we could find a better recovery code for the preferences file so that it fixes it (or replaces it with the default file) when it's corrupted, and doesn't show the error message the next time Inkscape is launched.

Changed in inkscape:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :

Related: #911700 "Preferences.xml file recovery" <https://bugs.launchpad.net/inkscape/+bug/911700>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.