Skip to content

postgres problem psycopg2.InterfaceError: connection already closed #2923

@marco-foscato

Description

@marco-foscato

On MacOS
aiida_core 1.0.0.b3
postgres 11.2 installed via Homebrew
python 3.7.3

Error from pytest on aiida-diff after the number of connection (see jamesnunn/pgtest#14):

self = 
autocommit = False

    def _set_autocommit(self, autocommit):
        with self.wrap_database_errors:
>           self.connection.autocommit = autocommit
E           psycopg2.InterfaceError: connection already closed

../aiida_virtualenv/lib/python3.7/site-packages/django/db/backends/postgresql/base.py:236: InterfaceError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions