You are not logged in.

#1 2007-03-28 07:13:58

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#2 2007-03-28 22:48:33

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

I am getting the same error.


Markku

Offline

#3 2007-03-29 02:56:45

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#4 2007-03-29 09:02:08

bluesurfer
Member
From: Regensburg, Germany
Registered: 2004-08-29
Posts: 22

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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 wink

Last edited by bluesurfer (2007-03-29 09:03:06)

Offline

#5 2007-03-29 18:35:27

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

bluesurfer wrote:

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 wink

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

#6 2007-03-30 02:18:19

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#7 2007-03-30 02:57:03

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

ravisghosh wrote:

@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

#8 2007-03-30 23:36:55

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#9 2007-03-31 04:21:21

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#10 2007-04-01 13:00:36

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#11 2007-04-01 14:48:06

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#12 2007-04-03 20:20:42

sjg
Member
From: UK
Registered: 2007-02-10
Posts: 63

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#13 2007-04-04 05:52:31

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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.. smile

Offline

#14 2007-04-08 08:24:24

crouse
Arch Linux f@h Team Member
From: Iowa - USA
Registered: 2006-08-19
Posts: 907
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

Still not working with updated packages.
Haven't tried the solution above yet......

Offline

#15 2007-04-09 04:44:00

vlado
Member
From: Tampere - Finland
Registered: 2005-03-20
Posts: 14

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#16 2007-04-09 06:29:00

crouse
Arch Linux f@h Team Member
From: Iowa - USA
Registered: 2006-08-19
Posts: 907
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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. wink

Offline

#17 2007-04-09 10:53:26

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

And that's how all other programs using gtkhtml break wink

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

#18 2007-04-09 16:29:25

crouse
Arch Linux f@h Team Member
From: Iowa - USA
Registered: 2006-08-19
Posts: 907
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#19 2007-04-09 16:39:13

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#20 2007-04-12 04:33:26

crouse
Arch Linux f@h Team Member
From: Iowa - USA
Registered: 2006-08-19
Posts: 907
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

cool cool Looks like the newest gnucash update fixed things smile
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

#21 2007-07-31 21:19:14

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

#22 2007-07-31 21:51:24

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

dninja wrote:

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 smile Gnucash and a lot more music progs should be imho in community. Games, eyecandy in aur is fine.

Offline

#23 2007-08-01 08:27:49

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Gnucash 2.0.5-2, Mplayer broken after system update-Solved

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

Board footer

Powered by FluxBB