[GNC] Session Error: failed to get_backend using access method "C"

Geert Janssens geert.gnucash at kobaltwit.be
Wed Jul 1 10:59:05 EDT 2020


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