← Back to team overview

fuel-dev team mailing list archive

Re: DatabaseError: (DatabaseError) error with no message from the libpq

 

Hello Aleksey,

I did some research and found that this problem might be connected with the
way SQLAlchemy works with it's connections, leaving some of them open which
causes this error. So, you can try explicit session closing
(session.close() or even session.remove()) at the end of each request (look
at load_db_driver() method). Updating SQLAlchemy and psycopg2 might work,
as well.


On Fri, Apr 4, 2014 at 3:40 PM, Aleksey Kutepov <kutepoff@xxxxxxxxx> wrote:

>
> Hi all,
>
> Our team working with FUELWEB code which was forked more than a year ago.
> The problem is that psycopg2 raises "DatabaseError: (DatabaseError) error
> with no message from the libpq"
> And we cannot find the root cause. This happens in Receiver thread only at
> the first DB query in a method. It occurs sporadically without any
> "pattern".
>
> If anybody faced such problems we would appreciate any support.
>
> Best regards,
> Aleksey
>
>
> --
> Mailing list: https://launchpad.net/~fuel-dev
> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~fuel-dev
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Best regards,
Nick Markov

Follow ups

References