Open GoogleCodeExporter opened 9 years ago
I wonder if I could decompress my corrupted file and then try to restore it..
Is it possible?
I have found out the method of compression (?) in this issue ->
http://code.google.com/p/keynote-nf/issues/detail?id=175
>Delphi zlib 1.2.3 implementation by Roberto Della Pasqua and previous
I have even found zlib 1.2.3. But there is only source code, no executable
decompressor.
I will be gratefull for any ideas and even for an answer "it is impossible to
restore that file!" ^-^
Original comment by dina.yak...@gmail.com
on 15 Apr 2011 at 11:23
I just received the same error. When I launched Keynote this morning, the
last-used file that would normally load on startup failed to do so, and
instead, a "buffer error" dialog pops up. (Exactly as dina describes above.)
The last change I'd made to that file was adding a few lines of text the night
before; that's it. However, I did recently change file permissions on the
portable SSD card where the Keynote EXE and data are stored, but I was still
able to open and use Keynote normally afterward, and I can open the BAK files
(whose permissions have also changed). Unfortunately, I stand to lose data if
I'm not able to open the KNT file since the most recent changes weren't backed
up.
Keynote version: 1.7.9.1 Beta 1
Platform: Windows 7 x32/x64 Enterprise. (The .knt files are stored on a SSD
card and shared between two machines - one is x32 and the other is x64.)
Original comment by isthis1t...@gmail.com
on 5 Aug 2011 at 3:01
Attachments:
Can you try the new executable I have just uploaded?
http://code.google.com/p/keynote-nf/downloads/detail?name=Release_1.7.9.2%20Beta
%202.rar
(Version 1.7.9.2 [BETA])
Original comment by dpra...@gmail.com
on 7 Aug 2011 at 4:55
Analyzing the errorI have seen that the message "buffer error" is raised by the
compression library (Delphi zlib 1.2.3). I have not reproduced the error with
the actual version of KeyNote NF but I have simulated it reducing the size of
the buffers used (they are two buffers, bufferIn and bufferOut, each of 32768
bytes) to smaller values (50, 100, 1000 and so) and I have verified that even
with very small values, like 50, the procedure can decompress many files, but
when I include images (copy and paste) then 'buffer error' appears frequently.
Testing with bigger output sizes (20/40, 50/100 or 50/200, etc) that files can
be readen ok.
So, I have modified the procedure to dinamically adjust the outBuffer when a
Z_BUF_ERROR is received, doing a max number of retries.
This have been done in revision r141
I will mark the status as Finished. If problem arises I will reopen the issue
Original comment by dpra...@gmail.com
on 8 Aug 2011 at 4:00
Just reporting back that v1792 seems to have resolved the issue in my case,
allowing me to open the file that causes a buffer error in v1791 and recover my
data. So thank you for the fast response and resolution.
Original comment by isthis1t...@gmail.com
on 10 Aug 2011 at 9:39
Wow, that's so great! Thank you ^-^ It works!
Since then I have tried another outliners and managers, but I didn't end up
using any of them.
Original comment by dina.yak...@gmail.com
on 16 Aug 2011 at 7:17
Original issue reported on code.google.com by
dina.yak...@gmail.com
on 10 Apr 2011 at 10:51Attachments: