Re: [pysqlite] Seg Fault Only When Table Contains Data

Rich Shepard <[email protected]> Tue, 3 Jun 2008 14:11:27 -0700 (PDT)
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Tue, 3 Jun 2008, Adrian Klaver wrote:

> A couple of things:
> self.nRows = self.GetNumberRows()  I know this is overriding
> self.dataGrid.GetNumberRows() but I would rename it just to avoid
> potential naming issues.

   Great catch, Adrian! That's a remnant when I had a separate gridTableBase
class. However, renaming that function makes no difference.

> where does:
> self.appData.cur.execute("SELECT * from Data") occur?

   In the dbMethods.py module, function OpenDB().

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