Ebuild update would be nice :) Thanks Regards Joel
Yes, GnuCash updates have been very slow... obviously all the developers don't need a finance package! :P
well, thats true.. if you don't have any significant money like me ;) Nah, main reason think is that the guy maintaining it went from slightly inactive to totally inactive. We'll try to fix you an ebuild soon.
I've been waiting for this too .. Note Bug 15437 has some ebuild code for 1.8.0, 15437 mentions 1.8.1, 15797 is essentially the same request yet again .. Any hope before the next freeze guys? I'd really like to have the ofx download component too as I'd like to see if I could switch from Quicken ...now running in Win4Lin .. to Gnucash 1.6.8 does not cut it for me at the moment. derk
oops missed one 17265 is also on this topic derk
I'll attach an 1.8.2 ebuild that works for me. -- Stephen
Created attachment 9331 [details] gnucash-1.8.2.ebuild
Just a correction in the ebuild: replace filter-flag with filter-flags
The ebuild included here does not support ofx so I renamed the 1.8.1 version from bug 15437 to 1.8.2-r1 .. after a few fixes of the extra required ebuilds from bug 15437 and bug 15797 making the digests, it all compiled. So far everything works except it can not find the help files .. anybody else run into this? derk
Delete my last post.
Gnucash cannot find the help files for me too. They maybe are optionnal ?
Created attachment 9371 [details, diff] Patch which adds support for ofx This patch adds support for ofx. Add ofx to your USE and it causes gnucash to be built with ofx support. (OFX works WAY better than QIF import!) Note that you will need the ebuild for libofx located in bug 17323.
Created attachment 9372 [details] The digest for gnucash 1.8.2 Here is the digest for gnucash 1.8.2
*** Bug 17265 has been marked as a duplicate of this bug. ***
Foser, you mind if I work on this?
no not at all :) i actually did some work on it myself, but i hadnt even got it to run so far.
some info which may be useful to someone .. I've built Gnucash 1.8.2 against Guile 1.6.3 and G-wrap 1.3.4 this seems to work fine .. the scheduled transaction tool does seem somewhat fragile .. i had some trouible with it. But it seems to be an interaction with the mortgage set-up tool .. I abandoned (canceled out of this tool and had to back-up to an earlier save in order to edit scheduled transactions again. My suspicion is that the saved data file was somewhat corrupted and thus crashed/locked the scheduled transaction editor. It would start to load show the beginnings of the window and then gnucash would lock-up completely. In order to recover I had top kill the guile process which runs gnucash. Changing to an earlier saved financial data version (prior to playing with the mortgage tool.) fixed this problem. Since the data files are xml somewhere inside this file close to the bottom are the saved scheduled transactions and templates. The file that was fine had none of these present. I've since added at least 9 scheduled transactions without any further problems. This does suggest however that a data file repair tool should perhaps be incorporated into gnucash in order to fix partially corrupted files, or a more tolerant parser needs to be added to handle data file errors more gracefully and not lock things up.
oops collided with myself and entered my comments twice please remove comment 17 as it is a duplicate.
*** Bug 15797 has been marked as a duplicate of this bug. ***
*** Bug 15437 has been marked as a duplicate of this bug. ***
Hi I'm the release manager fro GnuCash, I just switched to using gentoo and noticed a few things missing from the gentoo GnuCash build. 1) OFX support. This was one of the major features of the 1.8 release and needs libofx to be usable. I notice there is a patch here for ofx support and Bug 17323 gives the needed libofx library. Any news on when this might be able to be put in portage? 2) Guile 1.6. GnuCash supports the newer version of guile. Any news on when this might be able to be used for GnuCash? 3) gnucash-docs. GnuCash has a separate docs tarball so that releases of the docs dont need a gnucash release. It'd be nice to get this also added to gentoo so help would work for users. Is someone working on an ebuild of this? If not I'd be happy to put one together. The GnuCash team would love any reported bugs to be sent upstream to us for fixing. Please add them to the gnucash module in the gnome bugzilla. Thanks!
yeah gnucash has been a forgotten child of the gnome team for too long, if someone would step up and make us some quality ebuilds in the future i would appreciate it. I'll try to get around fixing aformentioned points asap in our current ebuilds. 1) should be not too hard i suppose 2) gnucash itsself used to be the guile blocker for a long while (see p.mask), but i suppose this is long fixed 3) doc use flag eh ;)
the gnucash upgrade is more complicated than just adding the three ebuilds. we are blocked on an openjade because libofx depends on opensp which in turn depends on openjade being upgraded to 1.3.2. now, from what i see, guile-1.6.4 shouldn't break the old gnucash-1.6.x, but i'll have to do some more testing to see. all the guile versions are slotted based on their library major version number (as recommended by the devs), so the existing 1.4 guile should not disappear. the only thing that gets replaced is /usr/bin/guile. and finally, gnet also needs to be upgraded. with that said, i've got the ebuilds ready and working. but need so more testing to make sure they don't break people's gnucash and openjade
Alastair, I'd be more than happy to help test your ebuilds. Just a comment here, Openjade 1.3.1 does work with libofx, just the author prefers the newer version of OpenSP included with 1.3.2. for various reasons (the 1.3.1 support was basically a hack on his part cause so many people complained about needing the upgrade). I'd advise to do separate ebuilds for Openjade and OpenSP if possible. This would make it a lot easier to support from libofx's point of view. Guile 1.6 support was one of the major things we added for GnuCash 1.8, if there are any problems with using it I really want to hear about this so we can get it fixed. BTW we are slating a new stable release of both the docs and main GnuCash modules for the first week of May. If you've found problems with Guile 1.6 I need to get bug reports for this quickly to get it fixed for the release. Lastly, I dont know what relationship gnet has to GnuCash (its not a GnuCash dep), however, one dep you might want to add in is the perl Finance::Quote module, this is used for updating online stock prices in GnuCash but is optional. Also you didn't mention if you were going to add the docs to the ebuild so people's help will work :)
Created attachment 11200 [details] gnucash-1.8.2-ebuilds.tar.gz this is tarball ebuilds for: ./app-office/gnucash ./app-text/openjade ./app-text/opensp ./dev-libs/libofx ./dev-libs/openhbci ./dev-util/guile ./net-libs/gnet
sorry, i don't know where i got the gnet dependency from, but it doesn't seem to be needed by anything related to gnucash. at least i can't find it now :/
Created attachment 11239 [details] Complete text of my try (with untouched ebuild from Alastair Tse) The view from a normal user: I downloaded the ebuild package from Alastair Tse, and successfully merged libofx, openSP, openjade, and the updated guile. I then went on to try gnucash itself. I live in the US, and do not need HBCI, but I would like to use OFX as my bank offers this format. So, make.conf contains USE="... ofx ..." but not "hbci"; I even went so far as to specify USE="-hbci" when building. However, I still get this: panopticon portage # ACCEPT_KEYWORDS="~x86" emerge -v /usr/local/portage/app-office/gnucash/gnucash-1.8.2.ebuild [...] checking for libofx/libofx.h... yes checking for libofx... yes checking for OpenHBCI... configure: error: Could not find bin/openhbci-config in prefix /usr /usr/local /usr/local/openhbci /usr. Please specify the right path by --with-openhbci-prefix=PREFIX. !!! ERROR: app-office/gnucash-1.8.2 failed. !!! Function econf, Line 273, Exitcode 1 !!! econf failed Now, I have unpacked the source using ebuild, and I can ./configure successfully this way. Examining the ebuild shows that "use_enable hbci" is used, which (per the ebuild docs) would seem to indicate that gnucash will not be configured for hbci if it's not in my USE -- yet observed behavior is otherwise. I edited the ebuild to remove "hbci" from IUSE and myconf, and it still failed. I edited again to specify "--disable-hbci" in myconf, and it *still* failed. I must admit I'm stumped.
Comment on attachment 11200 [details] gnucash-1.8.2-ebuilds.tar.gz gnucash-1.8.2-r1 is now in portage but p.masked because it depends on a whole host of new packages. right now the package does not have the gnucash-docs included yet. i'm currently testing one that does and it 'll be in portage once i'm satisfied that it works. the new ebuilds in portage work around the --disable-hbci and --disable-ofx bugs in the configure system. more of the packages in this attachment were modified, so please remove those ebuilds and use the ones in portage.
libofx-0.6.4 with gnucash-1.8.2-r1 fails on ofx import because it can't find the dtd files. If I manually copy the files /usr/share/doc/libofx-0.6.4/ofx160.dtd /usr/share/doc/libofx-0.6.4/ofx201.dtd to /usr/share/libofx/dtd/ it works great. What's the right way to get those dtd's in the right place? Also, gnucash-1.8.2-r1 seems to work fine with either guile-1.4.1 or guile-1.6.4
Alastair, Tried your ebuild with docs, things seem to be working fine in GnuCash itself with guile 1.6.4, however am getting a crash when trying to access the docs (this doesn't happen in my vmware RH test env I use to make GnuCash releases). I suspect a guile problem but am not really sure. PS GnuCash 1.8.3 and GnuCash-docs 1.8.1 have been released $ GNC_DEBUG=1 gnucash gnucash: [D] "starting up (1)." gnucash: [D] "handling command line arguments"("/usr/libexec/gnucash/overrides/gnucash") gnucash: [D] "files to open: "() gnucash: [D] "starting up (2)." gnucash: [D] "gnc:find-file looking for ""finance-quote-check"" in "("/usr/share/gnucash") gnucash: [D] " checking for ""/usr/share/gnucash/finance-quote-check" gnucash: [D] "found file ""/usr/share/gnucash/finance-quote-check" gnucash: [D] "gnc:find-file looking for ""finance-quote-helper"" in "("/usr/share/gnucash") gnucash: [D] " checking for ""/usr/share/gnucash/finance-quote-helper" gnucash: [D] "found file ""/usr/share/gnucash/finance-quote-helper" gnucash: [D] "loading system configuration" gnucash: [D] "gnc:find-file looking for ""config"" in "("/etc/gnucash") gnucash: [D] " checking for ""/etc/gnucash/config" gnucash: [D] "found file ""/etc/gnucash/config" gnucash: [D] "loading user configuration" gnucash: [D] "Running functions on hook "report-hook #<procedure business-report-function ()> gnucash: [D] "Running functions on hook "startup-hook #<procedure #f ()> gnucash: [D] "Running functions on hook "ui-startup-hook #<procedure gnc:extensions-menu-setup ()> gnucash: [D] "Running functions on hook "add-extension-hook #<procedure add-business-test ()> #<procedure add-ofx-menu-item ()> #<procedure add-business-items ()> #<procedure gnc:tip-of-the-day-startup-func ()> gnucash: [D] "Running functions on hook "book-closed-hook #<procedure gnc:main-window-book-close-handler (session)> ** CRITICAL **: file gnc-transaction-xml-v2.c: line 443 (set_tran_date): assertion `tm' failed. ** CRITICAL **: file gnc-transaction-xml-v2.c: line 443 (set_tran_date): assertion `tm' failed. ** CRITICAL **: file gnc-transaction-xml-v2.c: line 443 (set_tran_date): assertion `tm' failed. ** CRITICAL **: file gnc-transaction-xml-v2.c: line 443 (set_tran_date): assertion `tm' failed. ** CRITICAL **: file gnc-transaction-xml-v2.c: line 443 (set_tran_date): assertion `tm' failed. gnucash: [D] "Running functions on hook "book-opened-hook #<procedure import-commodities (session)> #<procedure gnc:main-window-book-open-handler (session)> #<procedure #f (session)> gnucash: [D] "Running functions on hook "ui-post-startup-hook #<procedure business-ui-started ()> gnucash: [D] "Running functions on hook "book-closed-hook #<procedure gnc:main-window-book-close-handler (session)> gnucash: [D] "Running functions on hook "book-opened-hook #<procedure import-commodities (session)> #<procedure gnc:main-window-book-open-handler (session)> #<procedure #f (session)> Backtrace: In unknown file: ?: 0* [gnc:find-doc-file "help-search-index.db"] ?: 1* [gnc:find-localized-file "help-search-index.db" #] ?: 2 (letrec ((locale-prefixes #)) (letrec (#) (loop # base-directories))) ... ?: 3 [loop ... In /usr/share/gnucash/guile-modules/gnucash/main.scm: 329: 4* [locale-prefixes] 319: 5 (let* ((locale #) (strings #)) (reverse (cons "C" strings))) 321: 6* (cond ((not (string? locale)) ()) ((equal? locale "C") ()) ...) /usr/share/gnucash/guile-modules/gnucash/main.scm:321:21: In expression (cond (# ()) (# ()) ...): /usr/share/gnucash/guile-modules/gnucash/main.scm:321:21: missing or extra expression
Oh, I've filed this as bug #112949 in gnome bugzilla against GnuCash
i've bumped the gnucash version to 1.8.3 with gnucash docs 1.8.1. all seems to work fine, including the docs. when i run it: gnucash: [D] "Running functions on hook "book-opened-hook #<procedure import-commodities (session)> #<procedure gnc:main-window-book-open-handler (session)> #<procedure #f (session)> gnucash: [D] "Running functions on hook "ui-post-startup-hook #<procedure business-ui-started ()> gnucash: [D] "gnc:find-file looking for ""help-search-index.db"" in "("/home/liquidx/.gnucash/html/en_GB.UTF-8" "/home/liquidx/.gnucash/html/en_GB" "/home/liquidx/.gnucash/html/en" "/home/liquidx/.gnucash/html/C") gnucash: [D] " checking for ""/home/liquidx/.gnucash/html/en_GB.UTF-8/help-search-index.db" gnucash: [D] " checking for ""/home/liquidx/.gnucash/html/en_GB/help-search-index.db" gnucash: [D] " checking for ""/home/liquidx/.gnucash/html/en/help-search-index.db" gnucash: [D] " checking for ""/home/liquidx/.gnucash/html/C/help-search-index.db" gnucash: [D] "gnc:find-file looking for ""help-search-index.db"" in "("/home/liquidx/.gnucash/html") gnucash: [D] " checking for ""/home/liquidx/.gnucash/html/help-search-index.db"gnucash: [D] "gnc:find-file looking for ""help-search-index.db"" in "("/usr/share/gnome/help/gnucash/en_GB.UTF-8" "/usr/share/gnome/help/gnucash/en_GB" "/usr/share/gnome/help/gnucash/en" "/usr/share/gnome/help/gnucash/C") gnucash: [D] " checking for ""/usr/share/gnome/help/gnucash/en_GB.UTF-8/help-search-index.db" gnucash: [D] " checking for ""/usr/share/gnome/help/gnucash/en_GB/help-search-index.db" gnucash: [D] " checking for ""/usr/share/gnome/help/gnucash/en/help-search-index.db" gnucash: [D] " checking for ""/usr/share/gnome/help/gnucash/C/help-search-index.db" gnucash: [D] "found file ""/usr/share/gnome/help/gnucash/C/help-search-index.db" i remember the docs working for 1.8.2 as well. i'm a bit puzzled, and addmittingly not a guile user. what version of guile are you using?
I am using guile 1.6.4. This does seem to work fine now in gnucash 1.8.3. Nice work Alistair. I'll continue using/testing it and report any problems I have but everything seems to be working fine as far as I can tell. Hopefully it'll be able to be moved into the stable gentoo branch soon
we can finally close this one now. gnucash 1.8.3 is now in the unstable branch of portage.
Just a note Alistair, there is a bug in the qif import of 1.8.3 which causes it to import all transactions as $0.00. We'll be releasing 1.8.4 next weekend to fix this. For now the fix is to edit /usr/share/gnucash/scm/qif-import/qif-file.scm and change the regex at the top of the file from \.\.\. to \\.\\.\\. Chris
thanks chris. i've added the modification as suggested.