# Registrator broken?: Unexpected error in registration

**URL:** <https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026>\
**Category:** General Usage\
**Tags:** registry, general-registry\
**Created:** [May 15, 2025, 9:57am UTC](https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026 "2025-05-15T09:57:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![srs](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/srs/32/8206_2.png) [@srs](https://discourse.julialang.org/u/srs)\
**Post date:** [May 15, 2025, 9:57am UTC](https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026/1 "2025-05-15T09:57:59Z")

</div>

Hey guys, registrator isn’t working. Is something down here? I tried both the web app and the github app and they both give me “Unexpected error in registration” (very helpful)

The repo is this one, but it shouldn’t matter of course. [GitHub - sschuldenzucker/ParametricAdaptiveSampling.jl: Automatic adaptive sampling of one-dimensional parametric curves in Julia, mainly for plotting](https://github.com/sschuldenzucker/ParametricAdaptiveSampling.jl)

 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/f/5f9aeb2d4cceb76e093cac15e704e5349b7928fe.png)  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/1/f/1f30087bdb5e4c051ca9af220f79763f7df231f5.png)

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [May 15, 2025, 10:20am UTC](https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026/2 "2025-05-15T10:20:24Z")

</div>

This error usually indicates a problem with the package. Trying to register it locally with [LocalRegistry](https://github.com/GunnarFarneback/LocalRegistry.jl) is more informative.

```julia
julia> using LocalRegistry

julia> create_registry("test", "")
[ Info: Created registry in directory /home/gunnar/.julia/registries/test
"/home/gunnar/.julia/registries/test"

julia> register(registry = "test", commit = false)
[...]
ERROR: invalid version specifier: "1.11-1"
[...]

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

```

---

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [May 15, 2025, 10:22am UTC](https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026/3 "2025-05-15T10:22:32Z")

</div>

It would definitely be nice if Registrator forwarded that error message to the user.

Is this an issue for [RegistryTools](https://github.com/JuliaRegistries/RegistryTools.jl)? Maybe more details should be extracted from any thrown exception, in

> <https://github.com/JuliaRegistries/RegistryTools.jl/blob/b5ff4d541b0aad2261ac21416113cee9718e28b3/src/register.jl#L679>

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [May 15, 2025, 11:09am UTC](https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026/4 "2025-05-15T11:09:42Z")

</div>

Yes, this is in the RegistryTools domains. A PR is considerably more likely to be effective than an issue though.

---

<div class="post-metadata">

**Author:** ![srs](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/srs/32/8206_2.png) [@srs](https://discourse.julialang.org/u/srs)\
**Post date:** [May 15, 2025, 11:35am UTC](https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026/5 "2025-05-15T11:35:08Z")

</div>

OMG it’s working, thanks a lot!

Yeah would be really nice if that error was shown to the user.
