Registered Member
|
Hi all,
yesterday I upgrade skrooge to 1.12 stable, opened my working file (that has been converted with success), inserted a few operations in it and closed everything. Today, just after launching the program I got an error: "Oups your file seems corrupted", and I tried the recovery. The final result was the archive was empty (no operations), only accounts and categories where in place. Closing and re-opening the program I got the same "Oups.." and in console the following:
Luckily, having done the upgrade yesterday, I had a backup copy, so I reopened it, it was converted again, I inserted again the operations and closed. Now, each time I open the archive, while it works, the warning about the archive being restored from the backup copy is shown. Please note I've tried both having the archive on usb stick or hard disk. Any suggestion? |
Registered Member
|
It happened again.
This is what is going on, before opening the situation is:
Now I try to open skrooge (I enabled debug output with kdebugdialog):
and I got [ERR-14]: Oups, this file seems to be corrupted. If I try to recover the file I got [ERR-5]: Impossible to recover this file and in the console:
SQLite3 is at version 3.8.11.1. Now I'm scared that every time I work on the file I will got it damaged. If I try to reopen the file again I got [ERR-5]: Failed to open '/media/veracrypt1/CONTABILITA/luca.skg'. and in the console:
If I sqlite into the skrooge file I got:
|
Moderator
|
Hi,
When Skrooge tries to open /media/veracrypt1/CONTABILITA/luca.skg, first, Skrooge tries to create the sqlite file in /media/veracrypt1/CONTABILITA/.luca.skg.wrk and tries to open it. I don't know why you have this error. Is it due to veracrypt? I don't know. To be sure, could you copy your file in your $HOME and try to open it? |
Registered Member
|
I did it and the same happened. Now I'm using it since days without having the issue again, and I'm making regular bcakups. I thought a disk space shortage, but I had enough space to duplicate my .skg file at all (i.e., is the .rk file a lot bigger?) As a side note, is there a way to configure skroog to place the working file in another filesystem (e.g., a memory file system)? |
Moderator
|
There is no option. Skrooge creates the working copy in the same directory except if the is not write access in this directory. In this case, /tmp is used. |
Registered Member
|
It just happeneed again:
This time I was on an unencrypted device but with 18 MB of free space left, my .skg file is 7 MB. Making more free space and taking it back from a backup copy did work. How much free space do I need to be "safe"? |
Moderator
|
Hi,
In fact, when you want to do a recovery, you have in the folder: 1- The main file: yourfile.skg 2- The working copy: .yourfile.skg.wrk 3- A temporary sqlite file to try the recovery: yourfile_recovered.sqlite 4- The target recovery file: yourfile_recovered.skg So, we can say that you need 4x the size of your file. In your case: 7x4=28 MB |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]