# PGFPlotsX dependency ArgCheck

**URL:** <https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979>\
**Category:** Visualization\
**Tags:** pgfplotsx\
**Created:** [May 11, 2021, 8:37pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979 "2021-05-11T20:37:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![GregR](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@GregR](https://discourse.julialang.org/u/GregR)\
**Post date:** [May 11, 2021, 8:37pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/1 "2021-05-11T20:37:17Z")

</div>

It looks like the package ArgCheck.jl got deregistered, or whatever happens when the Package Manager doesn’t know about a package. So this breaks PGFPlotsX. I am using Julia 1.6.1.

But the github repository is here:

> **[GitHub - jw3126/ArgCheck.jl: Package for checking function arguments](https://github.com/jw3126/ArgCheck.jl)**
>
> Package for checking function arguments. Contribute to jw3126/ArgCheck.jl development by creating an account on GitHub.

I was able to add the package using this URL, and now PGFPlotsX is working fine.

Regards,  
Greg

---

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [May 11, 2021, 8:58pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/2 "2021-05-11T20:58:15Z")

</div>

I doubt the package was “deregistered”. Can you post what happens when you do `]add ArgCheck`?

---

<div class="post-metadata">

**Author:** ![GregR](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@GregR](https://discourse.julialang.org/u/GregR)\
**Post date:** [May 11, 2021, 9:30pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/3 "2021-05-11T21:30:52Z")

</div>

ERROR: Unsatisfiable requirements detected for package ArgCheck [dce04be8]:  
…  
ArgCheck[dce04be8] has no known versions!

Sorry I couldn’t copy and paste, had to type in from another device.

Greg

---

<div class="post-metadata">

**Author:** ![jw3126](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jw3126/32/3086_2.png) [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Post date:** [May 11, 2021, 10:02pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/4 "2021-05-11T22:02:57Z")

</div>

If you want this to be debugged, it would be good to setup copy paste. What does `]registry status` give you? Are you able to install other packages? Can you provide the full error message when trying to install ArgCheck? What does `versioninfo()` give you?

---

<div class="post-metadata">

**Author:** ![GregR](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@GregR](https://discourse.julialang.org/u/GregR)\
**Post date:** [May 11, 2021, 10:12pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/5 "2021-05-11T22:12:48Z")

</div>

Here I finally got logged in properly. The Package Manager result is below.  
I forgot to mention this is seen on Windows 10.  
Perhaps a Windows thing only? I tried the same on an Ubuntu machine and it is fine.

@v1.6) pkg\> add ArgCheck  
Resolving package versions…  
ERROR: Unsatisfiable requirements detected for package ArgCheck [dce04be8]:  
ArgCheck [dce04be8] log:  
├─ArgCheck [dce04be8] has no known versions!  
└─restricted to versions \* by an explicit requirement — no versions left

(@v1.6) pkg\> registry status  
Registry Status  
[23338594] General ([GitHub - JuliaRegistries/General: The official registry of general Julia packages](https://github.com/JuliaRegistries/General.git))

Yes, I have successfully installed other packages.

julia\> versioninfo()  
Julia Version 1.6.1  
Commit 6aaedecc44 (2021-04-23 05:59 UTC)  
Platform Info:  
OS: Windows (x86\_64-w64-mingw32)  
CPU: Intel(R) Core™ i7-7600U CPU @ 2.80GHz  
WORD\_SIZE: 64  
LIBM: libopenlibm  
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)  
Environment:  
JULIA\_PKG\_DEVDIR = C:\Users\gregr\gitrepos

---

<div class="post-metadata">

**Author:** ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Post date:** [May 11, 2021, 11:09pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/6 "2021-05-11T23:09:59Z")

</div>

sounds like your registry might be corrupted. Try this:

```julia
(@v1.6) pkg> registry rm General
    Removing registry `General` from ~/.julia/registries/General

(@v1.6) pkg> registry add General
       Added registry `General` to `~/.julia/registries/General`

```

---

<div class="post-metadata">

**Author:** ![GregR](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@GregR](https://discourse.julialang.org/u/GregR)\
**Post date:** [May 11, 2021, 11:30pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/7 "2021-05-11T23:30:30Z")

</div>

That took a few minutes to complete, but it resolved the problem! ArgCheck now adds in a few seconds, no errors!

Thank you!  
GregR

---

<div class="post-metadata">

**Author:** ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Post date:** [May 11, 2021, 11:31pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/8 "2021-05-11T23:31:59Z")

</div>

Ok great! I think it can get corrupted if it’s interrupted (e.g. ctrl+c or closing the Julia session) while the registry is updating. Not ideal but something others have run into on these forums too. Luckily it’s pretty easy to fix by just removing it and adding it again.

---

<div class="post-metadata">

**Author:** ![GregR](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@GregR](https://discourse.julialang.org/u/GregR)\
**Post date:** [May 11, 2021, 11:36pm UTC](https://discourse.julialang.org/t/pgfplotsx-dependency-argcheck/60979/9 "2021-05-11T23:36:57Z")

</div>

I do occasionally Ctrl+C on a running process. It’s a good thing to know, thanks.
