[Bug 611936] Sqlite3: assertion `gnc_numeric_check(amt) == GNC_ERROR_OK' failed

Derek Atkins warlord at MIT.EDU
Wed Jan 5 14:24:41 EST 2011

Christian Stimming <stimming at tuhh.de> writes:

> Am Dienstag, 4. Januar 2011 schrieb Jeff Kletsky:
>> In my opinion, since this is an OS-distribution-related problem rather
>> than a core-to-the-library problem, spending a lot of valuable dev time
>> on "fixing" it seems inappropriate.
>> I would suggest something along the lines of testing for the library
>> bug, alerting the user if it exists (with a checkbox for "Don't tell me
>> again"), and disabling the SQLite3 option if it exists.
> Absolutely. My comment when reopening was intended to suggest we should add a 
> *detection* of this error, not necessarily fixing it. But currently an 
> increasing number of users "detect" this error by observing their data loss, 
> which is bad. Instead, we should add some code to ourselves to detect this 
> potential error at run-time (because libdbi can change by package managers at 
> will).

I agree.  We should implement a run-time test and display a dialog if we
detect this error (and argubly disable the SQLite backend).

> Regards,
> Christian


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list