I did some digging and found that at the time of running the report,
gnucash.trace contains this:
* 01:04:42 INFO <gnc.gui> [gnc_plugin_page_report_setup] report-id: 1
* 01:04:42 INFO <gnc.gui> [gnc_plugin_page_report_setup] set needs save
* 01:04:42 INFO <gnc.html> [gnc_html_webkit_init] webkit_settings: Set default
font to [.SF NS Text]
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_build_contents_full] Default
Section name is Compare
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page_label is
Accounts
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page name is
Accounts and page_count is 0
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page_label is
Compare
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page name is
Compare and page_count is 1
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page_label is
Display
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page name is
Display and page_count is 2
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page_label is
General
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page name is
General and page_count is 3
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page_label is
Sorting
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_append_page] Page name is
Sorting and page_count is 4
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_list_select_cb] Index is 1
* 01:04:45 INFO <gnc.gui> [gnc_options_dialog_list_select_cb] Index is 1
* 01:04:46 INFO <gnc.gui> [gnc_options_dialog_list_select_cb] Index is 0
[snip a bunch of "INFO <gnc.account> [xaccAccountGetBalanceInCurrency]" lines]
* 01:04:50 WARN <gnc.scm> In unknown file:
?: 19 [gncp-option-invoke-callback # #]
In ice-9/boot-9.scm:
160: 18 [catch #t #<catch-closure c4f4b40> #<catch-closure c4f4b30> #f]
In unknown file:
?: 17 [apply-smob/1 #<catch-closure c4f4b40>]
In ice-9/boot-9.scm:
174: 16 [with-throw-handler #t #<catch-closure c4f4a30> #<catch-closure
c4f49f0>]
In unknown file:
?: 15 [apply-smob/1 #<catch-closure c4f4a30>]
?: 14 [call-with-input-string "(gnc:report-run 1)" ...]
In ice-9/boot-9.scm:
2404: 13 [save-module-excursion #<procedure c520b70 at
ice-9/eval-string.scm:65:9 ()>]
In ice-9/eval-string.scm:
44: 12 [read-and-eval #<input: string cf8c0e0> #:lang ...]
37: 11 [lp (gnc:report-run 1)]
In report.scm:
753: 10 [gnc:report-run 1]
In ice-9/boot-9.scm:
160: 9 [catch ignore #<procedure c520a50 at main.scm:116:4 ()> ...]
In unknown file:
?: 8 [lazy-catch #t #<procedure c520a20 at main.scm:118:18 ()> ...]
In ice-9/boot-9.scm:
174: 7 [with-throw-handler #t #<catch-closure c4f41b0> #<catch-closure
c4f41a0>]
In unknown file:
?: 6 [apply-smob/1 #<catch-closure c4f41b0>]
In report.scm:
757: 5 [#<procedure c520a68 at report.scm:754:5 ()>]
728: 4 [gnc:report-render-html # #t]
In /Users/adrien/Library/Application Support/Gnucash/current-vs-average.scm:
3255: 3 [trep-renderer #]
383: 2 [getdates-average #{3months}# #t]
In ice-9/boot-9.scm:
105: 1 [#<procedure c7bde60 at ice-9/boot-9.scm:100:6 (thrown-k . args)>
unbound-variable ...]
In unknown file:
?: 0 [apply-smob/1 #<catch-closure c4f41a0> unbound-variable ...]
ERROR: In procedure apply-smob/1:
ERROR: In procedure module-lookup: Unbound variable: gnc:decrement-month
If that helps any.
Thanks,
Adrien
> On May 15, 2017, at 12:29 AM, Adrien Monteleone <[email protected]>
> wrote:
>
> Thank you very much for your work on these new reports. The Transaction
> report update and the Transaction by Payee are going to get lots of use I can
> see.
>
> I started trying to play with this Current vs. Average report and I’m having
> a heck of a time adjusting the settings in order to get anything to show up.
> (It just tells me there was an error, but not what the error was)
>
> I can say right off, the tabs for Compare and General seem very confusing.
>
> I can’t tell if one influences the other or not, or where I should set which
> time periods and how.
>
> It seems some options only make sense if other options are set but they don’t
> all get grayed out and made inaccessible so I’m not sure. Presently, I’ve
> tried many possible combinations of period settings and nothing generates a
> report at all, just the non-error error message.
>
> Any guidance, maybe a simple walk through for a sample comparison report?
>
> Thanks in advance,
>
> Adrien
>
>
>> On May 5, 2017, at 10:04 AM, [email protected] wrote:
>>
>> Message: 3
>> Date: Fri, 5 May 2017 11:04:41 -0400
>> From: Cindy Doughty <[email protected]>
>> To: gnucash-user <[email protected]>
>> Subject: New report - Compare current spending versus historic average
>> Message-ID:
>> <CAB3Z30y3O7RbFmRdzxWpfJfsxeb2kfw9GguhR=u771a3nqo...@mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> This report allows you to pick a time period and then compare it with the
>> average
>> This report has all of the functionality of the multiple periods side by
>> side report, it just adds some additional options.
>>
>> Place the attached files in the .gnucash folder. On windows this is
>> c:\users\YOURID\.gnucash If you already have a config.user file,
>> just add the entries
>> in this config.user file to it.
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: config.user
>> Type: application/octet-stream
>> Size: 127 bytes
>> Desc: not available
>> URL:
>> <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20170505/3dd36277/attachment.obj>
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: current-vs-average.scm
>> Type: application/octet-stream
>> Size: 156010 bytes
>> Desc: not available
>> URL:
>> <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20170505/3dd36277/attachment-0001.obj>
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: gnctimeperiod-utilities.scm
>> Type: application/octet-stream
>> Size: 40114 bytes
>> Desc: not available
>> URL:
>> <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20170505/3dd36277/attachment-0002.obj>
>
_______________________________________________
gnucash-user mailing list
[email protected]
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.