File is not oppening at all

Post questions on how to use or achieve an effect in Inkscape.
Dcacau
Posts: 6
Joined: Tue Apr 14, 2015 9:59 pm

File is not oppening at all

Postby Dcacau » Tue Apr 14, 2015 10:05 pm

Hey guys, I'm using the 0.91 version on Windows 7. I spent the whole day working on a file with no apparent problems. Today, the file just won't open. I get no error messages, no nothing. It just doesn't open at all. Other files open normally, except this one. It was a bit heavy, I guess (254 MB), but could that be the problem? I already uninstalled Inkscape and installed it again, and nothing changed. Searched the web and other topics here on this forum, but nothing seems to help. Geez, I really need this file.

I'm a newbie to Inkscape, so if you guys could help me I would really apreciatte it.

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: File is not oppening at all

Postby ragstian » Tue Apr 14, 2015 10:18 pm

Hi.

When you say "does not open" what's the symptoms?
If you do a "select all" after the opening what do you get on the status line at the bottom of your Inkscape screen?
If you get anything other than "No objects selected... " your file has loaded.
Last edited by ragstian on Tue Apr 14, 2015 11:12 pm, edited 1 time in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Dcacau
Posts: 6
Joined: Tue Apr 14, 2015 9:59 pm

Re: File is not oppening at all

Postby Dcacau » Tue Apr 14, 2015 10:24 pm

I mean I double click my inkscape file to open it, as usual... and nothing happens. Its like, loading, but then it stops and it's just that. :T

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

Re: File is not oppening at all

Postby tylerdurden » Tue Apr 14, 2015 10:41 pm

That file is big. Why?

Maybe you could compress the file and upload to a sharing site, but it might still be too big, unless you have an ftp site.

Could be that it is loading and trying to reconcile all the information, likely a gazillion unused definitions and big bitmaps.
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/

Dcacau
Posts: 6
Joined: Tue Apr 14, 2015 9:59 pm

Re: File is not oppening at all

Postby Dcacau » Tue Apr 14, 2015 10:51 pm

tylerdurden wrote:That file is big. Why?

Maybe you could compress the file and upload to a sharing site, but it might still be too big, unless you have an ftp site.

Could be that it is loading and trying to reconcile all the information, likely a gazillion unused definitions and big bitmaps.


Yeah, my file was full of bitmaps because I'm designing jewels... so in this case, is there any way to recover this file?

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

Re: File is not oppening at all

Postby Lazur » Tue Apr 14, 2015 11:26 pm

Is that still not damaged?
Once I made a file similar to that size and didn't take attention to the number of other programs running, the save was corrupted.
If that is the case, it cannot be recovered fully.
Such a damage would mean that the file is chopped off somewhere -where the objects are located at the bottom in the z-order.
I would check first in a notepad if </svg> tag is missing at the end of the file.
If so, cleaning up would need deleting the damaged part and closing all <g> elements with </g> and the open svg tag.

If the svg wasn't damaged, you may still split it into two half with a text editor.

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

Re: File is not oppening at all

Postby brynn » Wed Apr 15, 2015 1:12 am

:o 245 mb a BIT heavy??!!

That is 1 huge file! I wouldn't be able to open it either. Dividing the file with a text editor is 1 option. Another might be if you can find someone with a system that can handle the file. You're in good hands with the responders so far, in any case.

But just on the outside chance, if you installed any fonts which have non-letter or number characters in the font name, since you last opened the file, that could cause this. I doubt you changed your color depth, but another known issue is that Inkscape can't work with 16bit color depth.

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: File is not oppening at all

Postby hulf2012 » Wed Apr 15, 2015 1:49 am

Hello
- In order to get more information (if possible): open the command line of windows :
http://windows.microsoft.com/en-us/wind ... mpt-window
- Type "inkscape"
- When Inkscape it's running, Open your file (first uncheck preview mode, or it won't work)
- Now... cross fingers ... Paid attention if it appears any message in Inkscape or in the command line... If not... this method didn't worked.

As others had said try to open your file with a text editor. As this file is so big I'm afraid that only wordpad could open, or a text editor in command line like ... vim?
You mention you have put bitmaps in the svg. I assume they are embedded...
-- For future works of this size, it's better to link a image and not embed it. But when you move your inkscape file, the linked image must be moved with it.
-- If you manage to open your file with a text editor, erase, or change the XML code that has embedded images. I guess it's related to:
https://developer.mozilla.org/en-US/doc ... ent_in_SVG
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

Dcacau
Posts: 6
Joined: Tue Apr 14, 2015 9:59 pm

Re: File is not oppening at all

Postby Dcacau » Wed Apr 15, 2015 2:07 am

Lazur URH wrote:Is that still not damaged?
Once I made a file similar to that size and didn't take attention to the number of other programs running, the save was corrupted.
If that is the case, it cannot be recovered fully.
Such a damage would mean that the file is chopped off somewhere -where the objects are located at the bottom in the z-order.
I would check first in a notepad if </svg> tag is missing at the end of the file.
If so, cleaning up would need deleting the damaged part and closing all <g> elements with </g> and the open svg tag.

If the svg wasn't damaged, you may still split it into two half with a text editor.



I opened it with Notepad and the </svg> is still there, so I guess I coul try dividing it in two? Is there a tutorial for that or something? Sorry, I'm just a ~little~ bit noob with codes and stuff.

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

Re: File is not oppening at all

Postby Lazur » Wed Apr 15, 2015 2:39 am

Here is a short description on the svg format inkscape saves.
You need to delete elements entirelly to shorten the file.
For example

Code: Select all

   <path
       style="color:#000000;fill:#1e1e1e;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:33;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
       d="m 1.420745301867156e-14,52.36218261718416 1000,0 0,1000.00000000000284 -999.9999999999998863131622783839,0 z"
       id="rect3981"
       inkscape:connector-curvature="0" />

is a rectangle shaped path. To get rid of it, all these codes needs to be deleted.

<g> and </g> indicates the start and end of a group, also layers are implemented by groups.
If you have many groups and/or layers, finding the pair of tags can be a bit complicated.


If you want to split it into two, each of them would need the <defs> and <metadata> section at the start.
Once they are working, that would probably mean unused defs, so the first thing after opening would be vacuuming defs/clean document.
(Gradients, clipping objects, etc. are stored there.)

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: File is not oppening at all

Postby v1nce » Wed Apr 15, 2015 3:07 am

copy your file.
rename your copy with an .xml extension.
load in internet explorer
Does it say "The file is not a valid xml because ..."
If so, post the error message.

Buth the best will be to host the file somewhere so that we can see what has gone wrong

Dcacau
Posts: 6
Joined: Tue Apr 14, 2015 9:59 pm

Re: File is not oppening at all

Postby Dcacau » Wed Apr 15, 2015 3:44 am

v1nce wrote:copy your file.
rename your copy with an .xml extension.
load in internet explorer
Does it say "The file is not a valid xml because ..."
If so, post the error message.

Buth the best will be to host the file somewhere so that we can see what has gone wrong



Ok, when I do that it will be like 'file.xml.svg'? I don't know how to make it only .xml /o\

Dcacau
Posts: 6
Joined: Tue Apr 14, 2015 9:59 pm

Re: File is not oppening at all

Postby Dcacau » Wed Apr 15, 2015 4:43 am

Dcacau wrote:
v1nce wrote:copy your file.
rename your copy with an .xml extension.
load in internet explorer
Does it say "The file is not a valid xml because ..."
If so, post the error message.

Buth the best will be to host the file somewhere so that we can see what has gone wrong



Ok, when I do that it will be like 'file.xml.svg'? I don't know how to make it only .xml /o\



Anyway... hours later, I managed to host the file: http://www.filedropper.com/modelos

Not sure if the link is going to work though...

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: File is not oppening at all

Postby v1nce » Wed Apr 15, 2015 8:07 am

Should it look a bit like this ?

bijou.jpg
bijou.jpg (26.77 KiB) Viewed 2291 times


opened in inkscape 0.49 / ubuntu 12.04 16gb ram
I got a lot of warning in console about possible memory issues

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: File is not oppening at all

Postby v1nce » Wed Apr 15, 2015 8:28 am

I think you should clone (alt+D) jewel instead of duplicating it (ctrl + D).

When you clone, inkscape stores the base image and a reference to the base image.
When you duplicate, inkscape stores two images.

So if you got 100 stones you'll get a file hat is 100x heavier if you use copy rather than using clone.

Plus, if you clone, when you change the base gem then all the clones will change at once. It would be easier to go from onyx to emerald


Return to “Help with using Inkscape”