Bug 438221

Summary: Error compiling scratch. File not found
Product: [Applications] kdevelop Reporter: ivanc <ivancancar2002>
Component: Plugin: ScratchpadAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.5.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ivanc 2021-06-07 17:46:20 UTC
SUMMARY


STEPS TO REPRODUCE
1. Created an example scratchpad.
2. Tried running with run > run scratch.
3. Compilation terminated with a file not found error.

OBSERVED RESULT

Running C:\WINDOWS\system32\cmd.exe...
g++: error: C:/Users/Ivan: No such file or directory
g++: error: Cancar/AppData/Local/kdevscratchpad/scratches/example.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
Process finished with exit code 1.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
My USERPROFILE environment variable has a space in it, that probably caused the bug.