Yesterday I switched from Windows 7 to Linux Mint 12. Everything has been fine so far except some issues with Django and PostgreSQL.
I run some code which reads files and writes information to the database. On Windows it runs smoothly without any exceptions, however, on Linux I constantly get this:
django.db.utils.DatabaseError: current transaction is aborted, commands ignored until end of transaction block
And the end of the log: http://pastebin.com/Uf1Jb3fe
The script is called through terminal, imports django settings and then uses ORM, but I think this is not the case as in Windows everything is just fine.
So, what should I do? By the way, try to explain the solution in a very detailed way as I'm still a newbie in Linux.