Dia extension not working with dia 0.95

Bug #167786 reported by Michga
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

It may also affect other distribution.

With dia 0.95 installed, the script dia2svg.sh does not work.

As a matter of fact the long --export-to-format option does not exist
anymore in dia 0.95, it has been replaced by the --filter option. Anyway
the short -t format option still works.

So that the line:

dia -n --export="${TEMPFILENAME}" --export-to-format=svg "$1" > /
dev/null 2>&1 || rc=1

should be changed to:

dia -n --export="${TEMPFILENAME}" -t svg "$1" > /dev/null 2>&1 || rc=1

and the script has to be given user executable permissions, otherwise
there is a permissions denied error.

With those two changes, it works perfectly.

Man page bug has been reported to dia: <http://bugzilla.gnome.org/
show_bug.cgi?id=346510>

Revision history for this message
Rwst (rwst) wrote :

thanks for report and fix. committed to svn and stable.

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.