[GNC] gnucash-cli --report run: multiple errors

mike823 fkjasdhf878 at mailinator.com
Sat Feb 13 11:16:31 EST 2021


Hi everyone,

I am wondering if anyone was able to use "gnucash-cli --report run'. I have
tried multiple reports, and not one single was successful:

1. one standard report: gnucash-cli --debug --report run --name "Advanced
Portfolio" --export-type csv --output-file "apa.csv" "file.sqlite3.gnucash"
generates
* 10:53:10  INFO <gnc.commodity> [gnc_commodity_table_insert] insert
094987f0 XSU into nsp=0910c220 CURRENCY

* name: Advanced Portfolio
  guid: 21d7cfc59fc74f22887596ebde7e462d
* 10:53:10 ERROR <gnc.engine> GNCAccountType xaccAccountGetType(const
Account*): assertion 'GNC_IS_ACCOUNT(acc)' failed
* 10:53:10 ERROR <gnc.engine> GNCAccountType xaccAccountGetType(const
Account*): assertion 'GNC_IS_ACCOUNT(acc)' failed

* name: Advanced Portfolio
  guid: 4468e4e3d40a4f6c958c3c633a0ce839
  parent-template: Advanced Portfolio
General / Stylesheet: Easy

2. one customized report: gnucash-cli.exe"  --report run --name "NW -
Investments"  "D:/..../file.sqlite3.gnucash"
This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel at gnucash.org
You can also lookup and file bug reports at https://bugs.gnucash.org
To find the last stable version, please refer to https://www.gnucash.org/
* 11:10:15 ERROR <gnc.gui> [scm_cleanup_and_exit_with_failure()] Session
Error: failed to get_backend using access method "D"

3: another customized report: gnucash-cli  --report run --name "Advanced
Portfolio all" --export-type csv "D:\....\file.sqlite3.gnucash"
This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel at gnucash.org
You can also lookup and file bug reports at https://bugs.gnucash.org
To find the last stable version, please refer to https://www.gnucash.org/
Report "Advanced Portfolio all" has no export code



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html


More information about the gnucash-user mailing list