You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

vas1992's avatar
vas1992
Helpful | Level 5
3 years ago

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
    Здравко
    3 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

797 PostsLatest Activity: 4 days ago
199 Following

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 or Facebook.

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!