Gnucash Won't Start

I’ve been using Gnucash for our financial needs since 2003.

I just installed opensuse 12.1, and now Gnucash won’t start (default version from package repo). The console output is:

gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

WARNING: no socket to connect to
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/gnucash/guile-modules/gnucash/main.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/core-utils.scm
;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/core-utils.scm failed:
;;; ERROR: no code for module (sw_core_utils)
;;; compiling /usr/share/gnucash/guile-modules/gnucash/gnc-module.scm
;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/gnc-module.scm failed:
;;; ERROR: no code for module (sw_gnc_module)
;;; WARNING: compilation of /usr/share/gnucash/guile-modules/gnucash/main.scm failed:
;;; ERROR: In procedure debug-options-interface: Unknown option name: maxdepth
Backtrace:
In ice-9/boot-9.scm:
 170: 12 [catch #t #<catch-closure a52c60> ...]
In unknown file:
   ?: 11 [catch-closure]
In ice-9/boot-9.scm:
2497: 10 #<procedure 9e57a0 at ice-9/boot-9.scm:2485:4 (name #:optional autoload version #:key ensure)> # ...]
2763: 9 [try-module-autoload (gnucash main) #f]
2103: 8 [save-module-excursion #<procedure bcf7b0 at ice-9/boot-9.scm:2764:17 ()>]
2774: 7 #<procedure bcf7b0 at ice-9/boot-9.scm:2764:17 ()>]
In unknown file:
   ?: 6 [primitive-load-path "gnucash/main" #f]
In ice-9/eval.scm:
 458: 5 #<procedure 9280c0 at ice-9/eval.scm:452:4 (exp)> #]
In ice-9/psyntax.scm:
1024: 4 [chi-top-sequence ((debug-set! maxdepth 100000)) () ...]
 922: 3 [scan ((debug-set! maxdepth 100000)) () ...]
1015: 2 [scan ((#(syntax-object debug-options # ...) (# # #))) () ...]
In ice-9/boot-9.scm:
2854: 1 [debug-options (show-file-name #t stack ...)]
In unknown file:
   ?: 0 [debug-options-interface (show-file-name #t stack ...)]

ERROR: In procedure debug-options-interface:
ERROR: In procedure debug-options-interface: Unknown option name: maxdepth

On Tue, 22 Nov 2011 19:26:03 +0000, puregore wrote:

> I’ve been using Gnucash for our financial needs since 2003.
>
> I just installed opensuse 12.1, and now Gnucash won’t start (default
> version from package repo). The console output is:

There’s been a few threads on this topic already - there is a known issue
that is being investigated.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

in gnucash 2.4.8 changelog:
Bug #655901 - Fix build with guile 2.0

(version of gnucash in opensuse 12.1 is 2.4.7)

Upgrading to gnucash 2.4.8 provided by the j-engel repo fixed my problem.

For me, upgrading to 2.4.8 GNUCash, didn’t fix my problem, GnuCash 2.8 in Opensuse 12.1 issues with guile 2.0 What worked for me was in the following:

New test packages are available at
Index of /repositories/home:/dimstar:/branches:/GNOME:/Apps/openSUSE_Factory

I downloaded/updated the following:
gnucash-2.4.8-27.6.x86_64.rpm
guile-2.0.3-36.1.x86_64.rpm
libguile-2_0-22-2.0.3-36.1.x86_64.rpm

Hi puregore as you said

in gnucash 2.4.8 changelog:
Bug #655901 - Fix build with guile 2.0

(version of gnucash in opensuse 12.1 is 2.4.7)

Upgrading to gnucash 2.4.8 provided by the j-engel repo fixed my problem.

I’m able to run GNCash as I stated, but as said here Discussion about RPM packaging for openSUSE () it seems like some things are not working, I was seeing if this was the same case for you. Are you able to run reports without errors?

no, reports do not work. I get a very generic error (An error occurred while running the report). I hadn’t noticed this until now since I never make use of reports.

This fixed my exporting report problem as well (comment 16)
https://bugzilla.novell.com/show_bug.cgi?id=724917

I emailed dimstar not quite a week ago with a fix for the reports.
I will reproduce that email content here:

I found that by commenting out (with ;:wink: line 292 of
/usr/share/gnucash/scm/html-document.scm that I was able to get a few
reports working. I did not encounter any reports that did not work,
but I didn’t perform an exhaustive check, either.

Here is the line (commented out).

           ;; (if attr (hash-fold add-attribute #f attr))

Not sure when a patch will come out, but this works for now.

Found this post along with others. Started using gnucash shortly after installing openSUSE 10, coming from win98/Quickbooks. Gnucash on openSUSE in my experiences is slow in keeping up with the developers. Fortunately I have just enough knowledge/skill to do the following. . .

Added download.opensuse.org/distribution/11.4/repo/oss/suse to my software repositories. opened software management and selected 2.4.0-5.3-x86_86 from repo 11.4 conflict resolution was to downgrade guile. Selected downgrade guile and installed.

Gnucash 2.4.0-5.3-x86_86 seems to be running fine on openSUSE 12.1. . .now.

This version is also working for me. My previous installation (one of several) used the i586 architecture, so zypper had its work cut out trying to install this version. Ultimately it succeeded so all is well

I run GnuCash-2.4.8-27.6.x86_64 successfully on openSUSE 12.1
I saved this rpm-package from 2011-11-15 locally and reinstall it when I unintentionally upgrade GnuCash with other upgrades.
I think, I found this package/build in the factory-repository in late November 2011.
This build seems to me as the latest/youngest version which works fine, any other updates resulted in the often described behavior:
Quick glance on the splash screen and nothing follows, the terminal output is similar to the one posted above.

GREAT NEWS: the OpenSUSE 12.1 update stream now contains new versions of GnuCash and its companion components which corrects the long-running GnuCash start-up problem, as well as running reports once again. The update showed up on 22-Feb-2012.

So, if you installed the custom version of GnuCash from the OpenSUSE developer’s private repository (which was mentioned in the release notes) or compiled your own version from source, you can go ahead and delete your custom fixed versions and go back to the regular OpenSUSE distribution version! Use Yast to install the distribution version of GnuCash, GnuCash-lang, and GnuCash-docs. Then run Online Update and take in the recommended update to GnuCash, and you are back in business.

As usual, the OpenSUSE team delivered – year after year these developers do an incredible job and the community gives thanks.

On 25/02/12 01:56, gnumattx wrote:
>
> GREAT NEWS: the OpenSUSE 12.1 update stream now contains new versions of
> GnuCash and its companion components which corrects the long-running
> GnuCash start-up problem, as well as running reports once again. The
> update showed up on 22-Feb-2012.
>
> So, if you installed the custom version of GnuCash from the OpenSUSE
> developer’s private repository (which was mentioned in the release
> notes) or compiled your own version from source, you can go ahead and
> delete your custom fixed versions and go back to the regular OpenSUSE
> distribution version! Use Yast to install the distribution version of
> GnuCash, GnuCash-lang, and GnuCash-docs. Then run Online Update and take
> in the recommended update to GnuCash, and you are back in business.
>
> As usual, the OpenSUSE team delivered – year after year these
> developers do an incredible job and the community gives thanks.
>

In the 8 months since 2.4.7 was released, we’ve had three more updates
from Gnucash, the latest being 2.4.10 on Feb 6th. I hope we’ll soon see
a working version of that. I’m not overly optimistic that it will happen
as 11.4 has had no updates during its lifetime.


Graham Davis, Bracknell, Berks.
openSUSE 12.1 (64-bit); KDE 4.7.4; AMD Phenom II X2 550 Processor;
Video: nVidia GeForce 210 (using nouveau driver);
Sound: ATI SBx00 Azalia (Intel HDA); Wireless: BCM4306

On 2012-03-02 19:02, Graham P Davis wrote:
> I’m not overly optimistic that it will happen as 11.4 has had no updates
> during its lifetime.

11.4 has had a lot of updates.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 02/03/12 21:28, Carlos E. R. wrote:
> On 2012-03-02 19:02, Graham P Davis wrote:
>> I’m not overly optimistic that it will happen as 11.4 has had no updates
>> during its lifetime.
>
> 11.4 has had a lot of updates.
>

OK, that’s true but didn’t the Gnucash updates only appear in the
Gnome/apps repo and never got as far as the updates repo? That repo is
pre-factory and we’re advised not to use anything from it for
operational work.


Graham Davis, Bracknell, Berks.
openSUSE 12.1 (64-bit); KDE 4.7.4; AMD Phenom II X2 550 Processor;
Video: nVidia GeForce 210 (using nouveau driver);
Sound: ATI SBx00 Azalia (Intel HDA); Wireless: BCM4306

On 2012-03-03 09:05, Graham P Davis wrote:

>> 11.4 has had a lot of updates.
>>
>
> OK, that’s true but didn’t the Gnucash updates only appear in the
> Gnome/apps repo and never got as far as the updates repo? That repo is
> pre-factory and we’re advised not to use anything from it for operational
> work.

I don’t normally use any buildservice repo for gnome, but I think that the
apps repo is about ok, if you only update the applications you need and it
solves your problem.

This link doesn’t mention factory quality:

http://en.opensuse.org/GNOME_repositories#GNOME:Apps


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On Sun, 04 Mar 2012 13:48:05 +0000, Carlos E. R. wrote:

> On 2012-03-03 09:05, Graham P Davis wrote:
>
>>> 11.4 has had a lot of updates.
>>>
>>>
>> OK, that’s true but didn’t the Gnucash updates only appear in the
>> Gnome/apps repo and never got as far as the updates repo? That repo is
>> pre-factory and we’re advised not to use anything from it for
>> operational work.
>
> I don’t normally use any buildservice repo for gnome, but I think that
> the apps repo is about ok, if you only update the applications you need
> and it solves your problem.
>
> This link doesn’t mention factory quality:
>
> http://[/color]
en.opensuse.org/GNOME_repositories#GNOME:Apps

This was from the above site. So what does it mean if not what I said?
“GNOME:Apps is a repository for popular GNOME applications that do not
follow the GNOME release cycle, like GIMP, Inkscape, and Pidgin. This is
a place to develop packages destined for Factory.”

Also, from the bug report at
<https://bugzilla.novell.com/show_bug.cgi?id=724917#c49>,
Vincent Untz says, “If you don’t want to have package updates that might
break from time to time, GNOME:Apps should be avoided anyway.”

I keep hearing that the repos are going to be sorted to make some kind of
sense to the user but little seems to have happened so far.


Graham Davis, Bracknell, Berks.
openSUSE 12.1 (64-bit); KDE 4.7.4; AMD Phenom II X2 550 Processor;
Video: nVidia GeForce 210 (using nouveau driver);
Sound: ATI SBx00 Azalia (Intel HDA); Wireless: BCM4306

On 2012-03-04 15:32, Cloddy wrote:

> This was from the above site. So what does it mean if not what I said?
> “GNOME:Apps is a repository for popular GNOME applications that do not
> follow the GNOME release cycle, like GIMP, Inkscape, and Pidgin. This is
> a place to develop packages destined for Factory.”
>
> Also, from the bug report at
> <https://bugzilla.novell.com/show_bug.cgi?id=724917#c49>,
> Vincent Untz says, “If you don’t want to have package updates that might
> break from time to time, GNOME:Apps should be avoided anyway.”

I don’t know why. Not clearly.

Anyway, if gnucash is currently not working for you, what does it matter if
gnucash on apps is “factory”? It would only break gnucash further, but it
is already broken - so what do you loose by trying?

Alternatively, download the gnucash sources and attempt to compile them
yourself.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)