Forum Discussion

mohamed i.1's avatar
mohamed i.1
New member | Level 1
11 years ago

problem with frozen executable python program

when using dropbox api sdk with python it's work very well with python script
but when converting this script to executable using cx_freeze i get this error
RESTSocketError:Error connecting to
"https://api-content.dropbox.com/1/files/auto/data.txt":SSL certificate error:[Errno2] No such file or directory

every time i check the file in dropbox and i found it
please what is the problem

thanks in advance

1 Reply

Replies have been turned off for this discussion
  • The SDK includes a file named "trusted-certs.crt". In "dropbox/rest.py", we determine the location of that file using pkg_resources.resource_filename.

    I'm not sure how cx_freeze deals with these kinds of things. How did you run cx_freeze?

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from 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!