-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [WinError 145] The directory is not empty #40
Comments
I had one other person report this recently, but unfortunately we never got to the bottom of it. I'm pretty sure it is not a TiddlyRemember bug, but something goofy with Windows, which is terrible about file locking, but it's possible there's something I could do to work around it if we can figure out what the problem is. Can you make sure that you have the latest version of both Anki and TiddlyRemember? This could be a permissions issue with your temp folder, which is something that's happened with Anki occasionally -- check out https://docs.ankiweb.net/#/files?id=permissions-of-temp-folder and see if that helps at all. |
@danielyaren Were you able to figure this out? I'd like to have something for the next person if so. :-) |
Unfortunately no, I didn't find a solution. |
Following #52 (comment). I tried to reboot, but unfortunately it didn't help. The error stays the same: Error
I have all TiddlyWiki, TiddlyRemember and Anki (reinstalled from scratch) in the last versions. Tried as well on clean TiddlyWiki + TiddlyRemember. Unfortunately, I don't know whether new versions caused this as I did not tried to sync since previous versions and had some OS updates in the meantime. |
OK, now I've managed it to work! Here's what I did:
I have not idea why those files could caused this kind of error, but hopefully it helps. |
I bet the issue is that the title of this tiddler, and thus the URL-encoded filename, is so long that Windows didn't want to accept the delete request when TiddlyRemember tried to clean up after itself (in theory, of course, it also wouldn't have been able to create this file initially, but most likely Node.js makes the creation request in a way that functions differently, while it's Python trying to request the deletion). I'll look into whether something can be done to detect and work around this. Thanks for the report! |
@GameDungeon, do you happen to have the names of the ones that said yes? If it's true that the content has an impact, then my hypothesis about this issue is completely wrong. I'm guessing it's just that they happened to have slightly shorter names, enough to make the difference, but it would be good to know for sure. |
Ah wait no, I thought that was the case, but no, there are some yes-es in there too. ( the long names in the search had confused me ) ( interestingly I have a version containing the bugged tiddlers through the sheer luck of me moving it in a USB while it was broken. Notably, all the backups did not contain these bugged tiddlers. ) |
From #65: We could also see if there's a different way to pick a filename for the exported tiddlers -- the new |
Would a short hash work? I guess hashes aren't known for their shortness.... |
It would work great, but it has to be a TiddlyWiki filter and I don't think there is a hash filter operator. |
Hey,
I get this error when attempting to sync.
I've attempted to remove the temporary folder & re-run, but the issue remains.
I've tried moving the wiki to a different different directory (like download) but no luck.
Thanks 😇
The text was updated successfully, but these errors were encountered: