Can you help us? In dal.py there is a log_execute function. Can you add a 
print command in there to see what command is sent to the driver?

On Monday, 3 September 2012 07:24:36 UTC-5, Johann Spies wrote:
>
> In certain circumstances where I cannot exactly determine what is causing 
> this, using this recent addition causes the psycopg2-driver to complain:
>
> One example:
>
>  (db.akb_auth_sa_univ_link.year == item.year)).count(cache=(cache.ram,3600))
>
> causes
>
>
> InternalError: current transaction is aborted, commands ignored until end of 
> transaction block
>
>
> changing the code to count() as it was previously, solved the problem.
>
> As I said the problem show up from time to time.  It seems when there are 
> more complicated queries or more data involved.
>
> Regards
> Johann
>
> -- 
> Because experiencing your loyal love is better than life itself, 
> my lips will praise you.  (Psalm 63:3)
>
>

-- 



Reply via email to