Re: [sqlalchemy] Slightly confusing error when session set up incorrectly

2011-06-28 Thread Michael Bayer
On Jun 28, 2011, at 9:34 PM, Ben Sizer wrote: > Hello all, > > When using sqlalchemy 0.7 with sqlite, if I enter the path URI > incorrectly I will get an error like this: > >OperationalError: (OperationalError) unable to open database file > None None > > What does the "None None" signify?

[sqlalchemy] Slightly confusing error when session set up incorrectly

2011-06-28 Thread Ben Sizer
Hello all, When using sqlalchemy 0.7 with sqlite, if I enter the path URI incorrectly I will get an error like this: OperationalError: (OperationalError) unable to open database file None None What does the "None None" signify? Would it be possible to change this exception to be a bit more d