Bug in KMM 0.9.3 - abort if try to save as database without QT SQL drivers installed

View: New views
3 Messages — Rating Filter:   Alert me  

Bug in KMM 0.9.3 - abort if try to save as database without QT SQL drivers installed

by Jack Ostroff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If I open an existing KMM file, and then select "save to database", I  
get an error popup "There are no Qt SQL drivers installed..." which is  
correct.  When I click OK, I get a "Select Database" window, where I  
would expect to go back to the main window.   If I click in the (empty)  
select database box, I get a segfault SIGSEV (signal 11).  If I instead  
click "create sql" and enter a file name and click OK, I get an  
(expected?) uncaught error "Unknown database driver type in file  
mymoneystoragesql.cpp line 108" and then a SIGABRT (signal 6) when I  
click OK.

Please let me know if I can provide any additional information, but  
both of these outcomes are reproducible.

Jack
ostroffjh@...

------------------------------------------------------------------------------
_______________________________________________
KMyMoney2-developer mailing list
KMyMoney2-developer@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer

Re: Bug in KMM 0.9.3 - abort if try to save as database without QT SQL drivers installed

by Jack Ostroff :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009.06.23 14:46, Jack wrote:

> If I open an existing KMM file, and then select "save to database", I  
> get an error popup "There are no Qt SQL drivers installed..." which  
> is correct.  When I click OK, I get a "Select Database" window, where  
> I would expect to go back to the main window.   If I click in the  
> (empty) select database box, I get a segfault SIGSEV (signal 11).  If  
> I instead click "create sql" and enter a file name and click OK, I  
> get an (expected?) uncaught error "Unknown database driver type in  
> file mymoneystoragesql.cpp line 108" and then a SIGABRT (signal 6)  
> when I click OK.
>
> Please let me know if I can provide any additional information, but  
> both of these outcomes are reproducible.

I just noticed something even stranger, and perhaps more of a problem.  
After reading another thread about compiling plugins, I re-compiled KMM  
myself.  At the end of ./configure --without-arts, it said it was going  
to include all four listed plugins, including the sqlite3.  After  
compiling, the configure screen for plugins lists only the OFX import  
plugin, which is enabled.  What happened to the other plugins?  There  
were no errors I noticed during either ./configure or make.  Is there  
some link to not having arts?  I thought that was just sound/multimedia.

------------------------------------------------------------------------------
_______________________________________________
KMyMoney2-developer mailing list
KMyMoney2-developer@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer

Re: Bug in KMM 0.9.3 - abort if try to save as database without QT SQL drivers installed

by Thomas Baumgart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 25 June 2009 15:43:28 Jack wrote:

> On 2009.06.23 14:46, Jack wrote:
> > If I open an existing KMM file, and then select "save to database", I
> > get an error popup "There are no Qt SQL drivers installed..." which
> > is correct.  When I click OK, I get a "Select Database" window, where
> > I would expect to go back to the main window.   If I click in the
> > (empty) select database box, I get a segfault SIGSEV (signal 11).  If
> > I instead click "create sql" and enter a file name and click OK, I
> > get an (expected?) uncaught error "Unknown database driver type in
> > file mymoneystoragesql.cpp line 108" and then a SIGABRT (signal 6)
> > when I click OK.
> >
> > Please let me know if I can provide any additional information, but
> > both of these outcomes are reproducible.
>
> I just noticed something even stranger, and perhaps more of a problem.
> After reading another thread about compiling plugins, I re-compiled KMM
> myself.  At the end of ./configure --without-arts, it said it was going
> to include all four listed plugins, including the sqlite3.  After
> compiling, the configure screen for plugins lists only the OFX import
> plugin, which is enabled.  What happened to the other plugins?  There
> were no errors I noticed during either ./configure or make.  Is there
> some link to not having arts?  I thought that was just sound/multimedia.
No, don't worry. It lists four options (not necessarily plugins at that
point). In fact, two are referring to OFX which is contained in a plugin. The
fourth which is Chart support isn't a plugin at all but code directly
contained in KMyMoney. SQLite3 is a Qt plugin which you won't see in
KMyMoney's plugin configuration dialog. So the one remaining is 'KMyMoney
OFX' which you see in your dialog.

I agree, that this might be misleading to a non-developer and we might clean
the display up in the future.

Hope that helps / explains.

--

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
BTW, just the planning of the test cases helped me
to improve the code a lot. -- Alvaro Soliverez
-------------------------------------------------------------


------------------------------------------------------------------------------

_______________________________________________
KMyMoney2-developer mailing list
KMyMoney2-developer@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer

signature.asc (232 bytes) Download Attachment