Can't set_user or IP address with Python?

Jonathan

Posted on
Nov 27 2013

We can't seem to successfully set either the user's email address or IP with Raygun. Everything comes through just great. We can't see where the email address is supposed to appear and the IP Address is "Not Provided".

Are we doing something wrong?

cl = raygunprovider.RaygunSender(config.RAYGUN_KEY) 
cl.set_version("2013.2013.12.11") 
cl.set_user('test@simpletax.ca')

rqst_info = {} 
rqst_info['ipAddress'] = request.remote_addr 

Jonathan

Posted on
Nov 27 2013

Fixed in the latest raygun4py (1.1.2)! Yay!


John-Daniel Trask

Raygun

Posted on
Nov 27 2013

Pleased it's working for you!

Regards,

Callum Gavin


Reply