On Oct 9, 4:23 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> On Oct 9, 2007, at 4:39 AM, Simon Pamies wrote:
>
> > I have the following error:
>
> > sqlalchemy.exceptions.InvalidRequestError: Column 'DownloadTopic.ID'
> > is
> > not available, due to conflicting property
> > 'ID':<sqlalchemy.orm.properties.ColumnProperty object at 0xb761732c>
>
> we've had some bugs in the past regarding reflection of tables
> creating more than one copy of a particular Column object, which can
> produce this error...in particular I see you are overriding foreign
> keys against what's reflected and I recall there was an issue with
> that (specifically, ticket 728).   Try not using autoload=True, or
> try the latest 0.4beta6 version to see if it clears up.  If not, try
> to produce a full test case which shows the full range of what youre
> doing - the example below is only partial (i.e. whats a Model ?
> whats model.add() ?  etc.)

Unfortunately I can not install sqlalchemy 0.4 because of restrictions
on the server and because other applications use v. 0.3.10.

I solved this problem by using autocode (and by the way I created an
enhanced version of it called autocode4 - see
http://www.sqlalchemy.org/trac/wiki/UsageRecipes/AutoCode) and have no
autoload=True anymore.

Thanks for your help.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to