evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.05k stars 717 forks source link

Unable to open my pencil file #308

Open david-jedynak opened 7 years ago

david-jedynak commented 7 years ago

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 david.jedynak@dkgroup.fr

fagnerbto commented 7 years ago

On Ubuntu i cant open my file too.

dgthanhan commented 7 years ago

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

david-jedynak commented 7 years ago

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

dgthanhan commented 7 years ago

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.

david-jedynak commented 7 years ago

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 commented 7 years ago

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 natacha.rouyer@dkgroup.fr

dgthanhan commented 7 years ago

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

floriangagnard commented 7 years ago

@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 !

ivangro commented 7 years ago

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?

dgthanhan commented 7 years ago

@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?

pawarnilesh4u commented 7 years ago

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

dgthanhan commented 7 years ago

tushar-repaired.epgz.zip Hope this helps.

andwaal commented 7 years ago

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.

pawarnilesh4u commented 7 years ago

@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

andwaal commented 7 years ago

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.

pawarnilesh4u commented 7 years ago

@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.

dgthanhan commented 7 years ago

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 commented 7 years ago

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.

pawarnilesh4u commented 7 years ago

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

dgthanhan commented 7 years ago

The latest 3.0.3 release contains the fix for this one.

tschiew commented 7 years ago

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.

dgthanhan commented 7 years ago

@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.

floriangagnard commented 7 years ago

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 ?

tschiew commented 7 years ago

@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!

andwaal commented 7 years ago

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
dgthanhan commented 7 years ago

Thanks for the input @andwaal

tschiew commented 7 years ago

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

dgthanhan commented 7 years ago

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

tschiew commented 7 years ago

Ok, cool. I'll test it.

kangzeroo commented 7 years ago

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

dgthanhan commented 7 years ago

@kangzeroo It was unfortunate that your file was corrupted in a way that I was unable to recover it even with manual method.

daniellepham commented 7 years ago

Hi, could someone please help me recover this file: https://drive.google.com/file/d/0B_m2aN3r_7HkNFp2UnkxTkh3aWM/view?usp=sharing

This file was given to me to continue the work, but I could not open. I followed the instruction in this thread to find corrupted components and recover but the command: tar xf test.tar -C ~/test didn't point out which file is corrupted and there are many of images in the package.

Appreciate if you could help fixing it. Big thanks

jellerinkel commented 7 years ago

I had similar issues with files not opening suddenly. I am almost sure it has something to do with moving the file to another folder.

For instance. If my epgz file is in /original/bla.epgz it will open. When I moved it to /original/version2/bla.epgz it won't open anymore. Moving it back to the original folder will let me open it again.

It is odd behaviour both on MAC and WIN64 (both on 3.0.4)

Foozor commented 7 years ago

Also having this problem on Windows 10 x64, Pencil v. 3.0.4.

epgz filesize is only 10 bytes! Trying to gunzip just results in "unexpected end of file".

That's bloody two days of work gone right there!

matheussmoraes commented 6 years ago

I have a zero byte file, can anyone help me? https://drive.google.com/open?id=1b27z4wyacEAbWYOaihvGhjh94h6ORqOE

matheussmoraes commented 6 years ago

@dgthanhan Help me.

Vikramlt commented 6 years ago

Hi, I am unable to open my project, Can anyone help me to open this attached file. Betaskill_wireframe_for_Android_App.zip

responad commented 6 years ago

I have same issue, I am using Pencil 3.0.4, unable to open the project. It says 'File loading error / there was an error that prevented your document from being fully loaded. The document file seems to be corrupted. Do you want Pencil to try loading the document anyway?' After I press 'Yes, try anyway' it's missing about 2/3 of my project.

Could anyone help me to fix and reopen my project, please? here is file attached. All Pages.zip

achinthas commented 6 years ago

If your files are saved in OneDrive folder, it won't open. Please copy the file to somewhere else and try again. https://github.com/evolus/pencil/issues/461

ntlgnzalez commented 6 years ago

Hi! I have exactly the same problem. Could anyone recover my file please? I've been working yesterday a lot and I had like 10 artboards and now it says it's corrupted and if I open it anyway then I only see two artboards and not completed.

Thank you! formular.epgz.zip

achinthas commented 6 years ago

@ntlgnzalez Is your files saved in OneDrive folder? If then move that files to c: drive and try to open.

ntlgnzalez commented 6 years ago

No, it was saved on one but I downloaded it before I tried to open it. Could it be the reason why the file was corrupted?

derrickkorku commented 6 years ago

Hi, Nothing happens anytime I tried opening my mockup. I have down so much work in there and I really need help getting my mockup back.

I using Pencil 3.04 and windows 10. Website Mockup.zip

Please someone help me get back my mockup

derrickkorku commented 6 years ago

Hi, I need urgent help opening my mockup. I tried opening my mockup several time but nothing happens. I am using pencil 3.04 and my platform is windows 10 Website Mockup.zip

achinthas commented 6 years ago

@derrickkorku I tired in my local machine and it's not opening. Sorry mate. Maybe someone will be able to help you.

derrickkorku commented 6 years ago

@achinthas thanks for your help

zhanglifu commented 5 years ago

The size of my file did not be reduced, it still be 513kb, but when I open it ,it reminds me "There was an error that prevented your document from being fully loaded.........", when I click "Try anyway", I lost a lot of works , only 3-4 slides in it. How to recover it, it is very urgent ! Please help me.

My Pencil Version is the newest one. And PC is Win10

jazzmann30 commented 5 years ago

Can someone help me recover my file? I have lost a weeks work. I tried using the commands above but when doing the gzip it returns an "unexpected end of file" error.

I am using windows 10 and pencil proj 3.04 New Mobile.zip

achinthas commented 5 years ago

Can someone help me recover my file? I have lost a weeks work. I tried using the commands above but when doing the gzip it returns an "unexpected end of file" error.

I am using windows 10 and pencil proj 3.04 New Mobile.zip

If you saved the files in OneDrive it will not work. You need to move that file to the local drive.

jazzmann30 commented 5 years ago

@achinthas yeah i did not save it in OneDrive that file is in my local. Can I still recover this?