zhuxiaochun1995

Results 3 comments of zhuxiaochun1995

cd glusterfs-mountpoint on client. ```touch TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.pem``` will get 'UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3'. the err log is ``` [2020-01-02 09:57:28.471212] E [syncdutils(worker /tank/gfs):339:log_raise_exception] : FAIL: Traceback (most recent...

``` >>> import sys >>> sys.getdefaultencoding() 'utf-8' >>> ``` the environment LANG and LC_ALL is en_US.UTF-8.

debug with pysnooper: ``` 244 07:45:25.870313 line 1017 try: 245 07:45:25.870473 line 1018 f = open(change, "r") 246 New var:....... f = 247 07:45:25.870691 line 1019 clist = f.readlines() 248...