Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17227 - gnucash: Announcement: GnuCash 1.8.2 Release - 2003-03-10
Summary: gnucash: Announcement: GnuCash 1.8.2 Release - 2003-03-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 15437 15797 17265 (view as bug list)
Depends on: 15189 17323 18957
Blocks:
  Show dependency tree
 
Reported: 2003-03-10 11:16 UTC by Joel Hill (RETIRED)
Modified: 2003-05-18 05:31 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gnucash-1.8.2.ebuild (gnucash-1.8.2.ebuild,1.26 KB, text/plain)
2003-03-13 00:25 UTC, Stephen Boulet
Details
Patch which adds support for ofx (gnucash-1.8.2.ebuild.patch,144 bytes, patch)
2003-03-13 23:36 UTC, Nick Palmer
Details | Diff
The digest for gnucash 1.8.2 (digest-gnucash-1.8.2,66 bytes, text/plain)
2003-03-13 23:40 UTC, Nick Palmer
Details
gnucash-1.8.2-ebuilds.tar.gz (gnucash-ebuilds.tar.gz,4.56 KB, application/octet-stream)
2003-04-26 20:55 UTC, Alastair Tse (RETIRED)
Details
Complete text of my try (with untouched ebuild from Alastair Tse) (gnucash-ebuild-attempt.txt,8.07 KB, text/plain)
2003-04-27 22:47 UTC, Carl Hudkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Hill (RETIRED) gentoo-dev 2003-03-10 11:16:51 UTC
Ebuild update would be nice :)

Thanks 
Regards Joel
Comment 1 Charles Goodwin 2003-03-11 17:12:59 UTC
Yes, GnuCash updates have been very slow... obviously all the developers don't need a finance package! :P
Comment 2 foser (RETIRED) gentoo-dev 2003-03-11 17:41:42 UTC
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.
Comment 3 Derk W te Bokkel 2003-03-12 10:43:24 UTC
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 
Comment 4 Derk W te Bokkel 2003-03-12 10:44:55 UTC
oops missed one 17265 is also on this topic 
 
derk 
Comment 5 Stephen Boulet 2003-03-13 00:24:10 UTC
I'll attach an 1.8.2 ebuild that works for me.

-- Stephen
Comment 6 Stephen Boulet 2003-03-13 00:25:30 UTC
Created attachment 9331 [details]
gnucash-1.8.2.ebuild
Comment 7 Sébastien Champigny 2003-03-13 17:46:17 UTC
Just a correction in the ebuild: replace filter-flag with filter-flags
Comment 8 Derk W te Bokkel 2003-03-13 18:28:58 UTC
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  
Comment 9 Sébastien Champigny 2003-03-13 19:52:13 UTC
Delete my last post.
Comment 10 Sébastien Champigny 2003-03-13 20:41:21 UTC
Gnucash cannot find the help files for me too. They maybe are optionnal ?
Comment 11 Nick Palmer 2003-03-13 23:36:09 UTC
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.
Comment 12 Nick Palmer 2003-03-13 23:40:20 UTC
Created attachment 9372 [details]
The digest for gnucash 1.8.2

Here is the digest for gnucash 1.8.2
Comment 13 foser (RETIRED) gentoo-dev 2003-03-14 10:29:02 UTC
*** Bug 17265 has been marked as a duplicate of this bug. ***
Comment 14 Aron Griffis (RETIRED) gentoo-dev 2003-03-15 18:56:24 UTC
Foser, you mind if I work on this?
Comment 15 foser (RETIRED) gentoo-dev 2003-03-16 09:58:53 UTC
no not at all :)

i actually did some work on it myself, but i hadnt even got it to run so far. 
Comment 16 Derk W te Bokkel 2003-03-17 11:11:32 UTC
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. 
Comment 17 Derk W te Bokkel 2003-03-17 11:12:49 UTC
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. 
Comment 18 Derk W te Bokkel 2003-03-17 11:15:32 UTC
oops collided with myself and entered my comments twice please remove comment 17 
as it is a duplicate. 
Comment 19 foser (RETIRED) gentoo-dev 2003-03-17 18:54:40 UTC
*** Bug 15797 has been marked as a duplicate of this bug. ***
Comment 20 foser (RETIRED) gentoo-dev 2003-04-01 06:38:14 UTC
*** Bug 15437 has been marked as a duplicate of this bug. ***
Comment 21 Chris Lyttle 2003-04-20 00:34:38 UTC
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!
Comment 22 foser (RETIRED) gentoo-dev 2003-04-25 08:42:03 UTC
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 ;) 
Comment 23 Alastair Tse (RETIRED) gentoo-dev 2003-04-26 18:14:24 UTC
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
Comment 24 Chris Lyttle 2003-04-26 18:40:58 UTC
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 :)
Comment 25 Alastair Tse (RETIRED) gentoo-dev 2003-04-26 20:55:15 UTC
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
Comment 26 Alastair Tse (RETIRED) gentoo-dev 2003-04-27 08:03:53 UTC
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 :/
Comment 27 Carl Hudkins 2003-04-27 22:47:35 UTC
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 28 Alastair Tse (RETIRED) gentoo-dev 2003-04-28 07:41:55 UTC
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.
Comment 29 Bill Gjestvang 2003-04-29 20:46:24 UTC
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
Comment 30 Chris Lyttle 2003-05-14 01:35:23 UTC
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
Comment 31 Chris Lyttle 2003-05-14 01:41:52 UTC
Oh, I've filed this as bug #112949 in gnome bugzilla against GnuCash
Comment 32 Alastair Tse (RETIRED) gentoo-dev 2003-05-14 05:14:47 UTC
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?
Comment 33 Chris Lyttle 2003-05-14 22:35:46 UTC
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
Comment 34 Alastair Tse (RETIRED) gentoo-dev 2003-05-17 14:32:04 UTC
we can finally close this one now. gnucash 1.8.3 is now in the unstable branch of portage.
Comment 35 Chris Lyttle 2003-05-17 14:58:39 UTC
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
Comment 36 Alastair Tse (RETIRED) gentoo-dev 2003-05-18 05:31:19 UTC
thanks chris. i've added the modification as suggested.