Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
vas1992
4 years agoHelpful | Level 5
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 ...
- 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.
Здравко
4 years agoLegendary | Level 20
Hi vas1992,
Greg-DB asked you for result of a command like:
pip3 show six
or another option:
python3 -m pip show six
Whatever you prefer. 😉 Function 'ensure_str' should come up there, that seems missing now for some reason.
In addition you can find out your six.py place by using following on command line:
echo "import six; print('path to six:', six.__file__)" | python3
... and inspect byself what's there - is there such a function defined or referred/redirected by some way 🧐. Normally there should be.
Good luck and happy New Year!
Greg-DB
Dropbox Community Moderator
4 years agoThat's correct, v11.25.0 of the 'dropbox' library depends on at least v1.12.0 of 'six', so you need at least that version to get this working.
- vas19924 years agoHelpful | Level 5
Thanks! Everything worked as it should!
About 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!