我正在尝试将mixpanel芹菜整合到我的后端并继续收到以下错误。有人可以帮忙吗?
追踪(最近一次呼叫最后一次):
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'
答案 0 :(得分:0)
看起来SigSafeLogger
个对象没有属性logger
。
尽量不要尝试访问该属性。如果您没有直接执行此操作,请停止将SigSafeLogger
个对象传递给引发此错误的任何代码。