rage / tmc-vscode

TestMyCode extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=moocfi.test-my-code
MIT License
25 stars 6 forks source link

Can not sync course in m1 chip #640

Open b-y-f opened 2 years ago

b-y-f commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots other exts image

Desktop (please complete the following information):

TMC Extension logs TMC -> Settings -> Set log level to verbose and reproduce error and paste logs.

[2021-12-10 20:34:57:918] [INFO] Starting moocfi.test-my-code in "production" mode.
[2021-12-10 20:34:57:918] [INFO] Visual Studio Code version: 1.62.3
[2021-12-10 20:34:57:918] [INFO] moocfi.test-my-code version: 2.1.2
[2021-12-10 20:34:57:918] [INFO] Currently open workspace: CS-61A
[2021-12-10 20:34:57:918] [INFO] Platform darwin Arch arm64
[2021-12-10 20:34:57:918] [INFO] TMC-Langs version: tmc-langs-cli-aarch64-apple-darwin-0.23.2
[2021-12-10 20:34:57:918] [INFO] Run: "/Users/xxx/Library/Application Support/Code/User/globalStorage/moocfi.test-my-code/cli/tmc-langs-cli-aarch64-apple-darwin-0.23.2" "--client-name" "vscode_plugin" "--client-version" "2.1.2" "core" "logged-in"
[2021-12-10 20:34:58:098] [INFO] Run: "/Users/xxx/Library/Application Support/Code/User/globalStorage/moocfi.test-my-code/cli/tmc-langs-cli-aarch64-apple-darwin-0.23.2" "--client-name" "vscode_plugin" "--client-version" "2.1.2" "settings" "get" "projects-dir"
[2021-12-10 20:34:58:110] [WARNING] Attempted refresh for a non-course workspace.
[2021-12-10 20:38:09:258] [INFO] Checking for course updates for courses 
[2021-12-10 20:38:09:258] [INFO] Checking for exercise updates
[2021-12-10 20:38:09:258] [INFO] Checking for exercise updates, forced update: false
[2021-12-10 20:38:09:258] [INFO] Run: "/Users/xxx/Library/Application Support/Code/User/globalStorage/moocfi.test-my-code/cli/tmc-langs-cli-aarch64-apple-darwin-0.23.2" "--client-name" "vscode_plugin" "--client-version" "2.1.2" "core" "check-exercise-updates"
[2021-12-10 20:38:09:283] [INFO] Update check found 0 outdated exercises
[2021-12-10 20:38:46:940] [INFO] Checking for course updates for courses 
[2021-12-10 20:38:46:941] [INFO] Checking for exercise updates
[2021-12-10 20:38:46:941] [INFO] Checking for exercise updates, forced update: false
[2021-12-10 20:38:46:941] [INFO] Using cached data for key: exercise-updates. Still valid for 263s
[2021-12-10 20:38:46:941] [INFO] Update check found 0 outdated exercises

Additional context Add any other context about the problem here.

eddtotman commented 2 years ago

+1 also having an issue with an m1 chip. My issue surfaces as "Unknown system error -86" and extension window is blank in VS code.

eddtotman commented 2 years ago

I fixed this by running softwareupdate --install-rosetta