GNOME Bugzilla – Bug 747300
SQL backend missing from most recent DMG?
Last modified: 2018-06-29 23:40:05 UTC
Is the SQL backend missing from the most recent Mac OS X DMS (2.6.6-2)? After upgrading from 2.6.5, my usual file no longer opens, with the message: 'No suitable backend was found for file MYFILE.gnucash.' Downgrading back to 2.6.5, there are no problems. (I should note that I'm not 100 percent certain that my file uses the SQL backend, but I *think* I upgraded a while back. Is there a relatively easy way to check?)
Not missing, just borked. Gnucash.app/Contents/Resources/etc/gnucash/environment is over-riding the GNC_DBD_DIR setting in Gnucash.app/Contents/MacOS/Gnucash to the wrong value. I'll get a new dmg up shortly, but in the meantime you can edit Gnucash.app/Resources/etc/gnucash/environment to remove the GNC_DBD_DIR line. Right-click on Gnucash.app in Finder and select "Show Package Contents", which will change the window to show the Contents folder. Navigate to Resources/etc/gnucash and open "environment" with TextEdit. Remove the line beginning with "GNC_DBD_DIR" and save the file. (Ignore the file named "environment~"). Restart Gnucash and it should happily open your file.
New dmgs are in place.
Commit 1d6fd55 does away with the need to set GNC_DBD_DIR in either the launcher script or etc/gnucash/environment and offers a fallback if it is set but invalid. That should permanently prevent this problem recurring.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=747300. Please update any external references or bookmarks.