backend not found message is unhelpful

Bug #869266 reported by Eshwar Andhavarapu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnucash (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Gnucash installs fine and runs fine but I guess only the XML backend is included by default. The libdbd-mysql, libdbd-sqlite3 packages that provide the various SQL backends for Gnucash are put as recommended packages. However, when not installed and a user tries to open a .gnucash data file that is an SQL database, a message saying "backend not found" shows up. Not its a hint but could be more useful like:
"Backend not found, are packages libdbd-mysql, libdbd-sqlite3 installed?"
Or just put those 3 libdbd* packages as dependencies...

It is super annoying when you make a fresh install and this message shows us :)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnucash 1:2.4.7-1
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Thu Oct 6 17:18:31 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111001)
ProcEnviron:
 LANGUAGE=en_ZA:en
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
SourcePackage: gnucash
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Eshwar Andhavarapu (eshwar.andhavarapu) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnucash (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Exon (ubuntubugs-mexon) wrote :

Gah! Thank you so much for providing such a simple fix! But dammit, why was it so hard to find the solution?

Revision history for this message
Matthew Exon (ubuntubugs-mexon) wrote :

Including this error message as googlefodder:

Traceback (most recent call last):
  File "./simple_invoice_insert.py", line 88, in <module>
    s = Session(argv[1], is_new=False)
  File "/usr/lib/python2.7/dist-packages/gnucash/gnucash_core.py", line 104, in __init__
    self.begin(book_uri, ignore_lock, is_new, force_new)
  File "/usr/lib/python2.7/dist-packages/gnucash/gnucash_core.py", line 150, in new_function
    self.raise_backend_errors(function.__name__)
  File "/usr/lib/python2.7/dist-packages/gnucash/gnucash_core.py", line 128, in raise_backend_errors
    errors )
gnucash.gnucash_core.GnuCashBackendException: call to begin resulted in the following errors, ERR_BACKEND_NO_HANDLER

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.