AttributeError: 'SigSafeLogger' object does not have 'logger' attribute

I am trying to integrate celery mixpanel into my backend and keep getting the following error. Can anyone help?

Traceback (last last call):

File "/home/modalyst/webapps/django/lib/python2.7/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home/modalyst/webapps/django/modalyst/modalyst/main2/views.py", line 3959, in item_manager_add et.run('New Item Created by Designer',{'user_id':11},token='REMOVED_MY_API_TOKEN') File "/home/modalyst/lib/python2.7/mixpanel/tasks.py", line 42, in run if l.logger.getEffectiveLevel() == logging.DEBUG: AttributeError: 'SigSafeLogger' object has no attribute 'logger' 
+4
source share
1 answer

It appears that SigSafeLogger objects SigSafeLogger not have a logger attribute.

Do not attempt to access this attribute. If you are not doing this directly, stop passing SigSafeLogger objects to any code that raises this error.

0
source

All Articles