Payable Aging Report Totals column produces error

Charles Day cedayiv at gmail.com
Wed Jun 11 12:22:58 EDT 2008


On Wed, Jun 11, 2008 at 9:10 AM, Gene <genestairs at gmail.com> wrote:

> Charles Day wrote:
>
>> On Tue, Jun 10, 2008 at 11:11 PM, Gene <genestairs at gmail.com <mailto:
>> genestairs at gmail.com>> wrote:
>>
>>    Thanks for the help so far...
>>
>>    <snipped....>
>>
>>    However, I also got the following windows error dialog box when I
>>    tried to click on the totals column:
>>    GLib-CRITICAL (recursed)**:g_str_has_suffix:assertion`str!=NULL'
>>    failed
>>    aborting...
>>
>>  I found a bug in some C code that might be responsible for that
>> GLib-CRITICAL message. Unfortunately, this means that it probably has
>> nothing to do with your original problem. I've committed a fix as r17214,
>> but that won't get released until 2.2.6. <http://2.2.6.>
>>
>> In the meantime, I have attached another version of main.scm that should
>> hopefully workaround the problem. Please try again with this version...
>>
>> Cheers,
>> Charles
>>
>
> The new version generated the same error message when I attempt to click on
> totals, but the trace file did dump more info to it  :)
>

Looks like this has given Derek some information to go on.

534: 27* [strftime "%B %e, %Y" #(30 6 12 11 5 108 3 162 1 ...)]
In unknown file:
 ?: 28* [dumper memory-allocation-error "strftime" "Memory allocation error"
#f #f]

(I forgot that the gnc:string-delete-chars procedure is only available in
trunk, but at least we have a backtrace now.)

Cheers,
Charles

*   WARN <qof.engine> [guid_init()] only got 2368 bytes.
> The identifiers might not be very random.
> *   WARN <gnc.app-util> Could not spawn perl: Failed to execute child
> process (No such file or directory)
> *   WARN <Gdk> gdkselection-win32.c:1068: OpenClipboard failed: Invalid
> window handle.
> *   CRIT <gnc.backend.file> commodity_ref_to_dom_tree: assertion `c' failed
> *   WARN <Gdk> gdkselection-win32.c:1068: OpenClipboard failed: Invalid
> window handle.
> *   WARN <Gdk> gdkselection-win32.c:1068: OpenClipboard failed: Invalid
> window handle.
> *   WARN <gnc.report.core> Failure running report: C:\Program
> Files\gnucash\share\gnucash\guile-modules/gnucash/main.scm:141:23: In
> expression (gnc:string-delete-chars (get-output-string string-port) "%"):
> C:\Program
> Files\gnucash\share\gnucash\guile-modules/gnucash/main.scm:141:23: Unbound
> variable: gnc:string-delete-chars
> In C:\Program Files\gnucash\share\gnucash\scm/report.scm:
> 459: 14* (set! doc (if template (let* # # # ...) #f))
> 459: 15* (if template (let* # # # ...) #f)
> 460: 16  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc
> stylesheet) ...)
> 462: 17* [reg-renderer #]
> In unknown file:
>  ?: 18  (letrec ((opt-val #)) (let* (# # # ...) (cond # # ...) ...))
> In C:\Program
> Files\gnucash\share\gnucash\guile-modules/gnucash/report/owner-report.scm:
> 550: 19  (let* ((document #) (table #) (orders #) ...) (cond (# #) (# #)
> ...) ...)
> 577: 20* (if (gncOwnerIsValid owner) (begin # # ...) ...)
> 578: 21  (begin # # # ...)
> 609: 22* [gnc:html-document-add-object! # ...
> 611: 23* [make-myname-table #<swig-pointer QofBook * 2f8b740> "%B %e, %Y"]
> 512: 24  (let* (# # # ...) (gnc:html-table-set-style! table "table" ...)
> ...)
> 533: 25* [gnc:html-table-append-row! # ...
> 533: 26* [list ...
> 534: 27* [strftime "%B %e, %Y" #(30 6 12 11 5 108 3 162 1 ...)]
> In unknown file:
>  ?: 28* [dumper memory-allocation-error "strftime" "Memory allocation
> error" #f #f]
> In C:\Program Files\gnucash\share\gnucash\guile-modules/gnucash/main.scm:
> 131: 29* (let ((stack #)) (display-backtrace stack (current-error-port))
> ...)
> 137: 30* (if (defined? #) (let # # # ...))
> 138: 31  (let ((string-port #)) (display-backtrace stack string-port) ...)
> 141: 32* [gnc:warn ...
> 141: 33* (gnc:string-delete-chars (get-output-string string-port) "%")
>
>
>


More information about the gnucash-user mailing list