microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
484 stars 210 forks source link

Github not creating new repos (mainly on Edge) #6096

Open kiki-lee opened 1 year ago

kiki-lee commented 1 year ago

I can almost never get MakeCode to create a new repo from a project anymore. It always takes several times of trying, nothing happening, trying again, getting a message that says "This repo already exists", deleting the emtpy repo, and trying again.

Here's the error from the console when this happens: Screenshot by Dropbox Capture

Vegz78 commented 1 year ago

Related?: https://forum.makecode.com/t/why-is-github-not-showing-any-files/22988

abchatra commented 1 year ago

I am unable to reproduce this issue. Creating both private\public Github repo works fine through the github icon in my machine.

@kiki-lee does it still reproduce for you?

kiki-lee commented 1 year ago

It's sporadic. Sometimes it works fine, then other days it won't work even if I try 15 times in a row. I'll see if I can narrow in on any other details that are always true when things go haywire.

kiki-lee commented 1 year ago

Related?: https://forum.makecode.com/t/why-is-github-not-showing-any-files/22988

Yep, that's exactly the same thing that's happening for me.

jholland-vin-dit commented 1 year ago

Hi, I just tested this again. I have various github accounts. When I’m signed in to github with my non-paid account, the create-repo dialog appears and the repo is created but it’s empty. I check this by switching tabs in Edge between MakeCode and GitHub. In MakeCode, I just keep getting the create repo dialog. When I’m signed in to github with my paid account, the create repo dialog appears, and then when I proceed, it took a minute and created a new repo WITH ALL THE FILES. Then clicking on github shows me the repo with my commit listed. the unpaid account is john.holland.teals@outlook.com, the paid account is johnbholland@icloud.com.

abchatra commented 1 year ago

Are you able to create repo and files in your free account outside MakeCode? We have plenty of users on free account who can create repos. I don't believe this issue is tied to free\pro accounts

jholland-vin-dit commented 1 year ago

My free git account is working fine, with github web and command line git. I just created a repo and added a file to it from the command line.

On Oct 10, 2023, at 12:49 PM, Abhijith Chatra @.***> wrote:

Are you able to create repo and files in your free account outside MakeCode? We have plenty of users on free account who can create repos. I don't believe this issue is tied to free\pro accounts

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1755848446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR6VA76ZZIFRCOCNNELX6V4CBAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVHA2DQNBUGY. You are receiving this because you commented.

jholland-vin-dit commented 1 year ago

How do I tell make code which git account to use?

On Oct 10, 2023, at 12:49 PM, Abhijith Chatra @.***> wrote:

Are you able to create repo and files in your free account outside MakeCode? We have plenty of users on free account who can create repos. I don't believe this issue is tied to free\pro accounts

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1755848446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR6VA76ZZIFRCOCNNELX6V4CBAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVHA2DQNBUGY. You are receiving this because you commented.

jholland-vin-dit commented 1 year ago

Some more info -

on edge my makecode is connected to my paid github account, and it is working. I don’t see how to tell it to use a different github account. On Mozilla Firefox, it is connected to my free account. When I add a project to git, an empty repo is created (the project has lots of code) and the github button always gives the “create a repository” dialog.

I’m looking into having our students in a TEALS class use this but it looks too complicated for them I think.

On Oct 10, 2023, at 12:49 PM, Abhijith Chatra @.***> wrote:

Are you able to create repo and files in your free account outside MakeCode? We have plenty of users on free account who can create repos. I don't believe this issue is tied to free\pro accounts

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1755848446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR6VA76ZZIFRCOCNNELX6V4CBAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVHA2DQNBUGY. You are receiving this because you commented.

jholland-vin-dit commented 1 year ago

more info - firefox makecode was not signed in to a makecode account. Now I signed in to the makecode account and the repo was created and populated with code. Maybe my issue was that I had not signed in to makecode?????

On Oct 10, 2023, at 2:09 PM, John Holland @.***> wrote:

Some more info -

on edge my makecode is connected to my paid github account, and it is working. I don’t see how to tell it to use a different github account. On Mozilla Firefox, it is connected to my free account. When I add a project to git, an empty repo is created (the project has lots of code) and the github button always gives the “create a repository” dialog.

I’m looking into having our students in a TEALS class use this but it looks too complicated for them I think.

On Oct 10, 2023, at 12:49 PM, Abhijith Chatra @.***> wrote:

Are you able to create repo and files in your free account outside MakeCode? We have plenty of users on free account who can create repos. I don't believe this issue is tied to free\pro accounts

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1755848446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR6VA76ZZIFRCOCNNELX6V4CBAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVHA2DQNBUGY. You are receiving this because you commented.

kiki-lee commented 1 year ago

Unfortunately, I think it's less predictable than that.

abchatra commented 1 year ago

on edge my makecode is connected to my paid github account, and it is working. I don’t see how to tell it to use a different github account.

You can go to settings->unlink github to logout from github and login with the new account image

more info - firefox makecode was not signed in to a makecode account. Now I signed in to the makecode account and the repo was created and populated with code. Maybe my issue was that I had not signed in to makecode?????

You don't need to login to makecode to use the github integration feature.

abchatra commented 1 year ago

We can also setup a call to investigate this. Please email to makecode@microsoft.com and I will setup a quick call to debug.

jholland-vin-dit commented 1 year ago

I don’t see that unlink github option anywhere………..

On Oct 10, 2023, at 2:54 PM, Abhijith Chatra @.***> wrote:

on edge my makecode is connected to my paid github account, and it is working. I don’t see how to tell it to use a different github account.

You can go to settings->unlink github to logout from github and login with the new account https://user-images.githubusercontent.com/6107272/274031861-a7697bf7-7010-453c-ae6f-5bf0de9dad19.png more info - firefox makecode was not signed in to a makecode account. Now I signed in to the makecode account and the repo was created and populated with code. Maybe my issue was that I had not signed in to makecode?????

You don't need to login to makecode to use the github integration feature.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1756050115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR5BERXKQDDK2NML5BLX6WKUXAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGA2TAMJRGU. You are receiving this because you commented.

abchatra commented 1 year ago

This means you have not logged in to github through MakeCode. Try to export the project and see if you are able to login.

Also go to github.com and see if you can login in that browser.

jholland-vin-dit commented 1 year ago

I believe I’m logged in to both make code and git hub.

 

On Oct 10, 2023, at 3:01 PM, Abhijith Chatra @.***> wrote:

This means you have not logged in to github through MakeCode. Try to export the project and see if you are able to login.

Also go to github.com and see if you can login in that browser.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1756060787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR3FPMIDPZYCT7U5XF3X6WLRHAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGA3DANZYG4. You are receiving this because you commented.

jholland-vin-dit commented 1 year ago

I am in github in another tab (this is in edge) as well

On Oct 10, 2023, at 3:01 PM, Abhijith Chatra @.***> wrote:

This means you have not logged in to github through MakeCode. Try to export the project and see if you are able to login.

Also go to github.com and see if you can login in that browser.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1756060787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR3FPMIDPZYCT7U5XF3X6WLRHAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGA3DANZYG4. You are receiving this because you commented.

jholland-vin-dit commented 1 year ago

It seems flaky, I just made a change and pushed it to github via make code and it didn’t work, then I pushed it again and it did.

On Oct 10, 2023, at 3:01 PM, Abhijith Chatra @.***> wrote:

This means you have not logged in to github through MakeCode. Try to export the project and see if you are able to login.

Also go to github.com and see if you can login in that browser.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1756060787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR3FPMIDPZYCT7U5XF3X6WLRHAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGA3DANZYG4. You are receiving this because you commented.

jholland-vin-dit commented 1 year ago

right now things seem to be working well…….I don’t see a way to change github accounts though. But I am using edge and makecode and my free github account and it is all working.

On Oct 10, 2023, at 3:01 PM, Abhijith Chatra @.***> wrote:

This means you have not logged in to github through MakeCode. Try to export the project and see if you are able to login.

Also go to github.com and see if you can login in that browser.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/pxt-arcade/issues/6096#issuecomment-1756060787, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYEXR3FPMIDPZYCT7U5XF3X6WLRHAVCNFSM6AAAAAA5ND6226VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGA3DANZYG4. You are receiving this because you commented.

jholland-vin-dit commented 1 year ago
image
jholland-vin-dit commented 1 year ago
image
jholland-vin-dit commented 1 year ago

no option to disconnect from GitHub.

jholland-vin-dit commented 1 year ago

I sent some emails from apple mail to reply to this that had screenshots but the screenshots didn't seem to make it here.....

Jaqster commented 3 days ago

@abchatra - can you see if we need to investigate this more?