用python3.5调用fdfs_client时抛出异常raise DataError(errmsg + '(uploading)')
Python 3.5.2 (default, Nov 12 2018, 13:43:14)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from fdfs_client.client import Fdfs_client
>>> client = Fdfs_client('/etc/fdfs/client.conf')
>>> ret = client.upload_by_filename('test1')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/python/FastDFS/fdfs_client-py-master/fdfs_client/client.py", line 88, in upload_by_filename
raise DataError(errmsg + '(uploading)')
fdfs_client.exceptions.DataError: [-] Error: test1 is not a file.(uploading)
>>>
可是我明明有test1这个文件啊