Internal error when importing an image

Post questions on how to use or achieve an effect in Inkscape.
Funimag
Posts: 4
Joined: Mon Apr 03, 2017 6:39 pm

Internal error when importing an image

Postby Funimag » Mon Apr 03, 2017 8:31 pm

Hi,
I have a crash in Inkscape when I try to import a specific .jpg image
There is a popup message with internal error then Inkscape closes.

This image is only 516 Kb. Each time I try to import (incorporate or link) Inkscape closes with error.
I have no problem to import a 7500Kb image.

I saw many items in the forum about import errors but did not find any solution.

I use Inkscape 0.92 64bits with Windows 10 64bits

Does somebody can tell me how to import this image? What is wrong with this image?
Here is a link to the image : https://my.pcloud.com/publink/show?code ... 9uSh14OvsX

Thank you for your help.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Internal error when importing an image

Postby Lazur » Mon Apr 03, 2017 8:45 pm

Welcome aboard!

Couldn't reproduce the issue with Inkscape 0.92.1 r15371 on win 10 64bit.
Maybe there has been a related bug fix in between the two builds?

If nothing works I'd try saving the original raster image in png format.

Funimag
Posts: 4
Joined: Mon Apr 03, 2017 6:39 pm

Re: Internal error when importing an image

Postby Funimag » Mon Apr 03, 2017 8:49 pm

Thank you for your quick answer.

In fact i use same version: Inkscape 0.92.1 r15371
Sorry I did not noticed the build number.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Internal error when importing an image

Postby Moini » Mon Apr 03, 2017 9:51 pm

It could help to have the file where you're trying to import the image into to see if we can reproduce the crash.
(e.g. in 0.91, there was an error where Inkscape crashed when you already had imported an image of a different file format, so file contents may be relevant).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Funimag
Posts: 4
Joined: Mon Apr 03, 2017 6:39 pm

Re: Internal error when importing an image

Postby Funimag » Mon Apr 03, 2017 10:35 pm

In fact I uploaded the image file to the cloud to share it with you. (see the link in my first post).
Now I downloaded the same image file from the cloud and used the image file from download folder to import it in Inkscape and... it works!
If I copy that downloaded image file to another folder and then try to import it ... Inkscape fails to import again and closes!

Difficult to understand why...

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Internal error when importing an image

Postby Moini » Tue Apr 04, 2017 7:02 am

I was referring to the SVG file where you import the jpg file into, not to the jpg file.
But it now seems the issue is a different one.

Can you tell us the path to the file where it doesn't work vs. the one where it does work?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Internal error when importing an image

Postby brynn » Tue Apr 04, 2017 7:14 am

When reading the original message, I was wondering, if you were importing the 516 kb image into a file which already has a lot of content, it might be just too much for one file.

Are you able to import into a new blank file?

Funimag
Posts: 4
Joined: Mon Apr 03, 2017 6:39 pm

Re: Internal error when importing an image

Postby Funimag » Tue Apr 04, 2017 10:14 pm

I was unable to import this 516 kb file into a SVG file with already a lot of content.
Also I was unable to import this 516 kb file into a blank file.

Then I uploaded the 516kb file to the cloud to share it with you.
I downloaded it from the cloud and I succeeded to import that file!
I am still unable to import the original file.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Internal error when importing an image

Postby Moini » Wed Apr 05, 2017 4:32 am

Moini wrote:Can you tell us the path to the file where it doesn't work vs. the one where it does work?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

ramin110
Posts: 3
Joined: Sat Apr 22, 2017 6:36 pm

Re: Internal error when importing an image

Postby ramin110 » Sat Apr 22, 2017 6:40 pm

Same error happens to me, I just installed the app and when I import the image file the Message pops up "Inkscape encountered an internal error and will close now." every image I selected same error message shows.
Inkscape 0.92.1 r15371
Win 10 64bit

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Internal error when importing an image

Postby brynn » Mon Apr 24, 2017 5:52 am

Could an active moderator please split this into a new topic? This last message may or may not be the same problem as the op. Thanks.

ramin110, please tell us how much RAM on your computer. Also please tell us how large the SVG file is, and also how large the file you're trying to import. What is the format that you're trying to import? Is it a raster image, such as PNG or JPG?

Or if you could share the SVG file and the raster file that you want to import. Then we could find out ourselves.

We often see that error message when we're working with files that are too large for Inkscape to handle, based on your system resources. There could be other reasons too. But that's the first one we want to rule out, before moving on to other possible reasons.

ramin110
Posts: 3
Joined: Sat Apr 22, 2017 6:36 pm

Re: Internal error when importing an image

Postby ramin110 » Tue Apr 25, 2017 8:46 pm

I am new in inkscape and just learning with Lynda - Inkscape Essential Training video series and using course example files.
Just open new svg file and import example file and got above error message.
8 GB of ram and import normal jpg file with size of 22 kb.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Internal error when importing an image

Postby brynn » Wed Apr 26, 2017 11:32 am

A link to where we can download the files please?

Since the files are made for a study course, they probably are not too large. But we still need to see the SVG file, to have a chance to find the problem.

Edit
Actually it might not be enough to give us a link, because someone else had showed me that study course recently. I was not able to even see it, unless I sign up for the free trial.

So if you would please save the SVG and JPG files to your computer (if you haven't already - otherwise, I don't know how you could import the JPG), and then upload them here (or somewhere, and give us the link).

ramin110
Posts: 3
Joined: Sat Apr 22, 2017 6:36 pm

Re: Internal error when importing an image

Postby ramin110 » Thu Apr 27, 2017 1:30 am

I uploaded the example jpg file with 3 steps picture of imprting jpg:
01: https://flic.kr/p/TDFSmU
02: https://flic.kr/p/T12eet
03: https://flic.kr/p/TZHhw7

https://flic.kr/p/TZHiQE

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Internal error when importing an image

Postby tylerdurden » Thu Apr 27, 2017 6:38 am

No problem here, Inkscape 0.92.1 r15371 Win 8.1 64bit
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Internal error when importing an image

Postby brynn » Fri Apr 28, 2017 12:59 am

I'm not having any problems either. But I do have one suggestion. It's a long shot, so cross fingers.

In the screenshot where you're showing how you choose the image from your file manager, I notice that you have that JPG in a folder called Links. In Windows, often we don't have any trouble putting files wherever we want. But the folders really do have certain attributes, which make them better places to hold certain things. And sometimes it does matter.

Since Links is meant to hold shortcuts, perhaps it's somehow affected the image by saving it there, so that inkscape doesn't recognize it. Or maybe Inkscape isn't allowed to import images from that folder? Here's what I would suggest.

Download the image again, and this time, save it in Pictures or My Pictures. I honestly don't know what the difference is, between Pictures and My Pictures. They look like the same thing to me. But either one will be better than Links.

Don't just move the image from Links to Pictures, but download it again fresh. Image


Return to “Help with using Inkscape”