weird piechart problem

Greg Woods greg@gregandeva.net
Wed, 10 Oct 2001 11:14:19 -0600


Christian Stimming wrote:

 > /usr/local/share/gnucash/scm/report.scm . In line 505, remove the 
leading
 > ';;' so that it just reads
 >
 >               (display html) (newline)

OK, I did this, and here's the output:

<p>
<h3></h3>
</p>
<object classid="gnc-guppi-pie" width=500 height=250>
   <param name="title" value="Expense Accounts">
   <param name="subtitle" value=" 1/ 1/2001 to 10/10/2001: $55.95">
   <param name="datasize" value="1">
   <param name="data" value="55.95 ">
   <param name="colors" value="red ">
   <param name="labels" value="Travel\ -\ $55.95 ">
   <param name="slice_urls_1" 
value="gnc-register:guid=18677c370d52c8d1895a60914b088c50 ">
   <param name="slice_urls_2" value="">
   <param name="slice_urls_3" value="">
   <param name="legend_urls_1" 
value="gnc-register:guid=18677c370d52c8d1895a60914b088c50 ">
   <param name="legend_urls_2" value="">
   <param name="legend_urls_3" value="">
Unable to display pie chart
</object> &nbsp;
</body>
</html>


The one data line there is in fact what is displayed. It is the only 
transaction in the very last account of the expense account list that 
occurs during the selected time period.

As another data point, I went to my desktop machine which has a working 
install of 1.6.1 that does not have the piechart problem. I went into 
the source directory, did a "make clean", tarred up the source tree, 
copied it to the laptop, configured, compiled, and installed it (after 
removing the RPM gnucash package I had last been using).  The piechart 
problem remains. I also tried copying the older data file from the 
working desktop to the laptop. Still has the piechart problem. Identical 
source code, identical data, one has the problem and one doesn't. 
ALthough I can't imagine how this happens, it almost *has* to be 
something outside of the gnucash tree causing the problem. Both machines 
are Red Hat 7.1, the only major software difference between them is 
which RPM packages are installed. Also, before I did a full upgrade to 
Ximian GNOME, gnucash worked on the laptop. The Expense Account piechart 
problem started as soon as I upgraded a bunch of GNOME packages.

--Greg