-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
SystemError: opening file "C:\\Users\\justi\\.julia\\registries\\General\\Registry.toml": No such file or directory #1667
Comments
Can you try to delete |
it works, thanks for solving my problem
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: Fredrik Ekre <[email protected]>
发送时间: Wednesday, February 12, 2020 1:11:49 AM
收件人: JuliaLang/Pkg.jl <[email protected]>
抄送: Tong, Jiacheng <[email protected]>; Author <[email protected]>
主题: [External] Re: [JuliaLang/Pkg.jl] SystemError: opening file "C:\\Users\\justi\\.julia\\registries\\General\\Registry.toml": No such file or directory (#1667)
Can you try to delete C:\Users\justi\.julia\registries\General and try again?
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1667?email_source=notifications&email_token=AI64ZNYUEB42DY7RGAOD4E3RCOOLLA5CNFSM4KTT5VUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELPVZ5Y#issuecomment-585063671>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AI64ZN5LGJJ23V47ENVPOITRCOOLLANCNFSM4KTT5VUA>.
|
Perhaps we can detect this ourselves and re-download General if this is the case? |
when you say delete how do you mean facing the same issue over here when tried to add the general after removing it since DataFrames was having issues with versioning julia> Pkg.Registry.add("General") |
I see this error too from time to time on Windows computers (last time on a Windows computer with julia 1.5.1 from a student). Removing Here are other reports: Is there any information that would be helpful to collect the next time this issue shows up? Maybe Linux and Mac handle better transient network issues when doing a git checkout than Windows? |
Windows or some program on your computer deletes it. |
Here is another example where Windows deleted folders even: #2017 (comment), and here are a bunch more https://discourse.julialang.org/search?q=Registry.toml%22%3A%20No%20such%20file%20or%20directory |
It's absolutely bananas that Windows just deletes stuff, but that seems to be what happens. |
Yesterday, I had the first time seen this error ( I had a look at the code, and it is really strange: |
The error is from a later stage after the registry has been copied to the correct place. |
Hi, such things seem to happen also outside of Julia... https://www.tenforums.com/general-support/121122-empty-folders-disappearing.html There seems to be a thing like StorageSense which may be involved. Also some people report about Disclaimer: I am not a windows user, just do it occasionally in a VM - for the odd .docx and for testing Julia packges, so all of this was just googled. |
I hear about this problem very often from new Pluto users. I think the most common cause is:
The result is either this issue, or an incomplete registry ("package not found" errors) - both have unhelpful error messages. But using the tarball directly in future Pkg version will also solve this issue, right? |
So it seems that there are possibly two problems here: windows possibly deleting files, and slow communication regarding packages. @fonsp: did you experiment with switching of the package server comunication by unsetting JULIA_PKG_SERVER ? EDIT: May be also related to #2175 - it seems that the default for windows is being reset to git cloning. |
I'm also getting this |
one of my students got this error on Mac:
|
Hi, I got the same error message even though I had my StorageSense turned off. But I was able to succesfully run the Pkg.add() command after adding, the "/.julia/registries/General" folder to my windows defender exclusions. |
to give an idea of prevalence: in my class of 86, ~6 students had this problem, where they needed to delete the |
Is what's happening here something like this?
Full section (this is from Pkg that shipped with 1.5.1 so I could line up with the trace in https://discourse.julialang.org/t/unable-to-install-ijulia/47160) Lines 1013 to 1029 in aaf4e6e
If that is what's happening, this might be a fix: #2349 |
This appears to be fixed in 1.6 already, by changing from |
Just to let you all know, It is not only Windows/Mac issue. I just had it on Linux as well. |
That supports the theory that it's the |
Nightly will still do this if a registry dir is present but missing a |
This also happened to me after Ctrl-C on a |
The issue also happened to me after I shut down installing packages, deleting the General folder actually works for me, thanks. |
Likely fixed by #2356 |
wonderfull |
This did the trick |
May be function |
Hello all, I think I am just now seeing this issue crop up in September 2023. I am using Julia 1.9.2 on Windows 10, build 19045.3448. I am also a Pluto user. Anything I can do to help reproduce this? |
If you have a question please search or post to our Discourse site: https://discourse.julialang.org.
We use the GitHub issue tracker for bug reports and feature requests only.
If you're submitting a bug report, be sure to include as much relevant information as
possible, including a minimal reproducible example and the output of
versioninfo()
.If you're experiencing a problem with a particular package, open an issue on that
package's repository instead.
When i type Pkg.add("IJulia")
it returns: SystemError: opening file "C:\Users\justi\.julia\registries\General\Registry.toml": No such file or directory
Thanks for contributing to the Julia project!
The text was updated successfully, but these errors were encountered: