Tax report error

Dave Walton dw-gnucash at digger.net
Tue Dec 2 00:55:09 EST 2014


Hi Geert,

I've used getdeb to upgrade to 2.6.4, and that fixes my problem with the
tax report.  Thanks guys!

Unfortunately, now the bar charts (in the Net Worth Barchart and
Income/Expense Chart reports) are messed up.  The three bars for each
date are displayed side by side now, causing the bars to layer on top of
bars from different dates, instead of having the three bars from the
same date layered.  Any suggestions to fix?

Thanks,
Dave


On 12/01/2014 11:32 AM, Geert Janssens wrote:
> Hi Dave,
> 
>  
> 
> As Tommy Trussell suggests you should really update to a more recent
> version of GnuCash. I know (k)ubuntu doesn't supply it so you have to
> find another way to get it.
> 
>  
> 
> The crash report you provide shows a stack overflow error in the guile
> virtual machine. This crash was frequently reported on gnucash 2.6.1 and
> is the result of a combination of switching to guile 2.0 and how some
> large data sets were processed.
> 
>  
> 
> The fact that it doesn't crash if you choose not to print transaction
> details is a good clue you are very likely hitting the same bug.
> Printing transaction details makes gnucash loop over a large data set,
> which is doesn't do when this option is omitted.
> 
>  
> 
> If you find building gnucash yourself too daunting you can look into the
> getdep repository which maintains a more recent version of gnucash.
> 
>  
> 
> Regards,
> 
>  
> 
> Geert
> 
>  
> 
>  
> 
> On Monday 01 December 2014 10:43:40 Dave Walton wrote:
> 
>> Hi Tommy,
> 
>>
> 
>> Thanks for your quick reply.
> 
>>
> 
>> I've been trying to avoid building it to get the latest, but getdeb
> 
>> looks interesting.
> 
>>
> 
>> Your Guile suggestion doesn't seem relevant, as it appears to be
> 
>> related to upgrading, but this is a clean install.
> 
>>
> 
>> However, there are a couple updates to the problem to report.
> 
>>
> 
>> In the past, my attempts to open the tax report crashed GnuCash.
> 
>> However, when I reproduced it in order to get the output to post here,
> 
>> it didn't crash. It just sat there displaying the busy cursor.
> 
>> After I posted, I realized that it was in fact responding, in spite
> 
>> of the cursor. So I took the opportunity to see if the report
> 
>> options would have any effect.
> 
>>
> 
>> When I changed some settings and clicked Apply, GnuCash crashed. So
> 
>> there is definitely still a crash bug here. But when I restarted it
> 
>> and tried again, I still got just the spinning cursor, not a crash.
> 
>> That allowed me to keep trying, until after repeated crash/restarts,
> 
>> I learned that:
> 
>>
> 
>> Checking "Do not print transaction detail" in the tax report options
> 
>> seems to fix the problem.
> 
>>
> 
>> I have no idea what that checkbox actually does, or whether I would
> 
>> want it on or off in the report, but I can say this with certainty:
> 
>> Unchecked, the tax report fails and GnuCash often crashes. Checked,
> 
>> the tax report seems to work fine and no crash.
> 
>>
> 
>> Dave
> 
>>
> 
>> On 12/01/2014 10:09 AM, Tommy Trussell wrote:
> 
>> > On Mon, Dec 1, 2014 at 11:21 AM, Dave Walton <dw-gnucash at digger.net
> 
>> >
> 
>> > <mailto:dw-gnucash at digger.net>> wrote:
> 
>> > Hi all,
> 
>> >
> 
>> > I've been running GnuCash for years and recently upgraded my
> 
>> > computer to Kubuntu 14.04, replacing my old 2.2.6 install with
> 
>> > a fresh new 2.6.1 install. Since then, I have been unable to
> 
>> > run the tax report. When I select it from the Reports menu,
> 
>> > GnuCash displays:
> 
>> >
> 
>> > Report error
> 
>> > An error occurred while running the report.
> 
>> >
> 
>> > And leaves the mouse cursor as the busy cursor.
> 
>> > In the console, it dumps the output you see below, which I'm
> 
>> > afraid is meaningless to me.
> 
>> >
> 
>> > Can someone help me figure what is going on and fix it?
> 
>> >
> 
>> > Thanks,
> 
>> > Dave
> 
>> >
> 
>> > In unknown file:
> 
>> > ?: 19 [apply-smob/1 #<catch-closure 190cb20>]
> 
>> > ?: 18 [gnc-main-window-open-report 5 #<swig-pointer
> 
>> > GncMainWindow *
> 
>> >
> 
>> > 1272d30>]
> 
>> >
> 
>> > In ice-9/boot-9.scm:
> 
>> > 157: 17 [catch #t #<catch-closure 2e87560> #<catch-closure
> 
>> > 2e87540> #f]>
> 
>> > In unknown file:
> 
>> > ?: 16 [apply-smob/1 #<catch-closure 2e87560>]
> 
>> >
> 
>> > In ice-9/boot-9.scm:
> 
>> > 171: 15 [with-throw-handler #t #<catch-closure 2e87400>
> 
>> > #<catch-closure>
> 
>> > 2e873e0>]
> 
>> >
> 
>> > In unknown file:
> 
>> > ?: 14 [apply-smob/1 #<catch-closure 2e87400>]
> 
>> > ?: 13 [call-with-input-string "(gnc:report-run 5)" ...]
> 
>> >
> 
>> > In ice-9/boot-9.scm:
> 
>> > 2320: 12 [save-module-excursion #<procedure 2626540 at
> 
>> > ice-9/eval-string.scm:65:9 ()>]
> 
>> >
> 
>> > In ice-9/eval-string.scm:
> 
>> > 44: 11 [read-and-eval #<input: string 2f134e0> #:lang ...]
> 
>> > 37: 10 [lp (gnc:report-run 5)]
> 
>> >
> 
>> > In report.scm:
> 
>> > 766: 9 [gnc:report-run 5]
> 
>> >
> 
>> > In ice-9/boot-9.scm:
> 
>> > 157: 8 [catch ignore #<procedure 2626300 at
> 
>> > gnucash/main.scm:112:4
> 
>> >
> 
>> > ()> ...]
> 
>> >
> 
>> > In unknown file:
> 
>> > ?: 7 [lazy-catch #t #<procedure 2626120 at
> 
>> > gnucash/main.scm:114:18
> 
>> >
> 
>> > ()> ...]
> 
>> >
> 
>> > In ice-9/boot-9.scm:
> 
>> > 171: 6 [with-throw-handler #t #<catch-closure 2e9df20>
> 
>> > #<catch-closure>
> 
>> > 2e9df00>]
> 
>> >
> 
>> > In unknown file:
> 
>> > ?: 5 [apply-smob/1 #<catch-closure 2e9df20>]
> 
>> >
> 
>> > In report.scm:
> 
>> > 770: 4 [#<procedure 2626330 at report.scm:767:5 ()>]
> 
>> > 749: 3 [gnc:report-render-html # #t]
> 
>> >
> 
>> > In html-document.scm:
> 
>> > 196: 2 [gnc:html-document-render # #t]
> 
>> >
> 
>> > In ice-9/boot-9.scm:
> 
>> > 102: 1 [#<procedure 24931c0 at ice-9/boot-9.scm:97:6 (thrown-k
> 
>> > . args)>>
> 
>> > vm-error ...]
> 
>> >
> 
>> > In unknown file:
> 
>> > ?: 0 [apply-smob/1 #<catch-closure 2e9df00> vm-error ...]
> 
>> >
> 
>> > _______________________________________________
> 
>> >
> 
>> > I don't use the tax report so I cannot verify that problem, but
> 
>> > there
> 
>> > are enough kinks in 2.6.1 you might want to consider downloading
> 
>> > GnuCash 2.6.4 and building it yourself, or using the appropriate
> 
>> > binaries for your system from GetDeb.net.
> 
>> >
> 
>> > THAT SAID, I see some vaguely familiar looking errors. For folks who
> 
>> > cannot open GnuCash at all, there's a Guile bug that causes crashes,
> 
>> > and maybe in your system it only bit that one report. You MIGHT try
> 
>> > the workaround for it
> 
>> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764821
> 
>> >
> 
>> > Try closing GnuCash, delete the directory
> 
>> >
> 
>> > ~/.cache/guile/ccache/
> 
>> >
> 
>> > and reopen GnuCash. Guile will rebuild the items in the cache
> 
>> > directory. You only need to do this once after an upgrade.
> 
>> >
> 
>> > Please report back to the list (not just me) if that fixes the
> 
>> > problem with the report. It may not, but it's far easier than the
> 
>> > other options!>
> 
>> > -----
> 
>> > Please remember to CC this list on all your replies.
> 
>> > You can do this by using Reply-To-List or Reply-All.
> 
>>
> 
>> _______________________________________________
> 
>> gnucash-user mailing list
> 
>> gnucash-user at gnucash.org
> 
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> 
>> -----
> 
>> Please remember to CC this list on all your replies.
> 
>> You can do this by using Reply-To-List or Reply-All.
> 
>  
> 



More information about the gnucash-user mailing list