- 论坛徽章:
- 7
|
fastdfs的python客户端是不是不能用了? 除了可以上传,下载之外,其他的函数都报错。
list_one_group
list_all_groups
list_servers
提示ResponseError: [-] Error: Response size is mismatch, except: 210, actul: 210, 进入了源码看下,是这段报错
if recv_size % gi_fmt_size != 0:
errmsg = '[-] Error: Response size is mismatch, except: %d, actul: %d' \
% (th.pkg_len, recv_size)
get_meta_data则就直接报:
DataError: [-] Error:2, No such file or directory
storage_client.py 475行:
if th.status != 0:
raise DataError('[-] Error:%d, %s' % (th.status, os.strerror(th.status)))
而是用down_to_file却可以下载。 |
|