This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center
我正在尝试将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'

最佳答案

看起来SigSafeLogger对象没有属性logger
尝试不访问该属性如果不直接执行此操作,请停止将SigSafeLogger对象传递给引发此错误的任何代码。

07-24 15:38