current transaction is aborted...

45 views
Skip to first unread message

Matt Mansour

unread,
Nov 13, 2012, 12:09:22 PM11/13/12
to mezzani...@googlegroups.com
Howdy all -

I had a mezzanine instance running (mezz 1.14, django 1.4.0) install without cartridge. I decided to give cartridge a try. When I grabbed it it upgraded me to what I believe is the latest mezzanine verison and django 1.4.2. Now when I try to hit the site I get:

"current transaction is aborted, commands ignored until end of transaction block"

I will dig in, and if anyone might know what's going on the head's up would be a greatly appreciated time saver.

Any ideas?


Ken Bolton

unread,
Nov 13, 2012, 12:14:01 PM11/13/12
to mezzanine-users
Hi Matt,

That is the generic error message to indicate that your DB is out of sync with the application. To resolve this, start with a `python manage.py migrate --list | grep -v '*'`. Identify which applications are out of sync – most likely 'shop' based on what you said – and then run `python manage.py migrate shop` or whatever app is out of sync. If you do not have South installed (WHAT?!) a `python manage.py syncdb` should resolve the issue.

Let us know how it works out.

best,
ken

Matt Mansour

unread,
Nov 13, 2012, 3:00:49 PM11/13/12
to mezzani...@googlegroups.com
Ken thank you so much. I love the tip on identifying which apps are out of sync with the db. In this case I did not read the cartridge installation instructions closely enough. I did a fresh install  of the mezz/cartridge combo - instead of trying to integrate cartridge into an older virtualenv solo mezz install - and in fired right up.
Reply all
Reply to author
Forward
0 new messages