You are not logged in.
I just updated my system and found that gnucash 2.0.5-2 is broke. Here is the error message:
[shantanu@bluehead ~]$ gnucash
Backtrace:
In current input:
1: 0* [gnc:report-menu-setup]
?: 1 (letrec (# # # ...) (gnc:add-extension income-expense-menu) ...)
In /opt/gnome/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
118: 2* [gnc:hook-run-danglers "hook_report" . {#f}]
In /opt/gnome/share/gnucash/scm/hooks.scm:
22: 3 [gnc:hook-run-danglers-real "hook_report" {#f}]
/opt/gnome/share/gnucash/scm/hooks.scm:22:3: In procedure gnc:hook-run-danglers-real in expression (gnc:hook-run-danglers-real hook args):
/opt/gnome/share/gnucash/scm/hooks.scm:22:3: Wrong type argument in position 2: #f
Also, going back to gnucash 5.0.5-1 (first removing gnucash 2.0.5-2 using "pacman -R gnucash" and then installing gnucash 5.0.5-1 by "pacman -A /var/cache/pacman/pkg/gnucash 5.0.5-1.pkg.tar.gz") is not working. It gives the following error:
[shantanu@bluehead ~]$ gnucash
gnucash-bin: error while loading shared libraries: libgwrap-guile-runtime.so.0: cannot open shared object file: No such file or directory
Will someone please fix it...
Last edited by ravisghosh (2007-04-14 06:43:45)
Offline
I am getting the same error.
Markku
Offline
Its not only gnucash, other things are also not working. I've found that mplayer is not working too. her is the error:
[shantanu@bluehead ~]$ gmplayer
gmplayer: error while loading shared libraries: libmpcdec.so.5: cannot open shared object file: No such file or directory
This issue seems to be related to some libaries.
Offline
first of all, check if you have the package libmpcdec installed.
if yes, check if there is a file called /usr/lib/libmpcdec.so.XXX, where XXX is something like 5.0.2 (on my system).
then create a symlink:
ln -s /usr/lib/libmpcdec.so.XXX /usr/lib/libmpcdec.so.5
and everything should work
Last edited by bluesurfer (2007-03-29 09:03:06)
Offline
first of all, check if you have the package libmpcdec installed.
if yes, check if there is a file called /usr/lib/libmpcdec.so.XXX, where XXX is something like 5.0.2 (on my system).
then create a symlink:ln -s /usr/lib/libmpcdec.so.XXX /usr/lib/libmpcdec.so.5
and everything should work
Don't symlink libs like that. It can create problems.
ravisghosh: Make sure you have libmpcdec 1.2.5-1 installed. You are probably still using an older version of libmpcdec.
Offline
Thanks a lot guys. Installing libmpcdec solved the problem with mplayer. but gnucash problem is intact. The error says, the argument "#f" is wrong in the file "/opt/gnome/share/gnucash/scm/hooks.scm." Here is the content of the file:
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 2 of
;; the License, or (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, contact:
;;
;; Free Software Foundation Voice: +1-617-542-5942
;; 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
;; Boston, MA 02110-1301, USA gnu@gnu.org
(define (gnc:hook-run-danglers hook . args)
(if (null? args)
(set! args #f)
(set! args (car args)))
(gnc:hook-run-danglers-real hook args))
I tried removing "#f" argument but it gave me the following error:
[shantanu@bluehead ~]$ gnucash
Backtrace:
In current input:
1: 0* [gnc:report-menu-setup]
?: 1 (letrec (# # # ...) (gnc:add-extension income-expense-menu) ...)
In /opt/gnome/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
118: 2* [gnc:hook-run-danglers "hook_report"]
In /opt/gnome/share/gnucash/scm/hooks.scm:
19: 3* (if (null? args) (set! args) (set! args (car args)))
20: 4 (set! args)
/opt/gnome/share/gnucash/scm/hooks.scm:20:7: In procedure memoization in expression (set! args):
/opt/gnome/share/gnucash/scm/hooks.scm:20:7: In file "/opt/gnome/share/gnucash/scm/hooks.scm", line 19: Missing or extra expression in (set! args).
Could anyone with working gnucash, please post the contents of this file.
@Snowman, i guess u r maintaining gnucash. Any guess on what can be wrong.
Offline
@Snowman, i guess u r maintaining gnucash. Any guess on what can be wrong.
No, sergej is maintaining it and is aware of that problem. It seems to be g-wrap related. See the comments in AUR.
Offline
Sergej uploaded another built of gnucash 2.0.5-3 but this also has problem. here is the error:
gnucash-bin: error while loading shared libraries: libgwrap-guile-runtime.so.0: cannot open shared object file: No such file or directory
Offline
Gnucash isue has been solved after g-wrap 1.9.7-1 was replaced g-wrap 19.9.6-5. Just doing "pacman -Syu" solved this things.
Offline
Another updated resulted in another broken stuff. Here is the error that resulted after today's updated"
[shantanu@bluehead ~]$ gnucash
gnucash-bin: error while loading shared libraries: libgtkhtml-3.8.so.15: cannot open shared object file: No such file or directory
Offline
gnucash needs a rebuild for gtkhtml. 3.14 got a little change in the printing API, so the API/ABI was bumped to 3.14.
Offline
I rely on gnucash quite a bit, so created a PKGBUILD for gtkhtml 3.8 until the package in the repo is fixed. Installing this made gnucash work, at least for me.
pkgname=gtkhtml3-8
pkgver=3.8.2
pkgrel=1
pkgdesc="Lightweight HTML renderer"
arch=('i686')
source="ftp://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.8/gtkhtml-$pkgver.tar.gz"
depends=('libgnomeui' 'libbonobo' 'libgnomeprint')
license="GPL"
md5sums=('5df29e0d03f89747aae9fd72a520a20c')
build() {
cd $startdir/src/gtkhtml-3.8.2
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg install
}
It is named gtkhtml3-8 so can be removed easily when no longer needed.
Offline
a temporary solution:
Uninstall gnucash-2.0.5-3 and gtkhtml-3.14.0-2.
Then install gtkhtml-3.12.3-1 (you may try any other older version)
Then install gnucash-2.0.5-3
Get gnucash working..
Offline
Still not working with updated packages.
Haven't tried the solution above yet......
Offline
I tried to compile svn of gnucash. It fails to configure with message
"Found libgtkhtml-3.14, but goffice lacks a cairo renderer". Recompile of goffice or gtkhtml does not help, so there is little hope for gnucash at a moment, except downgrade gtkhtml:-)
Offline
In case anyone else wants to downgrade libgtkhtml so gnucash runs, here's what I did...........
Since I hadn't did any pacman -Scc lately (meaning, my package cache still had gtkhtml-3.12.3-1.pkg.tar.gz .... for those that want to know, the saved packages would be in /var/cache/pacman/pkg on your system), I ran:
[root@vistakiller3 pkg]# pacman -U gtkhtml-3.12.3-1.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
upgrading gtkhtml... done.
[root@vistakiller3 pkg]#
Which in essence rolls back gtkhtml to the older package. gnucash now works.
Next, I edited /etc/pacman.conf and set gtkhtml to NOT upgrade using Ignore.
#
# GENERAL OPTIONS
#
[options]
# Don't upgrade the packages below-IGNORE upgrade requests.
IgnorePkg = gtkhtml
=============================================================
[root@vistakiller3 pkg]# pacman -Syu
:: Synchronizing package databases...
current [###################] 100% 72K 11.2K/s 00:00:06
extra [###################] 100% 281K 38.1K/s 00:00:07
:: community is up to date
:: gtkhtml-3.12.3-1: ignoring package upgrade (3.14.0-2)
:: Above packages will be skipped. To manually upgrade use 'pacman -S <pkg>'
[root@vistakiller3 pkg]#
gnucash now works. That's how I fixed my system anyway.
Offline
And that's how all other programs using gtkhtml break
In fact, gtkhtml 3.12 and gtkhtml 3.14 have possibilities for parallel installation. We could import a gtkhtml3.8 package in the repositories that installs into /opt/gnome just like the normal gtkhtml package does, without breaking anything.
Offline
I suppose that' could be, however, since I run KDE and just use one or two gnome based programs, I haven't run into any issues yet. It was a temporary fix for me, since I really would like to access the data and use gnucash. Once gnucash is updated to work, I'll just reverse things again and hopefully it's back to normal, or if you add a parallel version, then again, I'll undo my block on the current version of gtkhtml from updating. Regardless, I just simply needed gnucash to work, I hadn't thought of breaking other gnome apps, I'll have to keep that in mind from now on though. Thank you.
Offline
I know that this "workaround" is not recommended but it does get gnucash up and running.
ln -s /opt/gnome/lib/libgtkhtml-3.14.so.19 /opt/gnome/lib/libgtkhtml-3.8.so.15
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
Looks like the newest gnucash update fixed things
gnucash 2.0.5 built from rc15617 on 2007-4-10
I updated my gtkhtml to newest version also, and it all works now.
Offline
The last post here is 3.5 months old but I'm still getting these errors. Is anything likely to be done to fix any of this?
I'm compiling so much from source at the moment I may as well have a gentoo system!
Offline
I'm compiling so much from source at the moment I may as well have a gentoo system!
Alas, I've been getting the same feeling lately.
Hope it passes tho Gnucash and a lot more music progs should be imho in community. Games, eyecandy in aur is fine.
Offline
Actually gnucash used to be in community but was moved to unsupported recently.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline