Quantcast
Channel: All AppDynamics Discussions posts
Viewing all articles
Browse latest Browse all 1667

TypeError with Python Agent for Django with SQLAlchemy and Postgres

$
0
0

Hello

 

I'm trying out Appdynamics with a Django Application, which uses SQLAlchemy. 

 

When accessing the page, which uses SQLAlchemy ORM for accessing a custom database a TypeError is raised:

 

Exception Type:

TypeError

Exception Value:

argument 2 must be a connection, cursor or None

Exception Location:

/home/aaa/virtualenvs/bbb/lib/python2.7/site-packages/psycopg2/extras.py in register_uuid, line 487

Python Executable:

/home/aaa/virtualenvs/bbb/bin/python

Python Version:

2.7.5

 

I'm using following versions:

 

appdynamics==4.1.10.5
appdynamics-bindeps-linux-x64==4.1.10.5
appdynamics-proxysupport-linux-x64==1.8.0.51
psycopg2==2.6.2
SQLAlchemy==1.1.0b1

 

Full traceback can be found here: http://pastebin.com/P4xBQtm5

 

When starting the application without pyagent it works. There must be some incompatibility with appdynamics and sqlalchemy. Did anybody encounter this problem and has a solution?

 

Kind regards,

Philip

 


Viewing all articles
Browse latest Browse all 1667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>