On Apr 8, 2008, at 3:02 PM, Alex Ezell wrote:
>
> On Apr 8, 1:20 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
>> On Apr 8, 2008, at 12:50 PM, Alex Ezell wrote:
>>
>>> The setup_all() call seemed to solve the issue with the mapper. Now,
>>> I'm getting an error like:
>>
>>> 'ColumnProperty' object has no attribute 'key'
>>
>>> when I attempt the session.merge(). The column it seems to happen
>>> with
>>> is defined as:
>>
>>> id = Field(Integer,
>>> PassiveDefault(text("nextval(('history_seq'::text)::regclass)")),
>>> colname='history_id', primary_key=True)
>>
>> a stack trace will help to debug this issue.
>
> Good point ;)
>
> I've pasted it here: http://dpaste.com/43794/
>
> Thanks for taking a look.
thats really weird. mappers still aren't compiled, or at least that
property isn't. try saying compile_mappers(). i think we need to
see how you're doing all this, though. your elixir/ORM everything
should be fully imported and setup before you do any pickle activity.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---