[GNC] flatpak 4.4 reports anomaly

Elmar etschme at gmail.com
Thu Feb 11 11:36:01 EST 2021


Running "/usr/bin/flatpak run --branch=stable --arch=x86_64 
--command=gnucash --file-forwarding org.gnucash.GnuCash 
--logto=$HOME/gnucash.trace" in a terminal window invoked GC fine. 
Opening the saved reports item, then trying to delete a report results 
in this output in the terminal window:

ets at Shinobi-L ~ $ /usr/bin/flatpak run --branch=stable --arch=x86_64 
--command=gnucash --file-forwarding org.gnucash.GnuCash 
--logto=$HOME/gnucash.trace
Found Finance::Quote version 1.49.
Backtrace:
            7 (apply-smob/1 #<catch-closure 7f129c1bc5c0>)
In report-core.scm:
     735:9  6 (gnc:save-all-reports)
In srfi/srfi-1.scm:
    592:29  5 (map1 (("56c1338531aa5948f29ffac9c8299627" . #<<rep…>) …))
    592:29  4 (map1 (("48954786309f091b627a6d3bac31df38" . #<<rep…>) …))
    592:17  3 (map1 (("f4327d79575b0d1039dc544e59030b77" . #<<rep…>) …))
In report-core.scm:
    725:20  2 (gnc:report-template-save-to-savefile _)
    659:21  1 (gnc:report-template-serialize #<<report-template> vers…>)
     165:0  0 (%report-template-name-procedure _)

report-core.scm:165:0: In procedure %report-template-name-procedure:
In procedure struct_vtable: Wrong type argument in position 1 (expecting 
struct): #f
ets at Shinobi-L ~ $

OTOH the gnucash.trace file is completely blank.

- Elmar

On 2/11/21 11:23 AM, Geert Janssens wrote:
> Ok, the branch specification is probably important.
>
> You can try as follows:
> /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=gnucash --file-
> forwarding org.gnucash.GnuCash --logto="path-to-log-to-or-stdout"
>
> My mail client splits this line up, but the command should be all on one line.
>
> Regards,
>
> Geert



More information about the gnucash-user mailing list