LC_COLLATE=en_US.UTF-8
linuxshell脚本怎么运行
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=POSIX
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
更新我搞错了cp,对不起。在
我认为,在本例中,python异常与此⽆关,因为它是在bash中中断的。这个回溯能帮上什么忙吗?在+ /tmp/callrecord-renamer.py --skip --contacts $'/var/datastore/T\303\274nci/Rendszer/DropboxClone/contacts.ini'
$'/var/datastore/T\303\274nci/DropboxClone/H\303\215V\303\201SFELV\303\211TELEK'
Traceback (most recent call last):
File "/tmp/callrecord-renamer.py", line 316, in
main()
File "/tmp/callrecord-renamer.py", line 312, in main
ding_path, contacts_path, _change, args.skip_errors).update_files_in_directory()
File "/tmp/callrecord-renamer.py", line 87, in update_files_in_directory
File "/tmp/callrecord-renamer.py", line 56, in load
ad(self.file_path)
File "/usr/lib/python3.2/configparser.py", line 689, in read
self._read(fp, filename)
File "/usr/lib/python3.2/configparser.py", line 994, in _read
for lineno, line in enumerate(fp, start=1):
File "/usr/lib/python3.2/codecs.py", line 300, in decode
(result, consumed) = self._buffer_decode(data, s, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 3176: invalid start byte
更新2
我已经检查过:这个错误是独⽴于bash代码引起的。.ini⽂件编码错误。。。对不起所有调试器助⼿!

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。