Skip to content

Failed to test the solution and submission shows undefinedΒ #882

Open
@XueJingru

Description

@XueJingru

πŸ› Bug Report

When I try to test code about question 3[ζ— ι‡ε€ε­—η¬¦ηš„ζœ€ι•Ώε­δΈ²], it shows "failed to test the solution, please open the output pannel for details". And when I try to submission, it is shown in vscode UI is "submission"

To Reproduce

I am not sure, I just wtrite my code and then try to test it in vscode as usual.

Expected behavior

I wander why this bug appears and how to fix it.

Extension Output

ailed to test the solution. Please open the output channel for details.

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.

Your Environment

  • os:Windows_NT x64 10.0.22621

  • extension settings:"leetcode.workspaceFolder": "C:\Users\11239\.leetcode",
    // "leetcode.outputFolder": ""${difficulty}",
    "leetcode.defaultLanguage": "python3",

    "leetcode.hint.configWebviewMarkdown": false,
    "leetcode.hint.commentDescription": false,
    "leetcode.hint.commandShortcut": false,
    "leetcode.filePath": {

    "default": {
    "folder": "",
    "filename": "${id}.${kebab-case-name}.${ext}"
    }
    },

  • nodejs version:16.17.1

  • vscode version:1.78.2 (user setup)

  • extension version:v0.18.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions