Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-16 Thread Christof Thalhofer
Hi Tobias, Am 12.09.2014 um 10:52 schrieb Tobias Boege: Have you tested that? Do you have a patch for the project? Did a correction, please test it. Now it should not hang any more and work as expected. Alles Gute Christof Thalhofer -- Dies ist keine Signatur KontakteMySQL-0.1.26.tar.gz

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-16 Thread Tobias Boege
On Tue, 16 Sep 2014, Christof Thalhofer wrote: Hi Tobias, Am 12.09.2014 um 10:52 schrieb Tobias Boege: Have you tested that? Do you have a patch for the project? Did a correction, please test it. Now it should not hang any more and work as expected. Thank you! Attached is the patch

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-12 Thread Christof Thalhofer
Hi Tobi, Am 12.09.2014 um 00:34 schrieb Tobias Boege: By a look at create_table.sql I see you have not so much sense of databases ;-) This is not my code. I'm just forwarding a bug report to the list. Ok :) Sorry for that ... could be eventually dangerous. You should define the columns

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-12 Thread Tobias Boege
On Fri, 12 Sep 2014, Christof Thalhofer wrote: This piece of code there I recognise. It's from the PictureDatabase example delivered with Gambas. So you suggest keeping table creation somewhere else? Yes, the function establishes one time the connection to db and this functionality is

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-12 Thread Tobias Boege
On Fri, 12 Sep 2014, Beno?t Minisini wrote: Le 12/09/2014 00:45, Beno?t Minisini a ?crit : Le 11/09/2014 19:57, Tobias Boege a ?crit : Hi, attached is a project which shows odd behaviour. At first glance, the source code seems OK to me, so it might be a bug. It needs: - MySQL

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-12 Thread Christof Thalhofer
Hi, Am 12.09.2014 um 10:52 schrieb Tobias Boege: Grmbl. If you have time, of course! Or do what you want. It was just a quick idea. :-) Had a nice afternoon updating some machines / waiting for the next question / programming your thing. Have you tested that? Do you have a patch for the

[Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Tobias Boege
Hi, attached is a project which shows odd behaviour. At first glance, the source code seems OK to me, so it might be a bug. It needs: - MySQL running, a user named test without password but with the ability to create a database.table Kontakte.kontakte. To reproduce: - (If you start the

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread T Lee Davidson
I get the same behavior: application hangs (with mysqld taking about 20-40% of CPU and gbx3 taking about 7-16%). Upon relaunch of the app, the db table does indeed appear to have been updated. On 09/11/2014 01:57 PM, Tobias Boege wrote: Hi, attached is a project which shows odd behaviour.

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Tobias Boege
On Thu, 11 Sep 2014, T Lee Davidson wrote: I get the same behavior: application hangs (with mysqld taking about 20-40% of CPU and gbx3 taking about 7-16%). Upon relaunch of the app, the db table does indeed appear to have been updated. Right. -- There's an old saying: Don't change

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Christof Thalhofer
Hi Tobi, Am 11.09.2014 um 19:57 schrieb Tobias Boege: attached is a project which shows odd behaviour. At first glance, the source code seems OK to me, so it might be a bug. It needs: - MySQL running, a user named test without password but with the ability to create a database.table

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Christof Thalhofer
Hi Tobi, I wrote: Use one connection which you create in a module (not class) Now I saw, you use a module. That's ok. But I am quite sure you create a deadlock. But I'm too tired to test it now. https://de.wikipedia.org/wiki/Deadlock_%28Informatik%29 Alles Gute Christof Thalhofer --

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Tobias Boege
On Fri, 12 Sep 2014, Christof Thalhofer wrote: Hi Tobi, Am 11.09.2014 um 19:57 schrieb Tobias Boege: attached is a project which shows odd behaviour. At first glance, the source code seems OK to me, so it might be a bug. It needs: - MySQL running, a user named test without

Re: [Gambas-user] gb.db.form: Program hangs after erasing content in a DataControl and clicking into a DataBrowser

2014-09-11 Thread Benoît Minisini
Le 11/09/2014 19:57, Tobias Boege a écrit : Hi, attached is a project which shows odd behaviour. At first glance, the source code seems OK to me, so it might be a bug. It needs: - MySQL running, a user named test without password but with the ability to create a database.table