Inkscape crashes when I import an .svg file into another svg. file

Asked by wobien on 2016-03-03

I used to be able to import an Inkscape .SVG file into another .svg file and I used it often.
Bus some time ago I downloaded a new version Inkscape 0.91 r13725 (Dutch version) and now I can't any more.

When I try this: I open an (existing) inkscape .svg file.
I go to the layer where I want to inport the other file.
I click file - import (I hope this is the right translation of the words in my Dutch menus) , than chose the file I need.

Sometimes the file is imported, but often I get the message (in English): This application has requested the Runtime to terminate it in an unusual way. Please contact the application's Support team for more information.
And then (in Dutch, my translation): An internal error has occured in Inkscape. The program will terminate. Automatic copies of the files will be made on the location .....
Then the program is closed.

I tried it with many files, aand some I can import, but (of coarse?) the files I need to import (and used to import) do'nt work.

Maybe I should go back to the older version?

Thanks for any help.


Question information

English Edit question
Inkscape Edit question
No assignee Edit question
Last query:
Last reply:
Hachmann (marenhachmann) said : #1

Hi wobien,

there may be something specific about the files you are importing (for example, comments in the defs section of the SVG source code, as in this bug: which is causing this behaviour.

Can you share one of the files which cannot be imported?
(please upload to some file hosting service and post a link, this answers section does not accept file attachments).

Which operating system are you using?

Does it work if you just open the other svg file, do Ctrl+A to select everything, then Copy-Paste the contents into the other file? (Hoping for a workaround)

Kind regards,

wobien (wdoyer) said : #2

Hi Maren,

Thanks for your answer.
Here is a link to a file that cannot be imported:
It contains only a simpel layer structure and a few objects.

I am using Windows 7.

 Yes, I can do without importing, using the workaround you suggest, I have allready been doing that. But doing so I end up with everything in one layer, and having to redistribute it into the layers it belongs in. It would be much better if I could use importing again!

Thanks for any help,

Kind regards,

Hachmann (marenhachmann) said : #3

Hi Wobien,

mmh - on Linux Mint 17.3, it imports.

But the layer structure seems messed up - there are layers nested inside groups, and while this is totally valid SVG (which doesn't know layers), it's a bit strange for an Inkscape file to have layers in a group that is not a layer....

Layers original:
Layers imported:

Is this a result you are used to? (I rarely import any SVG files with layers)

There's also a comment in the SVG file - editing it out didn't make any difference for me, but maybe it would for you?
You could try it out:
open the file with a text editor, then remove this from the file:

 <!--Title: Map Generated Using Maperitive (>
 <!--Map Generator: Maperitive v2.3.30 by Igor Brejc
Time: 02/05/2014 14:02:00

(I'm just guessing here at the moment).

If removing the comment doesn't help, I think we should turn this into a bug report and see if the developers have any ideas.

Kind regards,

wobien (wdoyer) said : #4

Hi Maren,

After your first mail I allready tried to remove the comments, using a text editor, but that didn't help.

The layer structure in Inkscape for me looks like this:
and the relevant part in the inbuild XML editor in inkscape looks like this:
I cannot see the #g3992 that is visible in your picture.
To be sure we used the same file I downloaded it from the same link I send to you.

Kind regards,

Hachmann (marenhachmann) said : #5

Hi Wobien,

I think I'm unable to help in this case, and we'll better turn this into a bug report. I will create one for you and link this thread to it.

Please subscribe to the report and if possible, add your files there as an attachment, so they can't be lost if your cloud files are deleted some day.

The developers will need the following files and additional info, I think:
- The SVG you are trying to import
- The file which you are trying to import the SVG to
- an exact description of where you are trying to place the import (which layer?)

Thank you for your help,
Kind regards,

Hachmann (marenhachmann) said : #6

Oh, and they will also need to know the exact Inkscape file you used to install Inkscape. msi? exe? binary? 32bit? 64bit?

wobien (wdoyer) said : #7

Hi Maren,

Trying to find out what exactly I installed I found in an directory called downloads a file called Inkscape-0.91-1.exe
That must be the file I used to install Inkscape. Would it be usefull to attach it to the bug report?

Kind regards,

Hachmann (marenhachmann) said : #8

I'll just add the info to the report.

The exe file itself, as it is available on our website, is not needed. (btw. it is the 32bit version, then)

Thank you for asking and digging up the info!

Can you help with this problem?

Provide an answer of your own, or ask wobien for more information if necessary.

To post a message you must log in.