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

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

> Something about the data is causing the problem, either a data type mismatch
> or too much data.

Adrian,

   What do you mean by "too much data?" There are three columns of strings
(some have the second column empty), and 114 rows.

> Might try: self.appData.cur.execute("SELECT * from Data limit 10") to see
> if its a excess data problem.

   Makes no difference. The limit can be 10, 5, or 1 and it still seg faults
when I try invoking the app.

> Try the following to see if its an empty string problem:
> for c in range(33):
>          if self.dataGrid.GetCellValue(r,c) == None:
>            row.append('None)

   I did this without the initial single quote. No difference!

   This is completely strange and highly puzzling. There are no issues when I
look at the data with the SQLite shell. There are also no issues when data
are presented in any other widget type. This issue is really hanging me up
in a serious way.

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

_______________________________________________
list-pysqlite mailing list
list-pysqlite-FR6EJeJVuqdwc357pe9rcyQmJico6nz3epZhswDD4dQ@public.gmane.org
http://itsystementwicklung.de/cgi-bin/mailman/listinfo/list-pysqlite