[GNC] Session Error: failed to get_backend using access method "C"
Geert Janssens
geert.gnucash at kobaltwit.be
Wed Jul 1 11:31:26 EDT 2020
Ok, this does look like a bug.
Just to estimate the scope, can you open the data file in gnucash from the command line ? That
is, does
C:\tools\gnucash\bin>gnucash.exe /C/Users/*****/Downloads/gnuCash-test-2/
t14.sqlite3.gnucash
or
C:\tools\gnucash\bin>gnucash-cli.exe C:\Users\*****\Downloads\gnuCash-
test-2\t14.sqlite3.gnucash
work ?
Did this work in 3.x ?
Regards,
Geert
Op woensdag 1 juli 2020 17:22:47 CEST schreef Lipp F.:
> 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>
> > >
> > >
> > >
More information about the gnucash-user
mailing list