Crash with transaction report

Wm wm+gnc at tarrcity.demon.co.uk
Fri Jun 12 02:22:47 EDT 2015


Thu, 11 Jun 2015 18:05:29 <557A3059.4050205 at att.net>  Richard Dawson 
<rcdawson at att.net>

>I hope that I have finally managed to get the correct subject and
>include all the appropriate addresses!

Certainly better :)

>On 06/11/2015 07:30 AM, gnucash-user-request at gnucash.org wrote:
>> I believe you said you are running Linux Mint (version not specified). If I
>> recall, MOST of the versions of Mint are derivatives of Ubuntu LTS
>> versions, so that's why you're seeing the version of GnuCash that was
>> current in Debian when Ubuntu 14.04 LTS was frozen in early 2014.
>>
>> The simplest way to get a more recent version of GnuCash is to go to
>> http://getdeb.net and follow the instructions for adding its repository to
>> your system.
>>
>> At GetDeb, BE CERTAIN to choose the right "upstream" version of Ubuntu that
>> your version of Mint is based on, or you may cause some strange
>> compatibility issues when you try to install the packages. I am looking at
>> the release notes for Mint 17.1 KDE, which says "Linux Mint 17.1 is based
>> on Ubuntu 14.04." http://www.linuxmint.com/rel_rebecca_kde.php
>>
>> P.S.: if GetDeb works, and you appreciate the ease of installing the latest
>> GnuCash, consider a modest donation to GetDeb to pay for their server
>> expenses.

I second those notes (not made by me)

>-----------------------------------------------------------------------------
>
> 2015-06-12:  A number of developments.  Just to refresh the record,
>
>I am using GnuCash 2.6.1, built from rev 76cba80+ on 2014-02-19 I am using
>Linux Mint KDE I am using the default storage - I think that it is
>uncompressed XML, since I can open the
>file with a text editor and what I see is quite readable.

OK let's leave that but you need (one or other of) the DBD and DBI for 
the drop down to offer you alternative storage (and the other storage 
has to be there and working).

>As suggested, I tried getdeb.net.  The version was labled, as I recall, 
>2.6.6-1, leading me to believe that it would be the latest version 
>(2.6.6).  I purged the old version as directed, and installed from 
>getdeb.  I ended up with 2.6.1, and still had the same problem.

you really, really need to get rid of the old version, it took me two 
attempts on Lubuntu LTS 14 whatever

>Next, swallowing my pride, I installed 2.6.6 on a Windows 7 machine 
>using the installer found at gnuchash.org.  Using a copy of the gnucash 
>data file, I ran the report.  It ran without a problem!

Hey, more users, more attention to installer.  Makes sense

>On two linux machines, both Mint 17.1 KDE, I am unable to run the 
>report with more than a number of records, unfortunately a considerably 
>small number than the number of records in the file.   What happens is 
>that gnucash runs just long enough after starting the report for a 
>message to appear in the report form saying that there was an error, 
>then the program completely crashes, disappearing from the screen 
>entirely.  The following is what I found in /temp/gnucash.trace 
>immediately after the last crash:
>
>* 17:22:48  WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No 
>DBD drivers found
>* 17:22:54  WARN <gnc.python> Unable to initialize Python module 
>(unable to open /usr/share/gnucash/python/init.py)
>* 17:25:33  CRIT <GLib> Source ID 1451 was not found when attempting to 
>remove it
>* 17:25:39  WARN <gnc.report.core> Failure running report: ERROR: In 
>procedure apply-smob/1:
>ERROR: Wrong number of arguments to #<procedure display-error (_ _ _ _ _ _)>
>In unknown file:
>   ?: 19 [apply-smob/1 #<catch-closure 3184240>]
>   ?: 18 [call-with-input-string "(gnc:report-run 0)" ...]
>In ice-9/boot-9.scm:
>2320: 17 [save-module-excursion #<procedure 2ca90c0 at 
>ice-9/eval-string.scm:65:9 ()>]
>In ice-9/eval-string.scm:
>  44: 16 [read-and-eval #<input: string 2cf9b60> #:lang ...]
>  37: 15 [lp (gnc:report-run 0)]
>In report.scm:
> 766: 14 [gnc:report-run 0]
>In ice-9/boot-9.scm:
> 157: 13 [catch ignore #<procedure 2cafea0 at gnucash/main.scm:112:4 ()> ...]
>In unknown file:
>   ?: 12 [lazy-catch #t #<procedure 2cafe40 at gnucash/main.scm:114:18 ()> ...]
>In ice-9/boot-9.scm:
> 171: 11 [with-throw-handler #t #<catch-closure 31a6e80> 
>#<catch-closure 31a6e60>]
>In unknown file:
>   ?: 10 [apply-smob/1 #<catch-closure 31a6e80>]
>In report.scm:
> 770: 9 [#<procedure 2cafed0 at report.scm:767:5 ()>]
> 749: 8 [gnc:report-render-html # #t]
>In html-document.scm:
> 196: 7 [gnc:html-document-render # #t]
>In ice-9/boot-9.scm:
> 102: 6 [#<procedure 3141440 at ice-9/boot-9.scm:97:6 (thrown-k . 
>args)> vm-error ...]
>In unknown file:
>   ?: 5 [apply-smob/1 #<catch-closure 31a6e60> vm-error ...]
>In gnucash/main.scm:
>  98: 4 [dumper vm-error vm-run "VM: Stack overflow" ()]
>In unknown file:
>   ?: 3 [display-error #<stack 9c66cf0> #<output: file 2> ...]
>In ice-9/boot-9.scm:
> 106: 2 [#<procedure 3141440 at ice-9/boot-9.scm:97:6 (thrown-k . 
>args)> wrong-number-of-args ...]
> 102: 1 [#<procedure 31414c0 at ice-9/boot-9.scm:97:6 (thrown-k . 
>args)> wrong-number-of-args ...]
>In unknown file:
>   ?: 0 [apply-smob/1 #<catch-closure 3184220> wrong-number-of-args ...]
>
>So, it appears that the problem is not in the file, but rather either a 
>bug in the linux implementation -- or maybe the Ubutu/Mint 
>implementation.
>
>So, I have been able to do what I set out to accomplish, but only using 
>a Windows machine!  I would certainly prefer to be able use my Linux 
>box for all tasks.  Any suggestions?

See above re DBD / DBI

-- 
Wm...


More information about the gnucash-user mailing list