Skip to content
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

Error while trying to register: Unexpected error in registration on google/or-tools #440

Open
dourouc05 opened this issue Dec 18, 2024 · 8 comments

Comments

@dourouc05
Copy link

dourouc05 commented Dec 18, 2024

Hi,

When trying to register a package in a subdirectory (stable branch, configured as the main branch on GitHub), I got the following reply from JuliaRegistrator:

Error while trying to register: Action not recognized: https

Invocation: google/or-tools@8edc858#commitcomment-150503032

This is due to the comment I wrote, which had a link:

[@JuliaRegistrator](https://github.com/JuliaRegistrator) register subdir=ortools/julia/ORToolsGenerated.jl

I do not get the above error when there is no link:

@JuliaRegistrator register subdir=ortools/julia/ORToolsGenerated.jl
@DilumAluthge
Copy link
Member

Yeah, just remove the link, and it should work fine.

E.g.

@JuliaRegistrator register

@DilumAluthge DilumAluthge closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
@DilumAluthge
Copy link
Member

That being said, the second error you get ("Error while trying to register: Unexpected error in registration") is more concerning.

@DilumAluthge DilumAluthge reopened this Dec 18, 2024
@DilumAluthge DilumAluthge changed the title Error while trying to register: Action not recognized: https Error while trying to register: Unexpected error in registration on google/or-tools Dec 18, 2024
@DilumAluthge
Copy link
Member

I have pinged some folks on the Julia Slack (https://julialang.org/slack/, specifically the #pkg-registration Slack channel) to take a look at the Registrator server-side logs.

@dourouc05
Copy link
Author

Where would you prefer to continue the discussion? One of your comments suggested that I publicly join the organisation that owns the repo, which I've done, but I still get the same error message: google/or-tools@8edc858#commitcomment-150507655

@DilumAluthge
Copy link
Member

In the past, Unexpected error in registration errors have (usually) been difficult to diagnose without looking at the server logs. I unfortunately am not able to do that, so we'll have to wait for one of the people I pinged to take a look.

BTW, if you like, you can join the Julia Slack. I created a post in the #pkg-registration channel, and you can follow that thread.

@dourouc05
Copy link
Author

Thanks for having a look! I've just found your message on Slack, I'll wait for someone to reply there :)!

@nkottary
Copy link
Member

I see this error:
Screenshot_20241219_120357

I think it corresponds to https://github.com/google/or-tools/blob/8edc858e5cbe8902801d846899dc0de9be748b2c/ortools/julia/ORToolsGenerated.jl/Project.toml#L9

@dourouc05
Copy link
Author

It seems this line was the problem! I absolutely needed the version 9.7.0+2 for the JLL (JuliaBinaryWrappers/ORTools_jll.jl@7211dda) and not a previous one due to build issues, but I bypassed that problem by updating the JLL (happily, there has been versions since then). I could now start registration: JuliaRegistries/General#121695.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants