[wxPython-users] Re: Fresh Eyeballs Needed to See Error

Rich Shepard rshepard at appl-ecosys.com
Fri Nov 3 13:49:48 PST 2006


On Fri, 3 Nov 2006, John Salerno wrote:

> I could be way off here, and I suppose it depends on how these files are
> used elsewhere, but it seems like the OnOpenDB method (where cur is
> defined) of DBTools never gets called before the setUpTree method of
> modPolicy, and this is where DBTools.cur is referenced. Does that make any
> sense?

John,

   Ah, yes. I think you hit it dead center. The application will not start,
and I'm trying to load data when the source is not yet specified. Sigh. I
knew I was too close to see the problem.

   I need to add a test so if projname is blank, those statements do not
execute.

> Also, a side note: it's not necessary to include the semicolon in your
> queries, but I suppose if it works, it doesn't hurt to leave them in.

   Oh. OK. I mimic the syntax of using SQLite3 from the command line.

Many thanks!

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)    |            Accelerator
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863




More information about the wxpython-users mailing list