microsoft / pxt-arcade

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

How to change git repository? #4484

Closed piotr-winiarski closed 2 years ago

piotr-winiarski commented 2 years ago

History: I was working on some game (using blocks) and after few days I decided to start versioning my game. So I had master and work in progres branch. On second commit on work_in_progress branch I got error like "Opps, something went wrong, try next time". After few tryings I lost half of blocks on my project (functions, onevents etc.). I tried to pull master back but this did not help. At the end I removed git repository and wanted to start from some part of left blocks but I do not see options to create new or switch to other repository. Why? And why I am facing those issues with git repository, are branches not allowed?

piotr-winiarski commented 2 years ago

Ok, I did another test on fresh project and: after first commit another one is not possible due to that "opps" error.

abchatra commented 2 years ago

@pelikhan

pelikhan commented 2 years ago

Can you share the git repo?

piotr-winiarski commented 2 years ago

Here you are https://github.com/piotr-winiarski/sleza

pelikhan commented 2 years ago

Could you provide a precise list of actions to reproduce this issue? I tried:

piotr-winiarski commented 2 years ago

I will recheck this tomorrow, but I am wondering if browser type can be problematic? I am using Vivaldi. Tomorrow I will check other browser.

abchatra commented 2 years ago

Our supported list of browsers is here: https://arcade.makecode.com/browsers

piotr-winiarski commented 2 years ago

So, today I was playing with git on Chrome and Vivaldi and.. did not find that issue, which is strange. I am wondering if this problem can be related to have open project on PC browser and during comute on android phone? On very new project I do not connect it to git as I am afraid of that problem.

piotr-winiarski commented 2 years ago

Ok, today I was happying working on new project, on which I connected it to git and after few hours I got "Oops" error on commit try :) ....

I checked browser console and got those errors: image

Looks like related to github itself...

edited: but the same time I can work with github on testing project, so it is not related to github.

pelikhan commented 2 years ago

Now I suspect it is the utf8-Unicode encoding issues again. I need to check this when on a computer but are you using non-Latin characters by any chance?


From: piotr-winiarski @.> Sent: Tuesday, January 4, 2022 5:20:47 AM To: microsoft/pxt-arcade @.> Cc: Peli de Halleux @.>; Mention @.> Subject: Re: [microsoft/pxt-arcade] How to change git repository? (Issue #4484)

Ok, today I was happying working on new project, on which I connected it to git and after few hours I got "Oops" error on commit try :) ....

I checked browser console and got those errors: [image]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F62816626%2F148065130-bac05a76-dede-44c3-aa6b-9c4c519678c1.png&data=04%7C01%7Cjhalleux%40microsoft.com%7C85409bb221b84b260c9708d9cf850591%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637768992516908772%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BKGmgRSOPm96IYPirQcZIItX7DnlX%2FNS93TI4fEm8xE%3D&reserved=0

Looks like related to github itself...

— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpxt-arcade%2Fissues%2F4484%23issuecomment-1004805193&data=04%7C01%7Cjhalleux%40microsoft.com%7C85409bb221b84b260c9708d9cf850591%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637768992516908772%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2BNUGC3yk9wi6x6GjRZJHgDGGra9uyajxEI6rbNmkEF0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA73QKO5JCBCAV5CP4EK2R3UULX27ANCNFSM5LFXFQDA&data=04%7C01%7Cjhalleux%40microsoft.com%7C85409bb221b84b260c9708d9cf850591%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637768992516908772%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2BKEn1o3zI5DmAyWfECLUtMzKwxrbPxhJyeI7hs%2BCE9M%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

piotr-winiarski commented 2 years ago

You mean something like this: image

I did few test with new project but was not albe to reproduce this with chars like "óżśłń".

abchatra commented 2 years ago

No repro.