Gentoo Forums
Gentoo Forums
Quick Search: in
GNUCash does not start
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 392
Location: Finland

PostPosted: Fri Oct 19, 2007 10:02 am    Post subject: GNUCash does not start Reply with quote

At some stage, GNUCash has stopped working. Splash screen appears but then it bombs out.

No problems re-emerging, revdep-rebuild does not find anyting. Any ideas?

Code:

Backtrace:
In current input:
   1:  0* [gnc:report-menu-setup]
   ?:  1  (letrec (# # # ...) (gnc:add-extension income-expense-menu) ...)
In /usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
 121:  2* [gnc:add-report-template-menu-items]
In unknown file:
   ?:  3  (letrec (# # # ...) (gnc:report-templates-for-each add-template) ...)
In /usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
  94:  4  [for-each #<procedure #f (item)> (# # # # ...)]
In unknown file:
   ?:  5* [#<procedure #f (item)> ("Vendor Report" . #)]
In /usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm:
  96:  6* [add-template-menu-item "Vendor Report" #]
  54:  7  (if (gnc:report-template-in-menu? template) (let (# # # ...) (if # #) ...))
  55:  8  (let (# # # #) (if # #) (set! menu-path #) ...)
  70:  9* (if (not menu-tip) (set! menu-tip (sprintf #f # #)))
  71: 10  (set! menu-tip (sprintf #f (_ "Display the %s report") (_ name)))
  72: 11* [sprintf #f "Display the %s report" "Vendor Report"]
In unknown file:
   ?: 12  (let* (# # #) (apply stdio:iprintf # format ...) (cond # # #))
   ?: 13* [apply #<procedure stdio:iprintf #> #<procedure #f #> ...]
   ?: 14  [stdio:iprintf #<procedure #f (x)> "Display the %s report" "Vendor Report"]
    ...
   ?: 15  (letrec (# # #) (do () # #) (cond #) ...)
   ?: 16* (case fc ((#\l #\l #\h) (set! type-modifier fc) (must-advance)))

<unnamed port>: In procedure memoization in expression (case fc (# # #)):
<unnamed port>: Duplicate case label #\l in expression (case fc ((#\l #\l #\h) (set! type-modifier fc) (must-advance))).
Back to top
View user's profile Send private message
chango
n00b
n00b


Joined: 07 Jan 2005
Posts: 7
Location: Belgium

PostPosted: Fri Oct 19, 2007 12:51 pm    Post subject: Reply with quote

have the same problem, did also revdep-rebuild, but the problem persists. reemerged gnucash, guile and g-wrap but still the same. hope for a solution soon, need gnucash daily
_________________
chango on Gentoo
Back to top
View user's profile Send private message
Fred Krogh
Guru
Guru


Joined: 07 Feb 2005
Posts: 405
Location: Tujunga, CA

PostPosted: Sat Oct 20, 2007 2:50 pm    Post subject: Reply with quote

See Bug 196417. You need to emerge a guile with version < 1.8.3.
Back to top
View user's profile Send private message
chango
n00b
n00b


Joined: 07 Jan 2005
Posts: 7
Location: Belgium

PostPosted: Mon Oct 22, 2007 10:12 am    Post subject: Reply with quote

Thanks,

downgrading guile did the trick. Is this bug you mentioned a gnucash bug? I do not find this number in the gnucash bug database, but I am not so good in looking up bugs sorry
_________________
chango on Gentoo
Back to top
View user's profile Send private message
Fred Krogh
Guru
Guru


Joined: 07 Feb 2005
Posts: 405
Location: Tujunga, CA

PostPosted: Mon Oct 22, 2007 10:20 am    Post subject: Reply with quote

The link to the bug is: http://bugs.gentoo.org/show_bug.cgi?id=196417
This is in the Gentoo bug database.
Back to top
View user's profile Send private message
latch.r
n00b
n00b


Joined: 03 Apr 2006
Posts: 31
Location: Canberra, ACT, Australia

PostPosted: Sun Jan 13, 2008 10:58 pm    Post subject: Reply with quote

I had the same trouble after upgrading to gnucash-2.0.5, and downgrading to < guile-1.8.3 fixed it for me too.

Thanks
_________________
Computers are like submarines; when you open Windows they become ineffective.
Back to top
View user's profile Send private message
Fred Krogh
Guru
Guru


Joined: 07 Feb 2005
Posts: 405
Location: Tujunga, CA

PostPosted: Mon Jan 14, 2008 9:36 am    Post subject: Reply with quote

It works fine for me now with the latest guile and gnucash:
gnucash-2.2.3 and guile-1.8.3-r1.
Back to top
View user's profile Send private message
Fred Krogh
Guru
Guru


Joined: 07 Feb 2005
Posts: 405
Location: Tujunga, CA

PostPosted: Fri Jan 18, 2008 6:22 pm    Post subject: Reply with quote

Well it was working. After an upgrade to dev-scheme/slib-3.1.5, when trying to start gnucash I got
Quote:
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

ERROR: In procedure open-file:
ERROR: No such file or directory: "/usr/share/slib/mklibcat"

an
Quote:
emerge guile gnucash
fixed the problem, although I think I only needed to reemerge guile. Gnucash seems to rely on libraries that are very fussy about what gets used.
Back to top
View user's profile Send private message
jstead1
Guru
Guru


Joined: 31 Jul 2003
Posts: 426
Location: Oswego, NY where the snow is deep

PostPosted: Sat Jan 19, 2008 12:55 am    Post subject: Reply with quote

I would not keyword guile and slib, unless they were required to build the latest keyworded version of gnucash. Right now, they are not.
(I can certainly understand trying to use the keyworded version of gnucash, since there have been some significant changes.)
Some of the gnucash dependencies (especially guile and slib) seem to be really interdependent, and as one gets bumped, it doesn't play well with the others. It is usually rectified pretty quickly, but like many, I use gnucash pretty frequently, and I like to keep it working.

My favorite method to repair a quirky gnucash installation is to remove gnucash then remove its dependencies. At this point, I comment any gnucash dependencies in /etc/portage/package.keywords, and re-install gnucash. If portage complains, I uncomment dependencies to satisfy only what is required.

It only works well if you don't have other programs with dependencies on guile slib and the other two or three key gnucash dependencies, and if you keep your system in order so emerge --depclean works correctly.
_________________
jim
Back to top
View user's profile Send private message
Joseph_sys
Veteran
Veteran


Joined: 08 Jun 2004
Posts: 1066
Location: Edmonton, AB

PostPosted: Sun Feb 17, 2008 2:02 am    Post subject: Reply with quote

jstead1 wrote:
I would not keyword guile and slib, unless they were required to build the latest keyworded version of gnucash. Right now, they are not.
(I can certainly understand trying to use the keyworded version of gnucash, since there have been some significant changes.)
Some of the gnucash dependencies (especially guile and slib) seem to be really interdependent, and as one gets bumped, it doesn't play well with the others. It is usually rectified pretty quickly, but like many, I use gnucash pretty frequently, and I like to keep it working.

My favorite method to repair a quirky gnucash installation is to remove gnucash then remove its dependencies. At this point, I comment any gnucash dependencies in /etc/portage/package.keywords, and re-install gnucash. If portage complains, I uncomment dependencies to satisfy only what is required.

It only works well if you don't have other programs with dependencies on guile slib and the other two or three key gnucash dependencies, and if you keep your system in order so emerge --depclean works correctly.


It looks like your method is worth a try (right now I have a similar problem with Gnucash); Gentoo is becoming more like a Windows - remove and reinstall packag :-/ to solve a problem.

How did you find gnucash dependency? "equery d gnucash" is not showing anything.
_________________
#Joseph
Back to top
View user's profile Send private message
Fred Krogh
Guru
Guru


Joined: 07 Feb 2005
Posts: 405
Location: Tujunga, CA

PostPosted: Sun Feb 17, 2008 7:01 am    Post subject: Reply with quote

Try
Quote:
equery depgraph --depth=1 gnucash

As I have mentioned earlier my opteron system is working with all the latest unstable packages. I figure reporting problems in getting this to work is a very small way of giving something back.
Back to top
View user's profile Send private message
Joseph_sys
Veteran
Veteran


Joined: 08 Jun 2004
Posts: 1066
Location: Edmonton, AB

PostPosted: Sun Feb 17, 2008 12:33 pm    Post subject: Reply with quote

Fred Krogh wrote:
Try
Quote:
equery depgraph --depth=1 gnucash

As I have mentioned earlier my opteron system is working with all the latest unstable packages. I figure reporting problems in getting this to work is a very small way of giving something back.


I don't know if it works it keeps scrolling (listing) a tree of entire system; it is not was I was looking for.
_________________
#Joseph
Back to top
View user's profile Send private message
Fred Krogh
Guru
Guru


Joined: 07 Feb 2005
Posts: 405
Location: Tujunga, CA

PostPosted: Sun Feb 17, 2008 12:36 pm    Post subject: Reply with quote

Did you copy and paste what I wrote? Perhaps you missed the double "-"?
Back to top
View user's profile Send private message
Joseph_sys
Veteran
Veteran


Joined: 08 Jun 2004
Posts: 1066
Location: Edmonton, AB

PostPosted: Sun Feb 17, 2008 12:53 pm    Post subject: Reply with quote

Fred Krogh wrote:
Did you copy and paste what I wrote? Perhaps you missed the double "-"?


Yes, see below

Code:
equery depgraph --depth=1 gnucash
[ Searching for packages matching gnucash... ]
* dependency graph for app-office/gnucash-2.0.5
`-- app-office/gnucash-2.0.5
 `-- dev-libs/glib-2.14.6
  `-- sys-libs/glibc-2.6.1 (virtual/libc)
   `-- sys-devel/gettext-0.17 [ nls ]
    `-- virtual/libiconv-0 (virtual/libiconv)
    `-- dev-libs/libcroco-0.6.1
     `-- dev-libs/libxml2-2.6.30-r1
      `-- sys-libs/zlib-1.2.3-r1
      `-- dev-lang/python-2.4.4-r6 [ python ]
       `-- sys-libs/ncurses-5.6-r2 [ !build ncurses ]
        `-- sys-libs/gpm-1.20.1-r6 [ gpm ]
       `-- sys-libs/readline-5.2_p12-r1 [ !build ncurses readline ]
        `-- app-shells/bash-3.2_p17-r1
       `-- sys-libs/db-4.5.20_p2 [ !build berkdb ]
        `-- virtual/jre-1.6.0 (virtual/jre-1.4) [ java ]
         `-- virtual/jdk-1.6.0 (virtual/jdk-1.6.0*)
          `-- dev-java/sun-jdk-1.6.0.03
           `-- virtual/libstdc++-3.3 (virtual/libstdc++-3.3) [ x86 ]
            `-- sys-libs/libstdc++-v3-3.3.6
             `-- sys-devel/gcc-config-1.4.0-r4
             `-- sys-apps/texinfo-4.8-r5
              `-- virtual/libintl-0 (virtual/libintl) [ !build nls ]
             `-- sys-devel/binutils-2.18-r1
              `-- sys-devel/binutils-config-1.9-r4
               `-- sys-apps/findutils-4.3.11 [ userland_GNU ]
              `-- sys-devel/gnuconfig-20070724
             `-- sys-devel/bison-2.3
              `-- sys-devel/m4-1.4.10
             `-- sys-devel/gcc-4.1.2
              `-- dev-libs/gmp-4.2.2 [ fortran ]
              `-- dev-libs/mpfr-2.3.0_p4 [ fortran ]
              `-- x11-libs/libXt-1.0.5 [ !build gcj gtk ]
               `-- x11-libs/libX11-1.1.3
                `-- x11-libs/xtrans-1.0.3
                 `-- sys-apps/man-1.6f
                  `-- sys-apps/groff-1.19.2-r1
                   `-- sys-devel/automake-1.10
                    `-- dev-lang/perl-5.8.8-r4
                     `-- sys-devel/libperl-5.8.8-r1
                      `-- sys-libs/gdbm-1.8.3-r3 [ gdbm ]
                     `-- app-admin/perl-cleaner-1.05
                     `-- perl-core/PodParser-1.35 [ !build ]
                     `-- perl-core/Test-Harness-2.64 [ !build ]
                    `-- sys-devel/automake-wrapper-3-r1
                    `-- sys-devel/autoconf-2.61-r1
                     `-- sys-devel/autoconf-wrapper-4-r3
                    `-- sys-apps/help2man-1.36.4
                     `-- dev-perl/Locale-gettext-1.05 [ elibc_glibc nls ]
                      `-- virtual/perl-Test-Simple-0.70 (virtual/perl-Test-Simple-0.54)
                       `-- perl-core/Test-Simple-0.70
                   `-- sys-devel/automake-1.9.6-r2
                   `-- sys-devel/libtool-1.5.26
                 `-- dev-util/pkgconfig-0.22
                 `-- x11-misc/util-macros-1.1.5
                `-- x11-libs/libXau-1.0.3
                  ...
                  ...


It keeps scrolling and scrolling
_________________
#Joseph
Back to top
View user's profile Send private message
Fred Krogh
Guru
Guru


Joined: 07 Feb 2005
Posts: 405
Location: Tujunga, CA

PostPosted: Sun Feb 17, 2008 1:02 pm    Post subject: Reply with quote

I'm using gentoolkit-0.2.4_pre7 and it gives
Quote:
equery depgraph --depth=1 gnucash
[ Searching for packages matching gnucash... ]
* dependency graph for app-office/gnucash-2.0.5
`-- app-office/gnucash-2.0.5
`-- dev-libs/glib-2.14.6
`-- dev-scheme/guile-1.8.3-r2
`-- sys-libs/zlib-1.2.3-r1
`-- dev-libs/popt-1.13
`-- x11-libs/gtk+-2.12.8
`-- gnome-base/libgnomeui-2.20.1.1
`-- gnome-base/libgnomeprint-2.18.4
`-- gnome-base/libgnomeprintui-2.18.2
`-- gnome-base/libglade-2.6.2
`-- gnome-extra/gtkhtml-3.12.3
`-- dev-libs/libxml2-2.6.30-r1
`-- dev-libs/g-wrap-1.9.6-r3
`-- gnome-base/gconf-2.20.1-r1
`-- app-text/scrollkeeper-9999
`-- x11-libs/goffice-0.6.1
`-- gnome-extra/yelp-2.20.0
`-- app-text/docbook-xsl-stylesheets-1.73.2
`-- app-text/docbook-xml-dtd-4.1.2-r6
`-- dev-util/intltool-0.35.5 [ nls ]
`-- media-gfx/graphviz-2.16.1-r3 [ doc ]
`-- app-text/tetex-3.0_p1-r6 (virtual/tetex) [ doc ]
`-- dev-util/pkgconfig-0.22
`-- sys-apps/sed-4.1.5-r1
[ app-office/gnucash-2.0.5 stats: packages (24), max depth (1) ]
* dependency graph for app-office/gnucash-2.2.2-r1
`-- app-office/gnucash-2.2.2-r1
`-- dev-libs/glib-2.14.6
`-- dev-scheme/guile-1.8.3-r2
`-- dev-scheme/slib-3.1.5-r1
`-- sys-libs/zlib-1.2.3-r1
`-- dev-libs/popt-1.13
`-- x11-libs/gtk+-2.12.8
`-- gnome-base/libgnomeui-2.20.1.1
`-- gnome-base/libgnomeprint-2.18.4
`-- gnome-base/libgnomeprintui-2.18.2
`-- gnome-base/libglade-2.6.2
`-- gnome-extra/gtkhtml-3.16.3
`-- dev-libs/libxml2-2.6.30-r1
`-- gnome-base/gconf-2.20.1-r1
`-- app-text/scrollkeeper-9999
`-- x11-libs/goffice-0.6.1
`-- dev-util/intltool-0.35.5
`-- media-libs/libart_lgpl-2.3.20
`-- x11-libs/pango-1.18.4
`-- dev-util/pkgconfig-0.22
`-- sys-devel/libtool-1.5.26
`-- sys-devel/automake-1.10.1
`-- sys-devel/autoconf-2.61-r1
`-- sys-apps/sed-4.1.5-r1
`-- app-doc/gnucash-docs-2.2.0
[ app-office/gnucash-2.2.2-r1 stats: packages (25), max depth (1) ]
* dependency graph for app-office/gnucash-2.2.3
`-- app-office/gnucash-2.2.3
`-- dev-libs/glib-2.14.6
`-- dev-scheme/guile-1.8.3-r2
`-- dev-scheme/slib-3.1.5-r1
`-- sys-libs/zlib-1.2.3-r1
`-- dev-libs/popt-1.13
`-- x11-libs/gtk+-2.12.8
`-- gnome-base/libgnomeui-2.20.1.1
`-- gnome-base/libgnomeprint-2.18.4
`-- gnome-base/libgnomeprintui-2.18.2
`-- gnome-base/libglade-2.6.2
`-- gnome-extra/gtkhtml-3.16.3
`-- dev-libs/libxml2-2.6.30-r1
`-- gnome-base/gconf-2.20.1-r1
`-- app-text/scrollkeeper-9999
`-- x11-libs/goffice-0.6.1
`-- dev-util/intltool-0.35.5
`-- media-libs/libart_lgpl-2.3.20
`-- x11-libs/pango-1.18.4
`-- dev-util/pkgconfig-0.22
`-- sys-devel/libtool-1.5.26
`-- sys-devel/automake-1.10.1
`-- sys-devel/autoconf-2.61-r1
`-- sys-apps/sed-4.1.5-r1
`-- app-doc/gnucash-docs-2.2.0
[ app-office/gnucash-2.2.3 stats: packages (25), max depth (1) ]

Which is a bit much, but not all that much for the last item which is the only one of interest. I'm probably over due for a depclean. I have no idea why you are getting what you are, but it sure looks like a bug someplace.
Back to top
View user's profile Send private message
jdpinnj
n00b
n00b


Joined: 17 Feb 2008
Posts: 1

PostPosted: Sun Feb 17, 2008 11:59 pm    Post subject: Reply with quote

Guile was re-emerged with the most recent update. A segmentation fault with no additional information when executed via the command line.

From the command line, strace gnucash
showed a problem right after opening libgw-guile-standard.so.0.0.0

equery belongs libgw-guile-standard.0.0.0

shows the file belongs to dev-libs/g-wrap-1.9.6-r3.

I re-emerged g-wrap and that solved the problem.

emerge -1 =dev-libs/g-wrap-1.9.6-r3
Back to top
View user's profile Send private message
Fred Krogh
Guru
Guru


Joined: 07 Feb 2005
Posts: 405
Location: Tujunga, CA

PostPosted: Wed Feb 20, 2008 4:59 pm    Post subject: Reply with quote

I just upgraded to guile-1.8.4, and gnucash still works, although I had to re-emerge gnucash-2.2.3.
Back to top
View user's profile Send private message
hunky
Guru
Guru


Joined: 19 Nov 2003
Posts: 522
Location: Alaska

PostPosted: Thu Feb 21, 2008 5:56 pm    Post subject: Reply with quote

same here - had to recompile gnucash. Seems this happens everytime (at least the last couple times) that something like guile or gwrap gets upgraded. I would think that this wouldn't be the case. But thankfully we have the forum for these answers..
Back to top
View user's profile Send private message
bertaboy
Guru
Guru


Joined: 04 Nov 2004
Posts: 587

PostPosted: Thu Feb 21, 2008 8:31 pm    Post subject: Reply with quote

It's working for the most part here. I had it crash when I tried to import an ofx file, but other than that it's been fine. I've noticed a bug regarding reports for expenses and days of the week, but that's been around for a while, nothing new with this release.
_________________
someone else wrote:
someone wrote:
If there are two people that have got a problem with each other, then that person could just ignore the other person.

You can do that without any technological mumbo-jumbo....
- someone else
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum