Cannot open file after saving on full USB stick

Bug #407115 reported by Pegi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
High
theAdib

Bug Description

After saving file, I don't receive any warrning about full USB. Program "save" file,
but when I want open file again I get information.
Please file in attach.
If someone can recover file please send me on my e-mail <email address hidden>
Tanks in advance

Tags: saving
Revision history for this message
Pegi (pcuklin) wrote :
Revision history for this message
su_v (suv-lp) wrote :

what's left to recover...

what OS, Inkscape version?

Revision history for this message
Pegi (pcuklin) wrote : Re: [Bug 407115] Re: Cannot open file after saving on full USB stick

Dear

I had this bug many time in different version Inkscape,
when on memory stick don't have enough space Inkscape save file without
warring
 Inkscape just save file, but after that you cannot open file.
I opened file in Notepad and see xml code. I have very relevant data in this
file, new banner for Freeplane ( new program for mind mapping open source).
Maybe someone can repair this file that i can open file.

OS: win xp professional ver 2002 SP3
Inkscape ver.: Inkscape 0.47pre1, built Jul 3 2009

Thanks in advance

2009/7/30 ~suv <email address hidden>

> what's left to recover...
>
> what OS, Inkscape version?
>
> ** Attachment added: "Baner_Freeplane-recovered.svg"
> http://launchpadlibrarian.net/29729566/Baner_Freeplane-recovered.svg
>
> --
> Cannot open file after saving on full USB stick
> https://bugs.launchpad.net/bugs/407115
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: New
>
> Bug description:
> After saving file, I don't receive any warrning about full USB. Program
> "save" file,
> but when I want open file again I get information.
> Please file in attach.
> If someone can recover file please send me on my e-mail <email address hidden>
> Tanks in advance
>

Revision history for this message
su_v (suv-lp) wrote :

I already fixed what is left of the file and attached to my previous comment - please use the link in the email or visit the bug report web page to download the recovered banner file.

hth, as workaround, ~suv

Revision history for this message
theAdib (theadib) wrote :

Inkscape hadles extensions and svg differently.
- For extensions the issue sould be solved.
- For plain svg we need to check in src/xml/repr-io.cpp:sp_repr_save_rebased_file():665 the return of sp_repr_save_stream call.

HTH, Adib.

Revision history for this message
su_v (suv-lp) wrote :

@ theAdib - Can you confirm the report then? I can't test it due to lack of (full or not) USB stick ATM ;-)

Revision history for this message
theAdib (theadib) wrote :

I committed svn revision 21957. Now even svg file write is checked and there is an error dialogue.
It does not:
- remove the file if there was no space (or if writing fails however); the written chunk of file is still corrupt even it is named foo.svg
- revert filename in case of "save as"; somewhere noted that in those cases should be an reappearing save_as dialogue

what is needed in order to propperly close this issue?

Adib.

Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → theAdib (theadib)
jazzynico (jazzynico)
tags: removed: full on problem usb with
Revision history for this message
Pegi (pcuklin) wrote :

Dear,
thanks a lot for recovery, a have new problem,
my system crash when i'm working on Inkscape and I can not open file in
attach.
Need help!!!!!!!!!!!!
Please could you recover file in attach. It's new splash for Freeplane open
source program for mind mapping.
Thanks in advance.
Predrag

2009/7/30 ~suv <email address hidden>

> what's left to recover...
>
> what OS, Inkscape version?
>
> ** Attachment added: "Baner_Freeplane-recovered.svg"
> http://launchpadlibrarian.net/29729566/Baner_Freeplane-recovered.svg
>
> --
> Cannot open file after saving on full USB stick
> https://bugs.launchpad.net/bugs/407115
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: New
>
> Bug description:
> After saving file, I don't receive any warrning about full USB. Program
> "save" file,
> but when I want open file again I get information.
> Please file in attach.
> If someone can recover file please send me on my e-mail <email address hidden>
> Tanks in advance
>

Revision history for this message
su_v (suv-lp) wrote :

Was this crash happening again due to a full USB stick? You might consider trying a recent prerelease build from <http://sourceforge.net/projects/inkscape/files/inkscape/0.47pre3/>, this version should warn you if there is not enough disk space left to save the document.

The partly recovered file opened fine in Inkscape, but almost crashed my browser (Firefox 3.5.3) - probably due to the many gradients and filters stored in the <defs> section and used in the drawing.

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.