Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

vas1992's avatar
vas1992
Helpful | Level 5
4 years ago
Solved

Sharing folder

Hello! I have a problem getting (and create) a link to a public folder in python:   dbx.sharing_create_shared_link(DxFold) dbx.sharing_get_shared_links(DxFold)   Everything works in python ...
  • Здравко's avatar
    Здравко
    4 years ago

    Hi vas1992,

    Yes, 'six' module is part of Python standard distribution and that's why preinstalled, of course.


    vas1992 wrote:

    ...

     

    (vRMS) pi@RU000Q:~/source/RMS $ python3 -m pip show six
    Name: six
    Version: 1.8.0
    ...

     


    Your version (1.8.0) is far old! 🤷 At that time 'ensure_str' isn't part of 'six' and that's why missing in your code. For first time it appears in some releases of version 1.11 and finally became part of the standard distribution in version 1.12.0.

    You have to update your 'six' version, at least 1.12 or newer, or even better update entire Python distribution to more recent one. 😉

    Hope this helps.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!