Problem file not opening in vs code
Closed this issue · 15 comments
As mentioned in the steps to use the extension, I clicked over the parser icon-
I think the parsing is happening (as a blue line appears to mark the task being done) but then it is not opening any file in vscode. The file did not even get created-
It was working previously, but I am using it again after a long gap and hence was wondering if there is some issue with the newer versions?
Extension Version: v5.8.8
VS Code Version: 1.63.2
Browser Version: chrome- 96.0.4664.110
Operating System: Windows, 11, 64 bit
Hi,
Thanks for reporting the issue.
Is VS Code open in a folder when you do this? The companion only works when VS Code has a folder opened in the workspace.
Can you try to:
- Close all instances of VS Code.
- Open a VS Code instance in a folder.
- Repeat the steps to use competitive companion.
Does the issue still occur? If the issue occurs, open the browser extension settings for Competitive Companion and enable debug mode, and then press the green plus button and check the browser JS console ( Ctrl+Shift+C) and see if the console has the JSON log of the testcases.
Please let me know what you observe.
So, I closed everything and started a new instances of vscode from the folder path and opening it in vscode using "code .". However, it still doesn't work. The CPH judge space now doesn't show anything at all, which was earlier having "create problem" and "How to use this extension" options
The debugger shows correct output IMO-
{
"name": "E. Middle Duplication",
"group": "Codeforces - Codeforces Round #763 (Div. 2)",
"url": "http://codeforces.com/problemset/problem/1623/E",
"interactive": false,
"memoryLimit": 256,
"timeLimit": 1000,
"tests": [
{
"input": "4 3\nabab\n2 3\n0 0\n0 4\n0 0\n",
"output": "baaaab\n"
},
{
"input": "8 2\nkadracyn\n2 5\n3 4\n0 0\n0 0\n6 8\n0 7\n0 0\n0 0\n",
"output": "daarkkcyan\n"
},
{
"input": "8 3\nkdaracyn\n2 5\n0 3\n0 4\n0 0\n6 8\n0 7\n0 0\n0 0\n",
"output": "darkcyan\n"
}
],
"testType": "single",
"input": {
"type": "stdin"
},
"output": {
"type": "stdout"
},
"languages": {
"java": {
"mainClass": "Main",
"taskClass": "EMiddleDuplication"
}
},
"batch": {
"id": "5748ed88-ac27-4360-acab-15a57c94f890",
"size": 1
}
}
Thanks, this verifies the problem is with CPH. Ill try to reproduce this bug.
I was able to use CPH for the problem. I can't reproduce the bug.
OS: Linux Mint 20.2 x86_64. Is some other process using the port 27121
?
Facing Same Problem #230
[Update]
- When we import problem using Code-Companion. A
.cpp
gets Created however, the extension does not starts. - When Try Manually the
Create Problem
Button Doesn't Registers Clicks. Attached A Sample Below.
whatsapp-video-2022-01-10-at-102925-pm-ev0ofiwu_kFx5ErEZ.mp4
- Extension Version : ^5.8.9
- OS : Windows 10 64 bit
- Hello I have Found The Fix Probable Issue. (For ME Atleast)
- The Problem Arises Mainly Due to Wrong Path of Junk Files that Are Created BY extension. If Path is Wrong the Problem doesn't gets Generated.
- It Was my Issue May be It can differ For others.
same here not opening in vs code
in console also not getting anything after clicking on +
same bug here
I am facing the same issue when i click on parser blue lie appears but it does not open in vs code
help me fix the problem @agrawal-d i can also provide you remote access if you want please mail me at wazir172408@gmail.com