mikegreen7892003 / fdfs_client Goto Github PK
View Code? Open in Web Editor NEWfdfd_client
fdfd_client
跟着B站上的视频做项目,老师一直用python2,自己用python3到了django上传文件到fastdfs卡住一天,找到这个后才解决!非常感谢!
when upload file to fdfs ,a error occur:
ret = client.upload_by_filename('client.conf')
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/site-packages/fdfs_client_py-1.2.6-py3.6-linux-x86_64.egg/fdfs_client/client.py", line 85, in upload_by_filename
return store.storage_upload_by_filename(tc, store_serv, filename, meta_dict)
File "/usr/local/lib/python3.6/site-packages/fdfs_client_py-1.2.6-py3.6-linux-x86_64.egg/fdfs_client/storage_client.py", line 261, in storage_upload_by_filename
None, file_ext_name)
File "/usr/local/lib/python3.6/site-packages/fdfs_client_py-1.2.6-py3.6-linux-x86_64.egg/fdfs_client/storage_client.py", line 187, in _storage_do_upload_file
file_ext_name = bytes(file_ext_name) if file_ext_name else b''
TypeError: string argument without an encoding
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.