On Tue, Mar 9, 2010 at 12:43, [email protected] <[email protected]> wrote:

> Firstly, thank you to all who replied to me about postgresql
> PGBigInteger - I now have some test code which generates the SQL to
> create a postgresql table with types of bigint, so that is one scaling
> issue I know is covered.
>
> My question: I have been working through the tutorial at
> http://elixir.ematia.de/trac/wiki/TutorialDivingIn . I am doing the
> tutorial exactly as it is written with sqlite. My problem is that when
> I get to the first session.commit() I get this traceback - is there
> possibly some step missing in the tutorial?:

The tutorial is meant to be used on SQLAlchemy 0.5 or later. On
earlier versions of SQLAlchemy (I guess that's your case), you either
need to change the settings of Elixir's default session, or use
.flush() instead of .commit() in the tutorial, or create transactions
manually (with session.begin()).

Hope it helps,
-- 
Gaƫtan de Menten

-- 
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en.

Reply via email to