Code Monkey home page Code Monkey logo

fdfs_client's People

Contributors

mikegreen7892003 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

pj520 seemusic

fdfs_client's Issues

python3.5可以使用

跟着B站上的视频做项目,老师一直用python2,自己用python3到了django上传文件到fastdfs卡住一天,找到这个后才解决!非常感谢!

it can not be used in python3.6

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.