美文网首页
文件名编码问题,导致数据文件夹里面数据采不走

文件名编码问题,导致数据文件夹里面数据采不走

作者: 111啊大苏打 | 来源:发表于2019-12-26 19:16 被阅读0次

日志报错:

未知错误:Traceback (most recent call last): File "/DTS/TransferSoft/producer.py", line 46, in Producer fileList, realSum, latestList = matchList(configDict[u"root_code"], configDict[u"source_dir"], business, configDict.get("CTCL", 0), configDict["mine_id"], configDict, pushSocket) File "/home/DTS/DTS_pyc/TransferSoft/DAM/filematch.py", line 33, in matchList File "/DTS/Python27/lib/python2.7/posixpath.py", line 71, in join path += '/' + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 1: ordinal not in range(128)

替换新代码

DTS/TransferSoft/DAM/filematch.py

相关文章

网友评论

      本文标题:文件名编码问题,导致数据文件夹里面数据采不走

      本文链接:https://www.haomeiwen.com/subject/nrploctx.html