First time here? Check out the FAQ!
1

Why can't I run manage.py test askbot?
 

I keep getting:
psycopg2.ProgrammingError: autocommit cannot be used inside a transaction

I'm using PostgreSQL.

Is the solution to install an older version psycopg2 2.4.1?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
mrB's avatar
51
mrB
asked 13 years ago

Comments

see more comments

1 Answer

1

Yes, tests don't work with the new version of psycopg2, install the older one.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
link

Comments

see more comments