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

JuliaHub registration fails: Could not fetch associated GitHub/GitLab account #345

Open
MartinOtter opened this issue Jul 27, 2021 · 5 comments

Comments

@MartinOtter
Copy link

I tried to register new versions of my packages in Juliahub, such as ModiaPlot_GLMakie.jl. When clicking the Submit button, I get the error message:

Could not fetch associated GitHub/GitLab account

Previously, this worked and I did not make any changes to my repository settings on github, with the only exception that some time ago I generated a "personal access token".

I then also tried to register the package via a commit with the comment "@JuliaRegistrator register()", but this had no effect (I had installed the "Registrator" two years ago).

@nkottary
Copy link
Member

From our logs I see that for some unknown reason we are no longer able to fetch your GitHub user ID. We don't save the user ID in our system since it can be changed at any time by the user so we try to get it every time from the Oauth login response. We can move this issue to https://github.com/JuliaComputing/JuliaHub since this is more of a JuliaHub login issue and not Registrator's fault.

However, regarding your issue with registering through a commit: You need to comment in the box as shown below.
register

@ulfworsoe
Copy link

ulfworsoe commented Sep 24, 2021

I can add that when trying to register a Mosek.jl release using the comment method above, I get this:

@ulfworsoe, it looks like you are not a publicly listed member/owner in the parent organization (MOSEK).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

I am definitely a member in the MOSEK organization, and I successfully registered a release 11 days ago in the same way.

Issue can be seen here: MOSEK/Mosek.jl@93ac3dd

@nkottary
Copy link
Member

@ulfworsoe You need to make your Mosek membership public:
makepublic

Registrator is not allowed to see private members. See also #351

@MartinOtter
Copy link
Author

From our logs I see that for some unknown reason we are no longer able to fetch your GitHub user ID. We don't save the user ID in our system since it can be changed at any time by the user so we try to get it every time from the Oauth login response. We can move this issue to https://github.com/JuliaComputing/JuliaHub since this is more of a JuliaHub login issue and not Registrator's fault.

However, regarding your issue with registering through a commit: You need to comment in the box as shown below.
register

Sorry, should have mentioned this earlier: It was my mistake, since I made an error when logging in. I later logged in with my public github account and everything worked.

@ulfworsoe
Copy link

@nkottary Thank you! I don't think I would have found that particular setting by myself. And it seems to work now.

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