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
Storage plugin file errors on Windows #6
Comments
I also had this error and posted on the Discourse. I tried tinkering around for a bit and found the following:
Temporary solution |
Thanks for looking into this! That behaviour is interesting, I thought |
I don't think it's this |
Heh, not for me unfortunately:( With the empty |
Hmm, interesting. I should have noted originally, I do get the same precompilation error, but if I manually run those steps |
I think you are correct. When I commented out the initially suspicious lines 232-240 in |
Thanks for narrowing it down guys! The So in order to create a directory, On my Linux machine, I see this: julia> BaseDirs.projectpath(BaseDirs.Project("DataToolkit"))
"julia/datatoolkit/" The code for Windows implementation of So from that, it looks like the fix would be adjusting how |
The use of a hardcoded I think what needs to be changed here might just be the behaviour when only a project is provided. |
I've just pushed tecosaur/BaseDirs.jl@729a9e33f23, if you might be able to try using ( |
Brilliant! This works on my Win10 :) |
I'll see if I've thought of any issues with the approach in the next ~day, and if not tag that as BaseDirs v1.2.2, and close this issue. Thanks for the help! |
v1.2.2 is now being registered (JuliaRegistries/General#100782), so I think I can (finally) close this 🥳 |
It seems that on windows, an error may be thrown during precompilation at
DataToolkitCommon.jl/src/store/inventory.jl
Line 223 in 8749570
The issue seems to be that somehow (mysteriously) the cache folder is already created as a file not a folder, leading to a
mkdir
error.I have absolutely no idea what's going on with this ATM.
The text was updated successfully, but these errors were encountered: