After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677570 - Error creating net worth linechart report
Error creating net worth linechart report
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.4.x
Other Windows
: Normal normal
: ---
Assigned To: Mike Evans
Depends on:
Blocks:
 
 
Reported: 2012-06-06 17:04 UTC by angelo.locritani
Modified: 2018-06-29 23:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tracelog (26.16 KB, application/octet-stream)
2012-06-06 17:05 UTC, angelo.locritani
Details

Description angelo.locritani 2012-06-06 17:04:22 UTC
When I try to create a net worth linechart report the error "unable to create report" appears.
I'm attaching the trace file.
Comment 1 angelo.locritani 2012-06-06 17:05:20 UTC
Created attachment 215763 [details]
tracelog
Comment 2 Mike Evans 2012-06-15 16:32:32 UTC
Thank you for your bug report.

This report works in the current development version so should be fixed in the next release.

Meanwhile, can you supply me with the release version you have?  It can be found in Help->About
Comment 3 angelo.locritani 2012-06-16 06:56:44 UTC
I'm using the release 2.4.10 (r22003)
Comment 4 Mike Evans 2012-06-16 11:05:19 UTC
Fix commited to 2.4 branch as r22220.

It seems the bug was in the line width, line marker functionality.  This commit removes those functions from the report.  Leaving bug open until I reinstate the removed features, or until 2.6 release.
Comment 5 Mike Evans 2012-06-16 13:32:25 UTC
If you want to fix this yourself and you're feeling brave:
Find the file html-linechart.scm and (IMPORTANT) make a backup copy somewhere.
The contents of this file have been doubled, so, half way down the file you will find the header reproduced.  Should be at line 495.  Erase everything below this to the end of the file, including the doubled header.  Save and restart GnuCash.

Header part looks like this:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; html-linechart.scm : generate HTML programmatically, with support
;; for simple style elements. 
;; Copyright 2008 Sven Henkel <shenkel@gmail.com>

etc...



Fix committed as r22223
Comment 6 angelo.locritani 2012-06-16 15:46:55 UTC
Thanks for the "how to fix" suggestion. It worked nicely!
Comment 7 Mike Evans 2012-06-16 19:33:34 UTC
Least I can do, since it's my fault.
Comment 8 John Ralls 2017-09-24 22:42:42 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 9 John Ralls 2018-06-29 23:09:00 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=677570. Please update any external references or bookmarks.