4

我正在尝试将 mixpanel celery 集成到我的后端并不断收到以下错误。有人可以帮忙吗?

回溯(最近一次通话最后):

 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

1 回答 1

0

看起来SigSafeLogger对象没有属性logger

尽量不要尝试访问该属性。如果您不直接执行此操作,请停止将SigSafeLogger对象传递给引发此错误的任何代码。

于 2013-01-05T22:55:19.507 回答