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

mgc sites doesn't work on Mac Arm version #316

Closed
mnicola76 opened this issue Aug 1, 2023 · 6 comments
Closed

mgc sites doesn't work on Mac Arm version #316

mnicola76 opened this issue Aug 1, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@mnicola76
Copy link

mnicola76 commented Aug 1, 2023

Hi, following refers to msgraph-cli-osx-arm64-1.0.0-preview.1

The following command:
./mgc sites

Returns the following error:
Unhandled exception. System.ArgumentException: An item with the same key has already been added. Key: sites

@calebkiage calebkiage added the bug Something isn't working label Aug 2, 2023
@calebkiage
Copy link
Contributor

Hello @mnicola76, thanks for reporting this issue. We'll investigate and update this issue when we find the cause.

@calebkiage calebkiage self-assigned this Aug 2, 2023
@mnicola76
Copy link
Author

mnicola76 commented Aug 2, 2023 via email

@calebkiage
Copy link
Contributor

I've found the cause of this issue. It seems to be a limitation on the System.CommandLine library's tokenization process. I'm investigating workarounds we can apply for this bug. Sorry for the inconvenience caused.

@calebkiage
Copy link
Contributor

calebkiage commented Aug 7, 2023

It appears that the issue was resolved in v0.3 but regressed from v0.4 onward.

On Thu, Aug 3, 2023 at 1:33 AM Caleb Kiage @.> wrote: Hello @mnicola76 https://github.com/mnicola76, thanks for reporting this issue. We'll investigate and update this issue when we find the cause. — Reply to this email directly, view it on GitHub <#316 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXGLHES567X57WDCG7U6BTXTJXNRANCNFSM6AAAAAA27CUZF4 . You are receiving this because you were mentioned.Message ID: @.>

Thanks for the additional information. I'll add this to the investigation.

@calebkiage
Copy link
Contributor

This issue has been reported to the .net team dotnet/command-line-api#2260.

@calebkiage
Copy link
Contributor

A workaround has been implemented in preview 2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants