# Register package with Registrator

**URL:** <https://discourse.julialang.org/t/register-package-with-registrator/27326>\
**Category:** New to Julia\
**Created:** [August 8, 2019, 7:20pm UTC](https://discourse.julialang.org/t/register-package-with-registrator/27326 "2019-08-08T19:20:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertdj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/robertdj/32/103_2.png) [@robertdj](https://discourse.julialang.org/u/robertdj)\
**Post date:** [August 8, 2019, 7:20pm UTC](https://discourse.julialang.org/t/register-package-with-registrator/27326/1 "2019-08-08T19:20:08Z")

</div>

This should be super simple and I have done it before, but I am running into problems registering a package for Julia v1.x.

[VoronoiCells](https://github.com/JuliaGeometry/VoronoiCells.jl) has been registered before, but now I was asked to register it again for Pkg3. The package is in the JuliaGeometry organization where [Registrator](https://github.com/JuliaRegistries/Registrator.jl) is not turned on, so I used the Web Interface: [https://pkg.julialang.org/registrator/](https://pkg.julialang.org/registrator/)

After hitting submit I got an error:

> ERROR: Registration failed: Changing UUIDs is not allowed

I have not knowingly changed the UUID of the package in `Project.toml` (if this is the UUID referred to) and VoronoiCells does not appear to be registered when searching [https://pkg.julialang.org/docs/](https://pkg.julialang.org/docs/).

Any hints would be appreciated!

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [August 8, 2019, 9:55pm UTC](https://discourse.julialang.org/t/register-package-with-registrator/27326/2 "2019-08-08T21:55:18Z")

</div>

If your package was previously registered in METADATA, then its UUID needs to match the one created automatically from the existing registration. That UUID is given by:

```julia
Pkg.METADATA_compatible_uuid("VoronoiCells")
UUID("e3e34ffb-84e9-5012-9490-92c94d0c60a4")

```

---

<div class="post-metadata">

**Author:** ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)\
**Post date:** [August 9, 2019, 8:39am UTC](https://discourse.julialang.org/t/register-package-with-registrator/27326/3 "2019-08-09T08:39:33Z")

</div>

You can also search for your package in the General registry, which will have the correct UUID. Your package should be here: [https://github.com/JuliaRegistries/General/blob/master/V/VoronoiCells/Package.toml](https://github.com/JuliaRegistries/General/blob/master/V/VoronoiCells/Package.toml)  
and the UUID entry in Package.toml is what you’ll need to paste into your Project.toml.

---

<div class="post-metadata">

**Author:** ![robertdj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/robertdj/32/103_2.png) [@robertdj](https://discourse.julialang.org/u/robertdj)\
**Post date:** [August 9, 2019, 12:31pm UTC](https://discourse.julialang.org/t/register-package-with-registrator/27326/4 "2019-08-09T12:31:34Z")

</div>

Thanks @rdeits and @asinghvi17 ! I will try again with your UUID 🙂
