[sqlalchemy] Re: Getting useful error messages

2010-02-25 Thread Hollister
Ok...maybe I'm missing something, but why wasn't that raised in this case instead of the rather cryptic exception? On Feb 18, 4:59 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Feb 18, 2010, at 1:16 PM, Hollister wrote: I ran into this also and it was caused by forgetting to map the

Re: [sqlalchemy] Re: Getting useful error messages

2010-02-25 Thread Michael Bayer
Hollister wrote: Ok...maybe I'm missing something, but why wasn't that raised in this case instead of the rather cryptic exception? I'm looking back and I don't see that we've established specifically what this case is. Would need to see that in order to investigate. On Feb 18, 4:59 pm,

[sqlalchemy] Re: Getting useful error messages

2010-02-18 Thread Hollister
I ran into this also and it was caused by forgetting to map the class to the table. Make sure you have a line like: orm.mapper(TaskAction, taskaction_table) Mike: should there be a more specific error message for a missing mapping? -aw On Feb 3, 11:04 am, Michael Bayer

Re: [sqlalchemy] Re: Getting useful error messages

2010-02-18 Thread Michael Bayer
On Feb 18, 2010, at 1:16 PM, Hollister wrote: I ran into this also and it was caused by forgetting to map the class to the table. Make sure you have a line like: orm.mapper(TaskAction, taskaction_table) Mike: should there be a more specific error message for a missing mapping? there's