inkscape crashes on saving to non-existant dir when used from command line

Bug #490268 reported by mycae
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

Inkscape crashes every time when saving to a dir that does not exist when performing conversions on the command line

inkscape file.svg -A .../file.pdf

note the incorrect triple ".".

This triggers the following error:

inkscape: fopen(.../file.pdf): No such file or directory
terminate called after throwing an instance of 'Inkscape::Extension::Output::save_failed'

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: Error: Inkscape encountered an internal error and will close now.

Aborted

Installed via aptitude from debian testing

$ aptitude show inkscape
Package: inkscape
State: installed
Automatically installed: no
Version: 0.47pre4-1
Priority: optional
Section: graphics
Maintainer: Wolfram Quester <email address hidden>
Uncompressed Size: 84.2M
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.7.2), libcairomm-1.0-1 (>= 1.6.4), libfontconfig1 (>=
         2.4.0), libfreetype6 (>= 2.2.1), libgc1c2 (>= 1:6.8-1.1), libgcc1 (>= 1:4.1.1), libgconf2-4 (>= 2.27.0),
         libglib2.0-0 (>= 2.16.0), libglibmm-2.4-1c2a (>= 2.22.0), libgnomevfs2-0 (>= 1:2.17.90), libgomp1 (>= 4.2.1),
         libgsl0ldbl (>= 1.9), libgtk2.0-0 (>= 2.14.0), libgtkmm-2.4-1c2a (>= 1:2.18.0), libgtkspell0 (>= 2.0.10),
         liblcms1 (>= 1.15-1), libmagick++2, libmagickcore2, libpango1.0-0 (>= 1.14.0), libpangomm-1.4-1 (>= 2.26.0),
         libpng12-0 (>= 1.2.13-4), libpoppler-glib4 (>= 0.12), libpoppler5, libpopt0 (>= 1.15), libsigc++-2.0-0c2a (>=
         2.0.2), libstdc++6 (>= 4.2.1), libwpd8c2a, libwpg-0.1-1, libx11-6, libxml2 (>= 2.7.4), libxslt1.1 (>= 1.1.18),
         zlib1g (>= 1:1.1.4)
Recommends: libwmf-bin, pstoedit, imagemagick, perlmagick
Suggests: dia | dia-gnome, ruby, libgnomevfs2-extra, libsvg-perl, libxml-xql-perl, python, python-numpy, python-lxml,
          python-uniconvertor, skencil, ttf-bitstream-vera

Tags: cli saving
su_v (suv-lp)
tags: added: cli saving
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Ubuntu 9.10, Inkscape 0.47pre4.
In this case, crashing or aborting doesn't make a big difference, but Inkscape should avoid crashing here and send a readable error message instead.

Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

possibly a duplicate of Bug #430301 “core dump exporting to non existing folder”?
<https://bugs.launchpad.net/inkscape/+bug/430301>

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.