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

Download old submission action errors #658

Open
sebazai opened this issue Sep 1, 2022 · 0 comments
Open

Download old submission action errors #658

sebazai opened this issue Sep 1, 2022 · 0 comments

Comments

@sebazai
Copy link
Contributor

sebazai commented Sep 1, 2022

Describe the bug
When trying to download old submission for an exercise it errors.

To Reproduce
Steps to reproduce the behavior:

  1. Go to an exercise
  2. Click on submit to server
  3. Try to CMD+ SHIFT + P and select download old submission
  4. See error in logs

Expected behavior
Download the submission selected and replace student files ;)

Desktop (please complete the following information):

  • OS: macOS Monterey Version 12.5
  • VSCode Version 1.70.2
  • TMC Extension Version 2.1.5

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

[2022-09-01 20:23:16:172] [INFO] Run: "/Users/subustian/Library/Application Support/Code/User/globalStorage/moocfi.test-my-code/cli/tmc-langs-cli-aarch64-apple-darwin-0.25.2" "--client-name" "vscode_plugin" "--client-version" "2.1.5" "core" "get-exercise-submissions" "--exercise-id" "151869"
[2022-09-01 20:23:19:218] [INFO] Run: "/Users/subustian/Library/Application Support/Code/User/globalStorage/moocfi.test-my-code/cli/tmc-langs-cli-aarch64-apple-darwin-0.25.2" "--client-name" "vscode_plugin" "--client-version" "2.1.5" "core" "download-old-submission" "--save-old-state" "--exercise-id" "151869" "--output-path" "/Users/subustian/Library/Application Support/tmc/vscode/mooc-programming-22/part01-02_seven_brothers" "--submission-id" "14216739"
[2022-09-01 20:23:19:381] [ERROR] Failed to download old submission.
Runtime Error — No project directory found in archive — Runtime Error: No project directory found in archive
    at u._checkLangsResponse (/Users/subustian/.vscode/extensions/moocfi.test-my-code-2.1.5/dist/lib.js:2:436918)
    at /Users/subustian/.vscode/extensions/moocfi.test-my-code-2.1.5/dist/lib.js:2:433916
    at e.andThen (/Users/subustian/.vscode/extensions/moocfi.test-my-code-2.1.5/dist/lib.js:2:543900)
    at u.<anonymous> (/Users/subustian/.vscode/extensions/moocfi.test-my-code-2.1.5/dist/lib.js:2:433899)
    at Generator.next (<anonymous>)
    at o (/Users/subustian/.vscode/extensions/moocfi.test-my-code-2.1.5/dist/lib.js:2:374175)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

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

1 participant