Dropbox has been working well for me for the better part of a year now, but in the past week or so it has started locking up when working with auto-generated Python executable files (*.pyc). After I run a Python script, it automatically generates a compiled version of the routine in a subfolder, and all Dropbox has to say about it is, "Can't sync yaddayadda.pyc." I'd like to take this moment to strongly recommend more verbose error/logging messages in general. Same thing happens on both Windows 7 and Linux Mint 18.3.
☺"pyc" extension is for PYthon Compiled files, not executable. 😉 They're not something mandatory and very version specific, so better don't sync the subdirectory, you mentioned.
Hope this helps.
No, this does not help at all, because these files used to sync just fine, and are labelled according to their version number and therefore won't conflict, and in other folders I've had the same type of files continue to sync just fine; it's just in the one folder.
Community Moderator @ Dropbox
Did this post help you? If so please give it a Like below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
Still stuck? Ask me a question! (Questions asked in the community will likely receive an answer within 4 hours!)
...In what context are you using the .pyc file you’ve stored in Dropbox as you’re running the script? It sounds that the the file’s is being as another app is trying to access it that's triggering the error message....
Actually, would be really strange (softly said) if locking is a reason. Compiled form is produced once only and gets updated only when script gets changed, so locking can't affect (or at least don't have to). Even more, the compiled form is optional and if there is some problem, Python interpreter keep "on fly" generated variant in RAM.
Hope this casts some light.
I started having this same issue. *.pyc files and __pycache__ folders are stopping everything from syncing. Is there any update on this? I have looked for a way to ignore all *.pyc files but have not found a way to do this with dropbox.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!