Hi Carsten! On Sun, Apr 13, 2014 at 10:34:20AM +0200, Carsten Rinke wrote: > the gnucash.trace file is created automatically and re-written at each start > up. > > Maybe you don't see it because your crash comes before this file is filled > with data. > > Just to double-check: > If you start gnucash successfully (no crash), and close it again gracefully > (no attempt of graphical report creation) the file should be there.
No, I don't get any gnucash* file in /tmp (or . or $HOME) even in with a successful exit. Ok, I've ktraced the process, the file is in /var/tmp/gnucash.trace. Looking at it, I see a report: * 10:41:43 MESSG <gnc.scm> <script language="javascript" type="text/javascript" src="file:///usr/pkg/share/gnucash/jqplot/jquery.min.js"></script> <script language="javascript" type="text/javascript" src="file:///usr/pkg/share/gnucash/jqplot/jquery.jqplot.js"></script> <script language="javascript" type="text/javascript" src="file:///usr/pkg/share/gnucash/jqplot/jqplot.barRenderer.js"></script> <script language="javascript" type="text/javascript" src="file:///usr/pkg/share/gnucash/jqplot/jqplot.categoryAxisRenderer.js"></script> <script language="javascript" type="text/javascript" src="file:///usr/pkg/share/gnucash/jqplot/jqplot.highlighter.js"></script> <script language="javascript" type="text/javascript" src="file:///usr/pkg/share/gnucash/jqplot/jqplot.canvasTextRenderer.js"></script> <script language="javascript" type="text/javascript" src="file:///usr/pkg/share/gnucash/jqplot/jqplot.canvasAxisTickRenderer.js"></script> <link rel="stylesheet" type="text/css" href="file:///usr/pkg/share/gnucash/jqplot/jquery.jqplot.css" /> <div id="chart-968125" style="width:400px;height:400px;"></div> <script id="source"> $(function () {var data = [];var series = []; var d0 = []; ... function formatTooltip(str, seriesIndex, pointIndex) { if (options.axes.xaxis.ticks[pointIndex] !== undefined) x = options.axes.xaxis.ticks[pointIndex]; else x = pointIndex; y = data[seriesIndex][pointIndex][1].toFixed(2); return options.series[seriesIndex].label + ' ' + x + '<br><b>' + y + '</b>'; } }); </script> Then a few lines of (with varying x/y): * 10:41:43 INFO <gnc.account> [xaccAccountGetBalanceInCurrency] baln=x/y And then it ends. Thomas > Carsten > > On 04/13/2014 10:10 AM, Thomas Klausner wrote: > >Hi Carsten! > > > >Thanks for your reply. > > > >On Sun, Apr 13, 2014 at 09:56:11AM +0200, Carsten Rinke wrote: > >>two first thoughts: > >> > >>- is 'jqpplot' part of the package? > >>The display of graphical reports has changed from gnuplot to jqplot between > >>2.4 and 2.6. > >>Should reside under <gnucash-installation-path>/share/gnucash/jqplot. > >Yes: > >/usr/pkg/share/gnucash/jqplot/jqplot.BezierCurveRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.barRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.blockRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.bubbleRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.canvasAxisLabelRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.canvasAxisTickRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.canvasTextRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.categoryAxisRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.ciParser.js > >/usr/pkg/share/gnucash/jqplot/jqplot.cursor.js > >/usr/pkg/share/gnucash/jqplot/jqplot.dateAxisRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.donutRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.dragable.js > >/usr/pkg/share/gnucash/jqplot/jqplot.enhancedLegendRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.funnelRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.highlighter.js > >/usr/pkg/share/gnucash/jqplot/jqplot.json2.js > >/usr/pkg/share/gnucash/jqplot/jqplot.logAxisRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.mekkoAxisRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.mekkoRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.meterGaugeRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.ohlcRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.pieRenderer.js > >/usr/pkg/share/gnucash/jqplot/jqplot.pointLabels.js > >/usr/pkg/share/gnucash/jqplot/jqplot.trendline.js > >/usr/pkg/share/gnucash/jqplot/jquery.jqplot.css > >/usr/pkg/share/gnucash/jqplot/jquery.jqplot.js > >/usr/pkg/share/gnucash/jqplot/jquery.min.js > >/usr/pkg/share/gnucash/scm/html-jqplot.scm > > > >I see that these are javascript, does this need any particular support > >in any of the libraries gnucash depends upon? > > > >>- can you find something interesting in /tmp/gnucash.trace? > >>Maybe try running "gnucash --debug --log gnc.scm=debug" to get more info > >>into this trace. > >I don't have any /tmp/gnucash* , not even when I start it as you > >suggested. How do I make gnucash create that? > > Thomas > > > >>Gruss, > >>/Carsten > >> > >> > >>On 04/13/2014 09:35 AM, Thomas Klausner wrote: > >>>Hi! > >>> > >>>I'm using gnucash-2.6.3 from pkgsrc on NetBSD-6.99.40/amd64. > >>> > >>>I see two recent changes compared to 2.4.13, the previous version in > >>>pkgsrc. > >>> > >>>The first: If I start gnucash without a terminal or in the background, > >>>it doesn't finish startup. When started in the background, I see (with > >>>zsh): > >>> > >>>>gnucash & > >>>[1] 7303 > >>>[1] + suspended (tty output) gnucash > >>> > >>>When I put it in the foreground again, it continues starting > >>>successfully. This seems to happen during the splash screen, the last > >>>thing that's displayed in the progress text at the bottom is > >>>"gnucash/python". Perhaps this is a problem with a python module, but > >>>how do I find out which? > >>> > >>>The worse problem I have is when I try to run a graphical report (e.g. > >>>Income & Expense / Expense barchart) I get a segfault: > >>> > >>>zsh: segmentation fault (core dumped) gnucash > >>> > >>>The backtrace is not very helpful, even when compiled with '-g -O0': > >>>(gdb) bt > >>>#0 0x00007f7f87800a0c in ?? () > >>>#1 0x00007f7f857fe088 in ?? () > >>>#2 0x00007f7ff6a9efc0 in ?? () > >>>#3 0x00007f7feb1641a8 in ?? () > >>>#4 0x00007f7ff6a9e1c0 in ?? () > >>>#5 0x00007f7fee3be8e8 in ?? () > >>>#6 0x00007f7feecf9c00 in WTF::central_cache () from > >>>/usr/pkg/lib/libjavascriptcoregtk-1.0.so.0 > >>>#7 0x0000000000000000 in ?? () > >>> > >>>I have webkit-gtk-1.10.2 installed if that matters. > >>> > >>>Thanks, > >>> Thomas > >>>_______________________________________________ > >>>gnucash-devel mailing list > >>>gnucash-devel@gnucash.org > >>>https://lists.gnucash.org/mailman/listinfo/gnucash-devel > >>> > >>_______________________________________________ > >>gnucash-devel mailing list > >>gnucash-devel@gnucash.org > >>https://lists.gnucash.org/mailman/listinfo/gnucash-devel > >> > > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel