Closed jrvarma closed 9 months ago
Thanks for the bug report.
Lines like N05
should not be missing after the grep command.
Could you provide (1) What you're typing to do the restore, (2) The full output of your backup command, with the qr-backup -v
flag added, (3) an image of a scan or pdf including the instructions (cropped instructions is fine too)?
After you pointed out that lines like N05 should not be missing, I investigated the issue further by running zbarimg -vv
on the image files. zbarimg
reported data irrecoverable on a few of the QR codes and this must be what caused the missing lines. Missing lines will obviously cause gunizip
to fail.
Since the problem seems to be with zbarimg
and there is no problem with qr-backup --restore
, I am closing the issue here.
I created a backup with qr-backup and took photos of the two pages (1.jpg and 2.jpg).
qr-backup --restore *.jpg
works perfectly.
But the
zbarimg
method with the same two image files gives the error:gzip: stdin: unexpected end of file
I am typing in the commands from the printed backup. Even the
pdf
file contains these commands as image and not as text, and so I am not able to do a cut-paste. Is there some documentation so that I can test the commands step by step.I could verify that after the
grep
command, some lines likeN05
are missing, but these are possibly the redundant QRs. I am not able to debug this further.