Traceback (most recent call last):


 "/usr/lib/python2.7/logging/handlers.py", line 76, in emit

if self.shouldRollover(record):


 "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover

msg = "%s\n" % self.format(record)


 "/usr/lib/python2.7/logging/__init__.py", line 732, in format

return fmt.format(record)


 "/usr/lib/python2.7/logging/__init__.py", line 474, in format

s = self._fmt % record.__dict__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)

Traceback (most recent call last):


 "./swjsq.py", line 790, in <module>

ins.run(uid, hashlib.md5(pwd).hexdigest())


 "./swjsq.py", line 425, in run

'To Upgrade: %s %s %s' % ( _avail['province'], _avail['sp'], ", ".join(_to_upgrade))


 "./swjsq.py", line 198, in uprint

print(s.encode('utf-8'), end = end)


 "./swjsq.py", line 179, in print

logfd.write(line.encode('utf-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 21: ordinal not in range(128)
