Error when running payable aging report

Kash kash at warmplanetbikes.com
Mon Oct 1 11:55:26 EDT 2012


Derek-
Thanks. Here's a copy of the trace file.

* 05:42:39  WARN <qof.engine> [guid_init()] only got 453 bytes.
The identifiers might not be very random.
* 05:42:51  WARN <gnc.app-utils> Could not spawn perl: Failed to execute 
child process (No such file or directory)
* 05:43:07  WARN <gnc.scm> In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/scm/report.scm:
  653: 20* [payables-renderer #]
In unknown file:
    ?: 21  (letrec (#) (let* # # #))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  547: 22  (let* (# # # ...) (gnc:html-document-set-title! document 
report-title) ...)
  591: 23* (if (not #) (begin # #) (gnc:html-document-add-object! 
document #))
  592: 24  (begin (setup-query query account ...) (let* (#) (set! 
work-to-do #) ...))
  595: 25  (let* ((splits #)) (set! work-to-do (length splits)) ...)
  601: 26* [for-each #<procedure #f (split)> (# # # # ...)]
In unknown file:
    ?: 27* [#<procedure #f (split)> #<swig-pointer Split * 7309630>]
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
  604: 28* [update-company-hash #(() () () ...) #<swig-pointer Split * 
7309630> ...]
In unknown file:
    ?: 29  (letrec ((do-update #)) (let* (# # #) (if # #)))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  227: 30  (begin (gnc:debug "value" value) (let* (#) (if # # ...) ...) ...)
  229: 31* (let* (#) (if # # #) (hash-set! hash guid new-company))
  230: 32* (if (gnc-numeric-negative-p value) (process-invoice 
new-company # ...) ...)
  231: 33  [process-invoice # # # ...]
     ...
  126: 34  (let* (# # # ...) (vector-set! buckets bucket-index ...) ...)
  130: 35* [find-bucket 0 #(# # # # ...) (1536562800 . 0)]
  108: 36  (begin # # #)
     ...
  113: 37  (if (in-interval date #) (begin # current-bucket) ...)
  113: 38* [in-interval (1536562800 . 0) ...
  113: 39*  [vector-ref #((1341385199 . 0) (1343977199 . 0) (1346569199 
. 0) ...) 5]
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
In procedure vector-ref in expression (vector-ref bucket-intervals 
current-bucket):
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
Value out of range: 5
* 05:47:28  WARN <gnc.scm> In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/scm/report.scm:
  653: 20* [payables-renderer #]
In unknown file:
    ?: 21  (letrec (#) (let* # # #))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  547: 22  (let* (# # # ...) (gnc:html-document-set-title! document 
report-title) ...)
  591: 23* (if (not #) (begin # #) (gnc:html-document-add-object! 
document #))
  592: 24  (begin (setup-query query account ...) (let* (#) (set! 
work-to-do #) ...))
  595: 25  (let* ((splits #)) (set! work-to-do (length splits)) ...)
  601: 26* [for-each #<procedure #f (split)> (# # # # ...)]
In unknown file:
    ?: 27* [#<procedure #f (split)> #<swig-pointer Split * 7309630>]
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
  604: 28* [update-company-hash #(() () () ...) #<swig-pointer Split * 
7309630> ...]
In unknown file:
    ?: 29  (letrec ((do-update #)) (let* (# # #) (if # #)))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  227: 30  (begin (gnc:debug "value" value) (let* (#) (if # # ...) ...) ...)
  229: 31* (let* (#) (if # # #) (hash-set! hash guid new-company))
  230: 32* (if (gnc-numeric-negative-p value) (process-invoice 
new-company # ...) ...)
  231: 33  [process-invoice # # # ...]
     ...
  126: 34  (let* (# # # ...) (vector-set! buckets bucket-index ...) ...)
  130: 35* [find-bucket 0 #(# # # # ...) (1536562800 . 0)]
  108: 36  (begin # # #)
     ...
  113: 37  (if (in-interval date #) (begin # current-bucket) ...)
  113: 38* [in-interval (1536562800 . 0) ...
  113: 39*  [vector-ref #((1341385199 . 0) (1343977199 . 0) (1346569199 
. 0) ...) 5]
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
In procedure vector-ref in expression (vector-ref bucket-intervals 
current-bucket):
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
Value out of range: 5
* 06:08:25  CRIT <gnc.report.gui> gnc_plugin_page_report_name_changed: 
assertion `count++ <= max_count' failed
* 06:08:25  WARN <gnc.scm> In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/scm/report.scm:
  653: 20* [payables-renderer #]
In unknown file:
    ?: 21  (letrec (#) (let* # # #))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  547: 22  (let* (# # # ...) (gnc:html-document-set-title! document 
report-title) ...)
  591: 23* (if (not #) (begin # #) (gnc:html-document-add-object! 
document #))
  592: 24  (begin (setup-query query account ...) (let* (#) (set! 
work-to-do #) ...))
  595: 25  (let* ((splits #)) (set! work-to-do (length splits)) ...)
  601: 26* [for-each #<procedure #f (split)> (# # # # ...)]
In unknown file:
    ?: 27* [#<procedure #f (split)> #<swig-pointer Split * 73e6b68>]
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
  604: 28* [update-company-hash #(() () () ...) #<swig-pointer Split * 
73e6b68> ...]
In unknown file:
    ?: 29  (letrec ((do-update #)) (let* (# # #) (if # #)))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  227: 30  (begin (gnc:debug "value" value) (let* (#) (if # # ...) ...) ...)
  229: 31* (let* (#) (if # # #) (hash-set! hash guid new-company))
  230: 32* (if (gnc-numeric-negative-p value) (process-invoice 
new-company # ...) ...)
  231: 33  [process-invoice # # # ...]
     ...
  126: 34  (let* (# # # ...) (vector-set! buckets bucket-index ...) ...)
  130: 35* [find-bucket 0 #(# # # # ...) (1536562800 . 0)]
  108: 36  (begin # # #)
     ...
  113: 37  (if (in-interval date #) (begin # current-bucket) ...)
  113: 38* [in-interval (1536562800 . 0) ...
  113: 39*  [vector-ref #((1341385199 . 0) (1343977199 . 0) (1346569199 
. 0) ...) 5]
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
In procedure vector-ref in expression (vector-ref bucket-intervals 
current-bucket):
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
Value out of range: 5
* 07:02:49  CRIT <gnc.report.gui> gnc_plugin_page_report_name_changed: 
assertion `count++ <= max_count' failed
* 07:02:49  WARN <gnc.scm> In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/scm/report.scm:
  653: 20* [payables-renderer #]
In unknown file:
    ?: 21  (letrec (#) (let* # # #))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  547: 22  (let* (# # # ...) (gnc:html-document-set-title! document 
report-title) ...)
  591: 23* (if (not #) (begin # #) (gnc:html-document-add-object! 
document #))
  592: 24  (begin (setup-query query account ...) (let* (#) (set! 
work-to-do #) ...))
  595: 25  (let* ((splits #)) (set! work-to-do (length splits)) ...)
  601: 26* [for-each #<procedure #f (split)> (# # # # ...)]
In unknown file:
    ?: 27* [#<procedure #f (split)> #<swig-pointer Split * 73e6b68>]
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
  604: 28* [update-company-hash #(() () () ...) #<swig-pointer Split * 
73e6b68> ...]
In unknown file:
    ?: 29  (letrec ((do-update #)) (let* (# # #) (if # #)))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  227: 30  (begin (gnc:debug "value" value) (let* (#) (if # # ...) ...) ...)
  229: 31* (let* (#) (if # # #) (hash-set! hash guid new-company))
  230: 32* (if (gnc-numeric-negative-p value) (process-invoice 
new-company # ...) ...)
  231: 33  [process-invoice # # # ...]
     ...
  126: 34  (let* (# # # ...) (vector-set! buckets bucket-index ...) ...)
  130: 35* [find-bucket 0 #(# # # # ...) (1536562800 . 0)]
  108: 36  (begin # # #)
     ...
  113: 37  (if (in-interval date #) (begin # current-bucket) ...)
  113: 38* [in-interval (1536562800 . 0) ...
  113: 39*  [vector-ref #((1341385199 . 0) (1343977199 . 0) (1346569199 
. 0) ...) 5]
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
In procedure vector-ref in expression (vector-ref bucket-intervals 
current-bucket):
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
Value out of range: 5
* 07:07:39  CRIT <GLib> g_utf8_to_utf16: assertion `str != NULL' failed
* 07:07:55  CRIT <gnc.report.gui> gnc_plugin_page_report_name_changed: 
assertion `count++ <= max_count' failed
* 07:07:55  WARN <gnc.scm> In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/scm/report.scm:
  653: 20* [payables-renderer #]
In unknown file:
    ?: 21  (letrec (#) (let* # # #))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  547: 22  (let* (# # # ...) (gnc:html-document-set-title! document 
report-title) ...)
  591: 23* (if (not #) (begin # #) (gnc:html-document-add-object! 
document #))
  592: 24  (begin (setup-query query account ...) (let* (#) (set! 
work-to-do #) ...))
  595: 25  (let* ((splits #)) (set! work-to-do (length splits)) ...)
  601: 26* [for-each #<procedure #f (split)> (# # # # ...)]
In unknown file:
    ?: 27* [#<procedure #f (split)> #<swig-pointer Split * 94b49a8>]
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
  604: 28* [update-company-hash #(() () () ...) #<swig-pointer Split * 
94b49a8> ...]
In unknown file:
    ?: 29  (letrec ((do-update #)) (let* (# # #) (if # #)))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  227: 30  (begin (gnc:debug "value" value) (let* (#) (if # # ...) ...) ...)
  229: 31* (let* (#) (if # # #) (hash-set! hash guid new-company))
  230: 32* (if (gnc-numeric-negative-p value) (process-invoice 
new-company # ...) ...)
  231: 33  [process-invoice # # # ...]
     ...
  126: 34  (let* (# # # ...) (vector-set! buckets bucket-index ...) ...)
  130: 35* [find-bucket 0 #(# # # # ...) (1536562800 . 0)]
  108: 36  (begin # # #)
     ...
  113: 37  (if (in-interval date #) (begin # current-bucket) ...)
  113: 38* [in-interval (1536562800 . 0) ...
  113: 39*  [vector-ref #((1341385199 . 0) (1343977199 . 0) (1346569199 
. 0) ...) 5]
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
In procedure vector-ref in expression (vector-ref bucket-intervals 
current-bucket):
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
Value out of range: 5
* 07:08:31  CRIT <GLib> g_utf8_to_utf16: assertion `str != NULL' failed
* 07:08:43  CRIT <gnc.report.gui> gnc_plugin_page_report_name_changed: 
assertion `count++ <= max_count' failed
* 07:08:43  WARN <gnc.scm> In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/scm/report.scm:
  653: 20* [payables-renderer #]
In unknown file:
    ?: 21  (letrec (#) (let* # # #))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  547: 22  (let* (# # # ...) (gnc:html-document-set-title! document 
report-title) ...)
  591: 23* (if (not #) (begin # #) (gnc:html-document-add-object! 
document #))
  592: 24  (begin (setup-query query account ...) (let* (#) (set! 
work-to-do #) ...))
  595: 25  (let* ((splits #)) (set! work-to-do (length splits)) ...)
  601: 26* [for-each #<procedure #f (split)> (# # # # ...)]
In unknown file:
    ?: 27* [#<procedure #f (split)> #<swig-pointer Split * 92fd390>]
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
  604: 28* [update-company-hash #(() () () ...) #<swig-pointer Split * 
92fd390> ...]
In unknown file:
    ?: 29  (letrec ((do-update #)) (let* (# # #) (if # #)))
In 
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:
     ...
  227: 30  (begin (gnc:debug "value" value) (let* (#) (if # # ...) ...) ...)
  229: 31* (let* (#) (if # # #) (hash-set! hash guid new-company))
  230: 32* (if (gnc-numeric-negative-p value) (process-invoice 
new-company # ...) ...)
  231: 33  [process-invoice # # # ...]
     ...
  126: 34  (let* (# # # ...) (vector-set! buckets bucket-index ...) ...)
  130: 35* [find-bucket 0 #(# # # # ...) (1536562800 . 0)]
  108: 36  (begin # # #)
     ...
  113: 37  (if (in-interval date #) (begin # current-bucket) ...)
  113: 38* [in-interval (1536562800 . 0) ...
  113: 39*  [vector-ref #((1341385199 . 0) (1343977199 . 0) (1346569199 
. 0) ...) 5]
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
In procedure vector-ref in expression (vector-ref bucket-intervals 
current-bucket):
L:\PortableApps\GnuCashPortable\App\GnuCash\share\gnucash/guile-modules/gnucash/report/aging.scm:113:33: 
Value out of range: 5
* 07:09:14  CRIT <gnc.gui> [gnc_ui_file_access_response_cb()] Invalid 
response
* 07:09:57  CRIT <GLib> g_utf8_to_utf16: assertion `str != NULL' failed
* 07:10:08  CRIT <gnc.report.gui> gnc_plugin_page_report_name_changed: 
assertion `count++ <= max_count' failed


On 10/1/2012 8:36 AM, Derek Atkins wrote:
> Hi,
>
> Kash <kash at warmplanetbikes.com> writes:
>
>> When I run the payable aging report, I get the following error
>> "Report error
>> An error occurred while running the report."
>>
>> The only change that I've made from previous operations is to start
>> using business>vendor>new bill to enter bills and adding several
>> vendors. Previously, I had an accounts payable account for each vendor
>> and recorded bills as transactions.
> What, if anything, is in your gnucash.trace file?
>
>> The other reports that I have tested, including receivable aging, work
>> just fine. The payable aging report works when I load a different
>> account file.
>>
>> The report also works fine when I load a previous version of the same
>> file. However, I've entered a lot of data since then and would prefer
>> to find a solution that doesn't include manually re-entering about a
>> month worth of financial information.
>>
>> I'm using gnucash portable 2.4.10 on Windows 7.
> Ah..  We do not support GnuCash Portable.  That's another group that
> takes our application and does "magic" to it.  Moreover, 2.4.11 is
> current.
>
>> I'm not all that familiar with XML, but do have a computer science
>> background, so if anyone thinks that it may be a malformation of the
>> data file, I'm happy to look into it if given a suggestion on how to
>> do that.
>>
>> PS I'm using Gnucash to run my small business, and this situation is
>> truly horrifying. Any help is greatly appreciated.
> I can understand.  The gnucash.trace file might give you some guidance
> about what's going on.
>
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
> -derek
>



More information about the gnucash-user mailing list