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

Short desc of the bug #124

Open
yizhilurenjia opened this issue Sep 2, 2023 · 0 comments
Open

Short desc of the bug #124

yizhilurenjia opened this issue Sep 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@yizhilurenjia
Copy link

yizhilurenjia commented Sep 2, 2023

Describe the bug
AutoCp doesn't work

To Reproduce
Steps to reproduce the behavior:

Go to 'codeforces.com/problemset/problem/126/B'
Click on 'competitive companion'
Press 'Ctrl + Shift + F10'
See an error
Expected behavior
run the program

Screenshots
Error message:
Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified
Stacktrace:
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:359)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion.from(TwoStepProcessFactory.kt:45)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion$from$1.invokeSuspend(TwoStepProcessFactory.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.io.IOException: Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:435)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:349)
... 8 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:499)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
... 11 more

Environment (please complete the following information):

OS: Windows 11
IDE: Clion 2023.2.1
Programming Language: C++
Additional context
I have installed g++, but I am unable to use the plugin.

@yizhilurenjia yizhilurenjia added the bug Something isn't working label Sep 2, 2023
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

1 participant