Closed stratosgear closed 2 years ago
Thanks for pointing this out. That is a excellent bug report, and you found a pretty obscure bug. I have worked up a tentative fix for the problem. I am updating the tests now and should be able to upload the new version to github relatively soon.
I have update the repository on GitHub. If you like you can try it out and make sure it is working for you. I am still adding tests, so things still might change before it goes onto pypi.
I wouldn't mind testing it locally (I would not do that on my nas server yet).
It seems easy to make a local build with:
git clone https://github.com/KenKundert/emborg.git
$ pip install --user ./emborg
but my question is HOW would I be able to remove the development version (from my local laptop) if I ever want to run the final/official release? I do not want to be stuck with a dev version!
You can uninstall a previously installed package with
pip3 uninstall emborg
Or, you can simply install the new version; doing so automatically removes an earlier version and replaces it. No worries about testing. I have run your test case and am confident it works. I only suggested it in case you have other things you wanted to make sure worked before I release the new version.
Ok, just recreated the above example on my laptop, from your latest master,and I can say that the issue is now gone! The issue can be closed! Thanks!
The release that fixes this issue (1.25) has been pushed to pypi.
It seems that if I try to restore files from a linked folder I get an error.
A demonstration of the failure:
It seems like emborg is trying to match the original path (the path that the symbolic link is pointing too) instead of the actual path.
Isn't this a bug on emborg?
Thanks, btw for an otherwise cool utility! :)