Closed Bug 601611 Opened 14 years ago Closed 14 years ago

Traceback during customer care cron job

Categories

(support.mozilla.org :: Army of Awesome, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: wenzel)

References

Details

The customer care cron job throws this, if it is set up to log to syslog:

Traceback (most recent call last):
  File "/usr/lib64/python2.6/logging/handlers.py", line 782, in emit
    self.socket.sendto(msg, self.address)
TypeError: sendto() takes exactly 3 arguments (2 given)


It's probably an instance of this bug: http://bugs.python.org/issue7077

Need to avoid sending unicode to our logger.
Assignee: nobody → fwenzel
Blocks: 584886
This should be fixed by using smart_str on the tweet debug message.

http://github.com/jsocol/kitsune/commit/17e0a4a

(Confidently closing RESOLVED, please reopen if the prob reoccurs).
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2.5
Verified FIXED; my clean(er) Inbox tells me so :-)

(Thanks, Fred!)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.