Re: [pysqlite] Seg Fault Only When Table Contains Data -- SOLVED!!!
Rich Shepard <[email protected]> Wed, 4 Jun 2008 10:35:19 -0700 (PDT)
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 3 Jun 2008, Adrian Klaver wrote: > From all your reports not executing this query prevents the seg faults. Would > seem to indicate that dbMethods.py needs to be looked at. To close this thread, I finally stumbled across the source of the problem. Not pysqlite, but wxPython's grid widget. When I originally wrote the code for the widget I copied from the demo code. The latter has quite a few event bindings, for which I wrote stub methods as place holders; each had evt.Skip() in it. On a whim, I commented out all those event bindings, and the application loads with data and runs as it should. I suspect the culprit is the one bound to a change in grid cell content, and the method code was not appropriate to the situation. Thanks very much for your responsiveness and help, Rich -- Richard B. Shepard, Ph.D. | Integrity Credibility Applied Ecosystem Services, Inc. | Innovation <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863