Лыжи не едут
Дописал в /etc/profile
export LANG='ru_RU.UTF-8'
перегрузился
Code:
/tmp/harddisk/www/sms/send.py 38068xxxxxxx hjijifjiodfjgoijiodfgjidofg
[False, False, False, False]
Traceback (most recent call last):
File "/tmp/harddisk/www/sms/send.py", line 27, in <module>
print(s.send_sms(phone, message))
File "/tmp/mnt/disc0_3/www/sms/sender.py", line 179, in send_sms
if self.send_sms_part(phone, temp_message[:size]):
File "/tmp/mnt/disc0_3/www/sms/sender.py", line 111, in send_sms_part
list = agent.is_contact_list(packet)
File "/tmp/mnt/disc0_3/www/sms/mrim.py", line 466, in is_contact_list
phone = str(self.get_bytes_from_packet(packet, dlen), 'UTF-8')
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-5: invalid dat
a
[maxya@maxya_wi_fi root]$