[GNC] Session Error: failed to get_backend using access method "C"
Lipp F.
flipp31a at gmail.com
Wed Jul 1 11:22:47 EDT 2020
Still not working, different error though. Tried uppercase C and
lowercase c as well:
C:\tools\gnucash\bin>gnucash-cli.exe --report run --name="Net Worth
Linechart" --output-file=r-nwl.html
/C/Users/*****/Downloads/gnuCash-test-2/t14.sqlite3.gnucash
* 11:16:08 WARN <gnc.backend.dbi> [GncDbiBackend<Type>::session_begin()]
Sqlite3 file /C/Users/*****/Downloads/gnuCash-test-2/t14.sqlite3.gnucash
not found
* 11:16:08 ERROR <gnc.gui> [scm_cleanup_and_exit_with_failure()] Session
Error: Sqlite3 file
/C/Users/*****/Downloads/gnuCash-test-2/t14.sqlite3.gnucash not found
On the other hand, if the file paths have no directory, gnucash-cli works
as expected.
On Wed, Jul 1, 2020 at 10:59 AM Geert Janssens <geert.gnucash at kobaltwit.be>
wrote:
> Op woensdag 1 juli 2020 15:08:29 CEST schreef Lipp F.:
>
> > Hi everyone,
>
> >
>
> > Just evaluating 4.0 on Windows 10, sqlite3 backend, before a full
> switch. I
>
> > have noticed that gnucash-cli.exe does not seem to work:
>
> >
>
> > C:\tools\gnucash\bin>gnucash-cli.exe --debug --quotes get <file name>
>
> > ...................
>
> > * 08:54:19 INFO <qof.session> [QofSessionImpl::load_backend] The provider
>
> > providers access_method, file, but we're loading for access_method, C.
>
> > Skipping.
>
> > * 08:54:19 INFO <qof.session> [QofSessionImpl::load_backend] The provider
>
> > providers access_method, sqlite3, but we're loading for access_method, C.
>
> > Skipping.
>
> > * 08:54:19 INFO <qof.session> [QofSessionImpl::load_backend] The provider
>
> > providers access_method, mysql, but we're loading for access_method, C.
>
> > Skipping.
>
> > * 08:54:19 INFO <qof.session> [QofSessionImpl::load_backend] The provider
>
> > providers access_method, postgres, but we're loading for access_method,
> C.
>
> > Skipping.
>
> > * 08:54:19 INFO <qof.session> [QofSessionImpl::load_backend] The provider
>
> > providers access_method, xml, but we're loading for access_method, C.
>
> > Skipping.
>
> > * 08:54:19 INFO <qof.session> [QofSessionImpl::load_backend] The provider
>
> > providers access_method, file, but we're loading for access_method, C.
>
> > Skipping.
>
> > * 08:54:19 ERROR <gnc.gui> [scm_cleanup_and_exit_with_failure()] Session
>
> > Error: failed to get_backend using access method "C"
>
> >
>
> > Same error for reporting:
>
> >
>
> > C:\tools\gnucash\bin>gnucash-cli.exe --debug --report run
> --name="Advanced
>
> > Portfolio" --output-file=rpt.html <file name>
>
> >
>
> >
>
> > I would assume that "failed to get_backend using access method "C"
>
> > " refers somehow to the book file but after trying backslash, slash and
>
> > double backslash in the file name, the result is the same.
>
> >
>
>
>
> Have you tried
>
> "/c/path/to/your/book" ?
>
>
>
> Regards,
>
>
>
> Geert
>
More information about the gnucash-user
mailing list