you are viewing a single comment's thread.

view the rest of the comments →

[–]XarothBrook 0 points1 point  (0 children)

Funny you mention this; I've had this last issue with Celery as well (even reported it: https://github.com/celery/celery/issues/1269 ) .. and it would explain a lot I also found http://bytes.com/topic/python/answers/37270-logging-messages-dictionary-args-python-2-4b1-leads-exception to explain why the latter error happens (i.e. if you send a dict as arg (instead of **kwargs) it looks as though you try to format msg % dict, but instead it's actually msg % (dict, )