Re: [GNC] Can't open old GnuCash file
Incremental updates, yes, but you jumped 4 major versions and skipped those incremental updates. The recommended process (in the wiki FAQ) is to upgrade in steps to each of the final releases of each major release, running Actions > Check & Repair > Check & Repair All upon first opening the file after each upgrade. In your case, that is likely: 2.6.21 -> 3.11 -> 4.14 -> 5.3 remove 5.3, install 2.6.21 and proceed. If you can't get 2.6.21 to install on Ubuntu 23.10, the easiest path would be to install an older Ubuntu (likely 16.04) in a virtual machine and install 2.6.21 there to do the check & repair. Repeat as needed for each gnucash version, but you will likely be okay using 23.10 from 4.x onward. Regards, Adrien On 2/15/24 7:00 PM, MegaBrutal wrote: Hello, I've been using GnuCash between 2015 to 2017 to help to straighten out my personal finances. Due to changes in my life, my transaction count increased significantly which required more and more time to enter, while I got less free time to do the accounting. Meanwhile, my financial problems basically got resolved and my motivation to keep on updating my GnuCash file dropped significantly. Now I got a situation that I'm looking for certain transactions from around that time and I remembered that I should check my old GnuCash file, untouched since 2017-09-21. To my shock, the modern GnuCash version that comes with my distro (Ubuntu 23.10) crashes when I try to open my old file. Here is my GnuCash version and the backtrace I get: --- GnuCash 5.3 Build ID: 5.3+(2023-06-26) Backtrace: In ice-9/boot-9.scm: 1752:10 5 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 4 (apply-smob/0 #) In ice-9/boot-9.scm: 2836:4 3 (save-module-excursion #) In ice-9/eval-string.scm: 38:6 2 (read-and-eval # #:lang _) In ice-9/eval.scm: 619:8 1 (_ #(# # * 563d43f24190>)) In unknown file: 0 (GncOption-set-value # (absolute 1496181600 . 0)) ERROR: In procedure GncOption-set-value: Wrong type (expecting exact integer): (1496181600 . 0) Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. --- Maybe I was wrong that I expected some backward compatibility that modern versions are capable of performing incremental updates to old files to update it to the current file format... What to do now? Any suggestions? Best regards, MegaBrutal ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Can't open old GnuCash file
On Friday, February 16th, 2024 at 09:00, MegaBrutal wrote: > > Hello, > > I've been using GnuCash between 2015 to 2017 to help to straighten out > my personal finances. ... > > Now I got a situation that I'm looking for certain transactions from > around that time and I remembered that I should check my old GnuCash > file, untouched since 2017-09-21. To my shock, the modern GnuCash > version that comes with my distro (Ubuntu 23.10) crashes when I try to > open my old file. ... If I am reading the Git logs correctly, then Release 2.6.18 came out one day after you last saved your file, and there were three more 2.6 releases to come after that. It will definitely be worth your while to try opening the file with a version 3, saving that if you can open it, and opening the new file with a v4, then saving that and opening that one with a v5. There will have been some changes to the underlying file format, since the 2.6 series, but as to whether such changes are the exact cause of what you are seeing, you going to have to try out older versions to narrow things down. Of course, if you only want to look at certain transactions from before Sep 2017, then opening your file with a 2.6 series Gnucash would be the way to go. If you find that you can't even open your file with a v2, then a possibly corrupted file may be the root cause of what's happening. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Can't open old GnuCash file
I would these sorts of things before trying to reinstall older versions of the programs. You really want to make sure that the problem isn't one of these things, because if it is, an older version of the program won't help. Michael D Novack I might be wrong, but I would expect even an old old file would not crash the program! First of all, I hope you made a backup of the entire data directory and put it aside. Second, make sure you are opening the DATA file and not one of the .log or backup files (backups include a string of digits indicating the date and time the backup was saved). Do you remember if you saved it using the default xml data format, or could you have possibly saved it as a sqlite database? I imagine you might not remember. It is possible you haven't installed the libdbd-sqlite3 package GnuCash needs to read sqlite. That is an easy fix and worth trying (because it won't affect anything if it's not needed). Could you try opening a terminal and launching gnucash there and seeing if you get a more helpful error message? P.S.: You are extremely likely to be able to read the old file, but it may require a bit of help, so let us know by reporting back to the list. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. -- There is no possibility of social justice on a dead planet except the equality of the grave. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Can't open old GnuCash file
If I were you I'd look at installing the Flatpak version and then using a version of gnucash from whenever your file was last updated - details at https://wiki.gnucash.org/wiki/Flatpak Cheers David H. On Fri, 16 Feb 2024 at 11:01, MegaBrutal wrote: > Hello, > > I've been using GnuCash between 2015 to 2017 to help to straighten out > my personal finances. Due to changes in my life, my transaction count > increased significantly which required more and more time to enter, > while I got less free time to do the accounting. Meanwhile, my > financial problems basically got resolved and my motivation to keep on > updating my GnuCash file dropped significantly. > > Now I got a situation that I'm looking for certain transactions from > around that time and I remembered that I should check my old GnuCash > file, untouched since 2017-09-21. To my shock, the modern GnuCash > version that comes with my distro (Ubuntu 23.10) crashes when I try to > open my old file. Here is my GnuCash version and the backtrace I get: > > --- > > GnuCash 5.3 > Build ID: 5.3+(2023-06-26) > > Backtrace: > In ice-9/boot-9.scm: > 1752:10 5 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In unknown file: >4 (apply-smob/0 #) > In ice-9/boot-9.scm: >2836:4 3 (save-module-excursion # ice-9/eval-string.scm:66:9 ()>) > In ice-9/eval-string.scm: > 38:6 2 (read-and-eval # #:lang _) > In ice-9/eval.scm: > 619:8 1 (_ #(# > # * > 563d43f24190>)) > In unknown file: >0 (GncOption-set-value # (absolute > 1496181600 . 0)) > > ERROR: In procedure GncOption-set-value: > Wrong type (expecting exact integer): (1496181600 . 0) > > Some deprecated features have been used. Set the environment > variable GUILE_WARN_DEPRECATED to "detailed" and rerun the > program to get more information. Set it to "no" to suppress > this message. > > --- > > Maybe I was wrong that I expected some backward compatibility that > modern versions are capable of performing incremental updates to old > files to update it to the current file format... What to do now? Any > suggestions? > > > Best regards, > MegaBrutal > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Can't open old GnuCash file
On Thu, Feb 15, 2024 at 7:01 PM MegaBrutal wrote: > my old GnuCash > file, untouched since 2017-09-21. To my shock, the modern GnuCash > version that comes with my distro (Ubuntu 23.10) crashes when I try to > open my old file. ... > Maybe I was wrong that I expected some backward compatibility that > modern versions are capable of performing incremental updates to old > files to update it to the current file format... What to do now? Any > suggestions? > I might be wrong, but I would expect even an old old file would not crash the program! First of all, I hope you made a backup of the entire data directory and put it aside. Second, make sure you are opening the DATA file and not one of the .log or backup files (backups include a string of digits indicating the date and time the backup was saved). Do you remember if you saved it using the default xml data format, or could you have possibly saved it as a sqlite database? I imagine you might not remember. It is possible you haven't installed the libdbd-sqlite3 package GnuCash needs to read sqlite. That is an easy fix and worth trying (because it won't affect anything if it's not needed). Could you try opening a terminal and launching gnucash there and seeing if you get a more helpful error message? P.S.: You are extremely likely to be able to read the old file, but it may require a bit of help, so let us know by reporting back to the list. > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Can't open old GnuCash file
Can you install version 4.x on your box and try again. Maybe even a 3.x. On Thu, Feb 15, 2024, 17:01 MegaBrutal wrote: > Hello, > > I've been using GnuCash between 2015 to 2017 to help to straighten out > my personal finances. Due to changes in my life, my transaction count > increased significantly which required more and more time to enter, > while I got less free time to do the accounting. Meanwhile, my > financial problems basically got resolved and my motivation to keep on > updating my GnuCash file dropped significantly. > > Now I got a situation that I'm looking for certain transactions from > around that time and I remembered that I should check my old GnuCash > file, untouched since 2017-09-21. To my shock, the modern GnuCash > version that comes with my distro (Ubuntu 23.10) crashes when I try to > open my old file. Here is my GnuCash version and the backtrace I get: > > --- > > GnuCash 5.3 > Build ID: 5.3+(2023-06-26) > > Backtrace: > In ice-9/boot-9.scm: > 1752:10 5 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In unknown file: >4 (apply-smob/0 #) > In ice-9/boot-9.scm: >2836:4 3 (save-module-excursion # ice-9/eval-string.scm:66:9 ()>) > In ice-9/eval-string.scm: > 38:6 2 (read-and-eval # #:lang _) > In ice-9/eval.scm: > 619:8 1 (_ #(# > # * > 563d43f24190>)) > In unknown file: >0 (GncOption-set-value # (absolute > 1496181600 . 0)) > > ERROR: In procedure GncOption-set-value: > Wrong type (expecting exact integer): (1496181600 . 0) > > Some deprecated features have been used. Set the environment > variable GUILE_WARN_DEPRECATED to "detailed" and rerun the > program to get more information. Set it to "no" to suppress > this message. > > --- > > Maybe I was wrong that I expected some backward compatibility that > modern versions are capable of performing incremental updates to old > files to update it to the current file format... What to do now? Any > suggestions? > > > Best regards, > MegaBrutal > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.