Ed Leafe wrote: > Just thought I'd pass this on in case anyone else runs into it. I've > been testing out some of the DataSet changes by working interactively > with the dGrid control and running code in the Command Window, but when > I would try to filter the dataset, I'd get error messages such as: > ProgrammingError: library routine called out of sequence > > Of course, I thought I was doing something wrong, but while it > worked in the code, it didn't work from the Command Window. I googled > around a bit, and found that this same error was reported by someone who > got it when running their SQLite code from PyCrust, which is the > underlying class for the Command Window shell. I'm going to contact > Patrick O'Brien to see if he can shed some light on this, but I thought > I'd pass this info on in case anyone else was playing with this code and > running into the same thing.
PyCrust redirects some of the stuff in sys. It probably has something to do with that.
-- Paul McNett http://paulmcnett.com http://dabodev.com
©2006 Paul McNett |