at this point you need to produce a full example that reproduces your
issue.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To post to this group, send email to sqlalchemy@googlegroups.com
To
Michael Bayer wrote:
the error message indicates that there is more than one Session in
play. a big reason for this is that people have import
sqlalchemy.ext.threadlocal lying around when they dont really want
that.
thanks for the hint,
I do not use threadlocal in any direct way but I am
On 12/16/06, robert rottermann [EMAIL PROTECTED] wrote:
now I would like to do something like:
data = readExcelsheet(xx)
for newRec in data:
for fname, fvalue in newRec.items():
mapper.c[fname] = fvalue
session.save(mapper)
session.flush()
Each time through the loop, you're
On 12/16/06, robert rottermann [EMAIL PROTECTED] wrote:
more ideas ?
robert
I've run out of ideas.
It might be better to show us snippets from the real code, rather than
the pseudocode. As it is, we're just guessing about what your code
looks like. And if the pseudocode you showed doesn't
the error message indicates that there is more than one Session in
play. a big reason for this is that people have import
sqlalchemy.ext.threadlocal lying around when they dont really want
that.
--~--~-~--~~~---~--~~
You received this message because you are