# Trouble registering package

**URL:** <https://discourse.julialang.org/t/trouble-registering-package/22896>\
**Category:** General Usage\
**Tags:** package\
**Created:** [April 7, 2019, 9:23pm UTC](https://discourse.julialang.org/t/trouble-registering-package/22896 "2019-04-07T21:23:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshua\_jones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshua_jones/32/7554_2.png) [@joshua\_jones](https://discourse.julialang.org/u/joshua_jones)\
**Post date:** [April 7, 2019, 9:23pm UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/1 "2019-04-07T21:23:17Z")

</div>

> [@Switching package registration systems soon](https://discourse.julialang.org/t/switching-package-registration-systems-soon/22677/17):
>
> METADATA.jl

So, I’ve tried registering [SeisIO.jl](https://github.com/jpjones76/SeisIO.jl) many times now over the course of 2+ years, including the new system that will take effect tomorrow, and it never seems to get registered. I checked for naming conflicts in the past and found none (though there’s now a newer package on Github, unregistered with no releases, that uses the same name). How and where can I check the registration status in the current (new) system? How long should registration take, and what should I do if I don’t see that happen?

---

<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:** [April 7, 2019, 11:48pm UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/2 "2019-04-07T23:48:27Z")

</div>

I don’t see any record of any of your earlier attempts, but there is an open PR to register SeisIO here: [Register new package SeisIO.jl v0.1.3 by attobot · Pull Request #22347 · JuliaLang/METADATA.jl · GitHub](https://github.com/JuliaLang/METADATA.jl/pull/22347) You can see from the test output that there is an issue with the uuid you’ve chosen, which is why the PR is failing its tests: [Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/JuliaLang/METADATA.jl/jobs/509856282#L511)

(By the way, it would probably be better to split this off into its own topic so that we can keep helping you without detailing the thread)

---

<div class="post-metadata">

**Author:** ![joshua\_jones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshua_jones/32/7554_2.png) [@joshua\_jones](https://discourse.julialang.org/u/joshua_jones)\
**Post date:** [April 8, 2019, 1:58am UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/3 "2019-04-08T01:58:04Z")

</div>

Looks like this was split off to a new topic. Current instructions from the output are:

```julia
ERROR: LoadError: LoadError: Tagged version 0.1.3 of SeisIO declares the package UUID to be 
"e2f1b5a8-5fbb-5d5d-94aa-e39813b81559" in its Project file, which does not match the package's 
METADATA-compatible UUID "b372bb87-02dd-52bb-bcf6-c30dd83fd342".

To fix this error, change the UUID to be "b372bb87-02dd-52bb-bcf6-c30dd83fd342" and retag.

```

I edited Project.toml to the compatible UUID. Will this be fixed if I do another release (i.e., increment to 0.1.4)?

---

<div class="post-metadata">

**Author:** ![tkoolen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkoolen/32/1603_2.png) [@tkoolen](https://discourse.julialang.org/u/tkoolen)\
**Post date:** [April 8, 2019, 2:15am UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/4 "2019-04-08T02:15:54Z")

</div>

See [GitHub - attobot/attobot: Julia package release bot](https://github.com/attobot/attobot#updatingdeleting-a-release).

---

<div class="post-metadata">

**Author:** ![joshua\_jones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshua_jones/32/7554_2.png) [@joshua\_jones](https://discourse.julialang.org/u/joshua_jones)\
**Post date:** [April 8, 2019, 2:31am UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/5 "2019-04-08T02:31:54Z")

</div>

Thank you, tkoolen. Tried the delete/rerelease approach (using the manually-corrected UUID) and now we wait. (edit) I think that worked.

---

<div class="post-metadata">

**Author:** ![dehann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dehann/32/2003_2.png) [@dehann](https://discourse.julialang.org/u/dehann)\
**Post date:** [April 16, 2019, 4:08pm UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/6 "2019-04-16T16:08:51Z")

</div>

Hi, I’m having trouble with JuliaRegistrator process for IncrementalInference.jl v0.5.5 too. Thought I should at least link a description of the issue I’m having in this thread (no solution yet):

> <https://github.com/JuliaRegistries/General/pull/49#issuecomment-483725475>
>
> Hi, not sure if I did something wrong but I'm having trouble installing Incremen…talInference.jl since this PR. Thought I'd ask here first:
> 
> Two behaviors seem weird:  
> \- Trying to install the new version fails hard in Pkg, and 
> \- where do JuliaRegistrator suggested SHAs for tags come from -- they don't match anything in repo?
> - Similarly for SHA in Versions.toml
> 
> \> I tried installing recent packages that were registered with JuliaRegistrator, and they seem to install fine, although I can't find their new tags on github either.
> 
> \## Installing IIF v0.5.5
> 
> Trying to install the new IIF v0.5.5 just results in a hard package error:
> \`\`\`julia
> $ julia -O3
> \_
> \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org
> (\_) | (\_) (\_) |
> \_ \_ \_| |\_ \_\_ \_ | Type "?" for help, "\]?" for Pkg help.
> | | | | | | |/ \_\` | |
> | | |\_| | | | (\_| | | Version 1.0.3 (2018-12-18)
> \_/ |\\\_\_'\_|\_|\_|\\\_\_'\_| | Official https://julialang.org/ release
> |\_\_/ |
> 
> julia\> mkpath("/tmp/testiif055")
> "/tmp/testiif055"
> 
> julia\> cd("/tmp/testiif055/")
> 
> shell\> pwd
> /tmp/testiif055
> 
> (v1.0) pkg\> activate .
> 
> (testiif055) pkg\> add IncrementalInference
> Updating registry at \`~/.julia/registries/General\`
> Updating git-repo \`https://github.com/JuliaRegistries/General.git\`
> Resolving package versions...
> ERROR: AssertionError: p0 ≠ p1
> Stacktrace:
> \[1\] Pkg.GraphType.Graph(::Dict{Base.UUID,Set{VersionNumber}}, ::Dict{Base.UUID,Dict{Pkg.Types.VersionRange,Dict{String,Base.UUID}}}, ::Dict{Base.UUID,Dict{Pkg.Types.VersionRange,Dict{String,Pkg.Types.VersionSpec}}}, ::Dict{Base.UUID,String}, ::Dict{Base.UUID,Pkg.Types.VersionSpec}, ::Dict{Base.UUID,Pkg.Types.Fixed}, ::Bool) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:315
> \[2\] deps\_graph(::Pkg.Types.Context, ::Dict{Base.UUID,String}, ::Dict{Base.UUID,Pkg.Types.VersionSpec}, ::Dict{Base.UUID,Pkg.Types.Fixed}) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:307
> \[3\] resolve\_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Nothing) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:371
> \[4\] resolve\_versions! at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:316 \[inlined\]
> \[5\] #add\_or\_develop#62(::Array{Base.UUID,1}, ::Symbol, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1201
> \[6\] #add\_or\_develop at ./none:0 \[inlined\]
> \[7\] #add\_or\_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/API.jl:64
> \[8\] (::getfield(Pkg.API, Symbol("#kw##add\_or\_develop")))(::NamedTuple{(:mode,),Tuple{Symbol}}, ::typeof(Pkg.API.add\_or\_develop), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at ./none:0
> \[9\] do\_add!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:709
> \[10\] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:697
> \[11\] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:696
> \[12\] do\_cmd!(::Pkg.REPLMode.PkgCommand, ::REPL.LineEditREPL) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:603
> \[13\] #do\_cmd#33(::Bool, ::Function, ::REPL.LineEditREPL, ::String) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:577
> \[14\] do\_cmd at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:573 \[inlined\]
> \[15\] (::getfield(Pkg.REPLMode, Symbol("##50#53")){REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:923
> \[16\] #invokelatest#1 at ./essentials.jl:697 \[inlined\]
> \[17\] invokelatest at ./essentials.jl:696 \[inlined\]
> \[18\] run\_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:2273
> \[19\] run\_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:1034
> \[20\] run\_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:191
> \[21\] (::getfield(Base, Symbol("##718#720")){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:355
> \[22\] #invokelatest#1 at ./essentials.jl:697 \[inlined\]
> \[23\] invokelatest at ./essentials.jl:696 \[inlined\]
> \[24\] run\_main\_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:339
> \[25\] exec\_options(::Base.JLOptions) at ./client.jl:277
> \[26\] \_start() at ./client.jl:425
> \`\`\`
> 
> Not quite sure what to make of this error,
> \- checked the \[IIF.jl/Project.toml version is v0.5.5\](https://github.com/JuliaRobotics/IncrementalInference.jl/blob/64e0c44aa535b71e4b3c68ac62a925586ea896fe/Project.toml#L5)
> \- previous v0.5.4 (done by attobot) as well as master branch were working fine.
> \- I did uninstall attobot from the repo, since it seemed unnecessary.
> 
> \## Tagging with SHA number?
> 
> The tag and release commit SHAs \[in the repo\](https://github.com/JuliaRobotics/IncrementalInference.jl/releases) relate to actual commits \[in the code\](https://github.com/JuliaRobotics/IncrementalInference.jl/commits/master). The \[SHA number suggested by JuliaRegistrator\](https://github.com/JuliaRobotics/IncrementalInference.jl/issues/261#issuecomment-483651040), and those in Versions.toml, do not match anything in the repo (or at least I cannot find them)?
> 
> I \[tried running the suggested commands\](https://github.com/JuliaRobotics/IncrementalInference.jl/issues/261#issuecomment-483651040), but the tag does not show up on Github as expected.
> 
> \### Additional Info
> 
> \- Ubuntu 16.04
> \- I had an \[earlier attempt this morning here\](https://github.com/JuliaRegistries/Test/pull/41#issuecomment-483646942)
> \- Googling did not turn up too much either.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [April 16, 2019, 5:02pm UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/7 "2019-04-16T17:02:42Z")

</div>

This seems to be triggering an assertion failure in the version resolver. Not sure what’s going on there. We’ll need to figure something out, but the version resolver also needs to be replaced quite badly (which I’m working on).

---

<div class="post-metadata">

**Author:** ![dehann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dehann/32/2003_2.png) [@dehann](https://discourse.julialang.org/u/dehann)\
**Post date:** [April 19, 2019, 10:32am UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/8 "2019-04-19T10:32:53Z")

</div>

Thanks, good luck with the resolver. I’m kind of holding back for a few days on the issue with registering IIF v0.5.5 to see if more people are finding something similar, or if it’s just me.

Trying to add IIF in a fresh environment is still stuck with the assertion error `p0 != p1` (linked above). Please let me know if you have any ideas on where I should look to fix?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [April 19, 2019, 10:43am UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/9 "2019-04-19T10:43:04Z")

</div>

The problem with that release is that it has no compatibility bounds at all, which triggered the assertion error. If you add e.g.

```julia
[compat]
julia = "0.7, 1.0"

```

and re-release it should work. The previous registry didn’t allow packages to have 0 compatibility bounds.

---

<div class="post-metadata">

**Author:** ![dehann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dehann/32/2003_2.png) [@dehann](https://discourse.julialang.org/u/dehann)\
**Post date:** [April 19, 2019, 11:12am UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/10 "2019-04-19T11:12:44Z")

</div>

Hi @fredrikekre, thanks – Registrator is not happy about overriding IIF v0.5.5, should I tag a new v0.5.6 instead or try fix v0.5.5?

PS, link to relevant documentation for compat is here:  
[https://docs.julialang.org/en/v1.0/stdlib/Pkg/#Compatibility-1](https://docs.julialang.org/en/v1.0/stdlib/Pkg/#Compatibility-1)

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [April 19, 2019, 11:13am UTC](https://discourse.julialang.org/t/trouble-registering-package/22896/11 "2019-04-19T11:13:13Z")

</div>

Yea, thats what I meant. Releases are immutable.
