pencil icon indicating copy to clipboard operation
pencil copied to clipboard

Unable to open my pencil file

Open david-jedynak opened this issue 8 years ago • 59 comments

  • Operating system: MACOS
  • Pencil version: 3.01

Hello,

I allow myself to contact you to access your software We are no longer able to open our project.

You will find the file as an attachment : http://preprod.dkdigital.fr/aaaspi/AAASPI.epgz

Could you tell me where the light comes from? We did not do anything special

thanks in advance David Jedynak [email protected]

david-jedynak avatar Apr 27 '17 13:04 david-jedynak

On Ubuntu i cant open my file too.

fagnerbto avatar Apr 27 '17 14:04 fagnerbto

Your file got corrupted why saving. I manually repaired it. Hope that you did not lose any work in this. I will continue investigating the content to see why it failed to save. issue-308.zip

dgthanhan avatar Apr 27 '17 23:04 dgthanhan

Hello,

I still can not open the file ....

We also noticed that a folder was generated after saving the file I do not know if it's related to the problem

Here is the content of the file in question http://preprod.dkdigital.fr/aaaspi/AAASPPI-MockFlow.zip

thanks in advance

david-jedynak avatar Apr 28 '17 08:04 david-jedynak

Github does not allow uploading files with strange extensions. I zipped the file intentionally so you need to extract the zip file first to grab the inner epgz file.

dgthanhan avatar Apr 28 '17 08:04 dgthanhan

I have just seen with our team, the archive has finally nothing to do with pencil I do not see where the problem comes from.

Could you look at why the backup corrupted the file?

We still can not open the file thanks in advance

david-jedynak avatar Apr 28 '17 09:04 david-jedynak

Hello, I can't open my Pencil document named "AAASPPI-PAGE-TYPE-SUITE-BUG" : preprod.dkdigital.fr/aaaspi/AAASPPI-PAGE-TYPE-SUITE-BUG.epgz I had the same problem many times. In one moment the document doesn't want to open. That's a big problem because i lost my time to do the same things again and again. Could you send me the previous mac version of Pencil because the 3.0.1 version ,doesn't reliable.

I really think of changing wireframe tool if no improvement is made. Waiting to read you,

Natacha Rouyer [email protected]

david-jedynak avatar May 05 '17 14:05 david-jedynak

@david-jedynak I sent you the file via email to avoid confusion in as Github requires renaming.

dgthanhan avatar May 09 '17 22:05 dgthanhan

@dgthanhan Hello ! I'm very sorry to enter in the conversation like that but i have the same trouble than David (I'm on W10 and 3.0.2) May I send you my .epgz file for a quick fix ? Thanks a lot !

floriangagnard avatar May 23 '17 07:05 floriangagnard

I'm using Pencil version 3.0.2 under Windows 8.1 and I cannot reopen my project. Yesterday I was working with it and was everything OK. The last thing I did was to export the project as single web page. Today I wanted to progress on my work but I can't open it. I have no error message. Can someone help me to recover my project? What can I do?

ivangro avatar May 24 '17 17:05 ivangro

@floriangagnard Please send your file. an.duong -@t- evolus.vn @ivangro this is the second time we were reported that file got corrupted after exporting. Could you please let me know what type of export did you do and where did you choose to export the file relatively to the epgz?

dgthanhan avatar May 24 '17 23:05 dgthanhan

Hi @dgthanhan I am having same problem my file is corrupt and unable to open it now. Could you please help out. tushar.epgz.zip

pawarnilesh4u avatar Jun 02 '17 09:06 pawarnilesh4u

tushar-repaired.epgz.zip Hope this helps.

dgthanhan avatar Jun 02 '17 09:06 dgthanhan

Hi @dgthanhan great that your taking the time to actually help people out and manually fixing the files! I also experiencing this and have sent you an email.

andwaal avatar Jun 02 '17 10:06 andwaal

@dgthanhan Thank you for reverting quickly on this.

I see that in zip their are xml file and png thumbnails.

Thumbnails are very small and not able to see them properly,

How to use xml files and how can I open this in Pencil project

pawarnilesh4u avatar Jun 02 '17 10:06 pawarnilesh4u

If anyone else experiences this and wants to recover the file on them own I figured out how to do that.The issue seems that one of the attached files in the project gets corrupt, thus crashing when unzipping.

Here is what I did to recover my file.

cp test.epgz test.tar.gz
gunzip -c test.tar.gz > test.tar
mkdir ~/test
tar xf test.tar -C ~/test

At this moment you will get an error with something like this:

tar: Removing leading '/' from member names
refs/8a563ea5e9a04b9abb1c809d43f58125.png: Truncated tar archive

This is the corrupt file. What I did was to replace this file with a not corrupt file with same name.

cd test
tar -zcvf recover.tar.gz .
mv recover.tar.gz recover.epgz

The created file pencil manages to open, but with your corrupt image will be replaced with another.

On a side note, I only managed to open the recovered file using the "Open file"-menu. Opening directly from finder did not seem to work. This might be an unrelated bug.

andwaal avatar Jun 02 '17 13:06 andwaal

@andwaal Thank you very much for this. It worked like charm for me and you saved my many days of work.

@dgthanhan Thank you very much.

pawarnilesh4u avatar Jun 02 '17 14:06 pawarnilesh4u

An implementation has just been added to allow Pencil to try recovering a corrupted document file. You can try that out in the latest development build at: http://pencil.evolus.vn/Nightly.html

I have also managed to reproduce the corruption error when saving a file. We are working on a fix for that and will have it available as soon as we can.

Thanks.

dgthanhan avatar Jun 03 '17 16:06 dgthanhan

The root cause of the problem was that the application process got prematurely terminated when the saving is still in progress. This is a platform regression. Latest code and nightly developer builds contain the fix. It would be helpful if you can try and let me know if the corruption is resolved.

dgthanhan avatar Jun 03 '17 19:06 dgthanhan

@dgthanhan Will install the development version and let you know if its working for us. Thanks again.

pawarnilesh4u avatar Jun 05 '17 06:06 pawarnilesh4u

The latest 3.0.3 release contains the fix for this one.

dgthanhan avatar Jun 06 '17 14:06 dgthanhan

H! I've used v3.0.3 to create some sketches. Now, a day later, it isn't possible to open the file again ("The document file seems to be corrupted").

If I click "Yes, try anyway", three of four sketches will be loaded, but the popup appears again (=> cannot work with the sketches). In the second popup (same text), a click on any of the buttons lets crash the app.

I've tried the solution with gunzip, but that doesn't work either:

gzip: test.tar.gz: invalid compressed data--format violated

It already would be helpful if it's possible to recover one of those sketches.

tschiew avatar Jun 07 '17 06:06 tschiew

@tschiew Did you save the file with 3.0.3 or the previous one? Please let me know also the operating system and the type of storage you are using.

dgthanhan avatar Jun 07 '17 09:06 dgthanhan

Thanks a lot @dgthanhan : It's very friendly to help us, and that's why I'm very sorry for my very late anwser =/ I'll try the 3.0.3 to recover the file : I think that's the best move to give you feedback and have a very small participation ;-) to improve Pencil, is'nt it ?

floriangagnard avatar Jun 07 '17 09:06 floriangagnard

@dgthanhan I've also saved the file with 3.0.3 (installed pencil yesterday for the first time). My OS is Windows10 and the storage is the notebook ssd. Thanks for your support!

tschiew avatar Jun 07 '17 11:06 tschiew

I did some investigation on this and from what I found this seem to be caused by an permission issue. The .tar.gz seems to be zipped with insufficient permission, causing the extraction to fail.

I managed to recover my file by using the following commands:

cp test.epgz test.tar.gz
gunzip -c test.tar.gz > test.tar
mkdir ~/test
sudo tar xf test.tar -C ~/test
sudo chmod +rx test
cd test
sudo find . -type d -exec chmod +rx {} \;
tar -zcvf recover.tar.gz .
mv recover.tar.gz recover.epgz

andwaal avatar Jun 08 '17 08:06 andwaal

Thanks for the input @andwaal

dgthanhan avatar Jun 08 '17 08:06 dgthanhan

Ok, with that commands (ignoring the error message while unzipping), It was possible to recover three of four sketches! Thank you for your help.

tschiew avatar Jun 08 '17 09:06 tschiew

@tschiew The nightly builds contains more update for the recovering error that you saw. http://pencil.evolus.vn/Nightly.html

dgthanhan avatar Jun 08 '17 09:06 dgthanhan

Ok, cool. I'll test it.

tschiew avatar Jun 08 '17 10:06 tschiew

@dgthanhan can you help me repair my file too? https://s3.amazonaws.com/open-to-public-files-49857284592834/Serverless_Chat.epgz

kangzeroo avatar Jun 19 '17 09:06 kangzeroo