![]() Registered Member ![]()
|
My Skrooge file now asks for a password that that was never set.
I created a Skrooge file in 1.6 on Windows originally. I then installed 1.7.1 from the ppa on Kubuntu 13.04 and made changes to the file without any issues. The next day I tried to open the file in 1.7.1 and it asked for password. The file size is not zero bytes. I followed the following steps in the console: 1-export SKGTRACE=255 2-skrooge --nofork > traces.txt and it would still ask for a password. The contents of the traces.txt file are: ##WARNING: PRAGMA journal_mode=MEMORY ## returns :database disk image is malformed Unable to execute statement The messages I get when I try to open the file are: "This file seems to be protected. Please enter the password." -I enter nothing and click "OK" "[ERR-5]: Failed to open 'media/sf_VMShare/HouseHoldFinances2013.skg'." -if I click "Continue" nothing happens. -if I click "History" the following message shows: "[ERR-5]: Failed to open 'media/sf_VMShare/HouseHoldFinances2013.skg'." "[ERR-3]: No database defined" I tried opening the .old file and it also asked for a password. I do not want to send the file because of the sensitive contents. Thank you for your help, James |
![]() Moderator ![]()
|
Skrooge requests a password if the document is not recognized as a valid Skrooge file. To be sure, could you move your document on a local disk and try an open? |
![]() Registered Member ![]()
|
I moved it to the desktop of the Kubuntu machine and it still asks for a password.
The error messages are the same except the path is different. James |
![]() Moderator ![]()
|
I don't understand why the path is not correct.
You have: media/sf_VMShare/HouseHoldFinances2013.skg You should have this: /media/sf_VMShare/HouseHoldFinances2013.skg Is it the same in local? Could you try this command line? skroogeconvert --in /media/sf_VMShare/HouseHoldFinances2013.skg --out /tmp/test.csv |
![]() Registered Member ![]()
|
I typed the path incorrectly, there is a slash in front of "media".
I ran the convert as you requested and this is the output: ################################################ ## Import parameters ##import_by_load=Y ##password= ################################################ ## Imported file:file:///media/sf_VMShare/HouseHoldFinances2013.skg ##WARNING: PRAGMA journal_mode=MEMORY ## returns :database disk image is malformed Unable to execute statement [ERR-12]: database disk image is malformed Unable to execute statement [ERR-10011]: PRAGMA journal_mode=MEMORY ################################################ ## FAILED ################################################ You said that Skrooge will ask for a password if it does not recognize the file type. Would it do that also if the file was corrupted? The setup that I have is a Windows 7 computer with a Kubuntu 13.04 virtual machine (using VirtualBox). The directory /media/sf_VMShare is how Kubuntu mounts a directory that is hosted on Windows but VirtualBox makes it accessible to Kubuntu. I am wondering if there may have been a glitch that corrupted the Skrooge file when I shutdown Kubuntu. |
![]() Moderator ![]()
|
Yes. Your file seems to be corrupted.
This could explain why the file is corrupted. But, I don't understand why your are not able to open the .old file which is a copy of the previous version. |
![]() Registered Member ![]()
|
The .old file has the same modified date and time as the .skg file. The .old file size is smaller though.
|
![]() Moderator ![]()
|
Just for information, I created a new version of Skrooge (1.7.
![]() For ubuntu, this version is available in my beta ppa: http://skrooge.org/ubuntu_installation |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]