Description of issue -
I have updated RStudio to the 2022.07.1 release. After doing this I have this main error:
[5916:15972:20220727,101905.256:ERROR crash_report_database_win.cc:586] CreateDirectory C:/Users/Käyttäjä/AppData/Local/R/crashpad_database: The system cannot find the path specified. (3)
Attempted steps taken to fix -
I cannot change the Käyttäjä (user) folder name and have tried to save RStudio in different folders to avoid the path.
When I type this path into the control panel it finds the folder - so it exists
This problem has to derive from the update somehow as RStudio was working correctly this morning
As I cannot even start RStudio I cannot apply any other solution such as Sys.setlocale(locale = "Chinese") as I have seen suggested in others who had problems with special characters in January.
The problem report is here - please say if you need any more information!
System Information:
R Version: 4.0.5
R Session Startup Failure Report
RStudio Version
RStudio 2022.07.1+554, "Spotted Wakerobin" (7872775e, 2022-07-22) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
Error message
[No error available]
Process Output
The R session exited with code 1.
Error output:
[5916:15972:20220727,101905.256:ERROR crash_report_database_win.cc:586] CreateDirectory C:/Users/Käyttäjä/AppData/Local/R/crashpad_database: The system cannot find the path specified. (3)
2022-07-27T07:19:05.256764Z [rsession-joanna] ERROR system error 2 (The system cannot find the file specified); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::crash_handler::initialize(enum rstudio::core::crash_handler::ProgramMode) src/cpp/core/CrashHandler.cpp:322; LOGGED FROM: int __cdecl main(int,char *const []) C:\Users\jenkins\workspace\ide\open-source-pipeline\spotted-wakerobin\src\cpp\session\SessionMain.cpp:2007
2022-07-27T07:19:05.268856Z [rsession-joanna] ERROR system error 2 (The system cannot find the file specified); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::crash_handler::initialize(enum rstudio::core::crash_handler::ProgramMode) src/cpp/core/CrashHandler.cpp:322; LOGGED FROM: int __cdecl main(int,char *const []) C:\Users\jenkins\workspace\ide\open-source-pipeline\spotted-wakerobin\src\cpp\session\SessionMain.cpp:2057
2022-07-27T07:19:05.268856Z [rsession-joanna] ERROR system error 2 (The system cannot find the file specified); OCCURRED AT class rstudio::core::Error __cdecl rstudio::core::crash_handler::initialize(enum rstudio::core::crash_handler::ProgramMode) src/cpp/core/CrashHandler.cpp:322; LOGGED FROM: int __cdecl main(int,char *const []) C:\Users\jenkins\workspace\ide\open-source-pipeline\spotted-wakerobin\src\cpp\session\SessionMain.cpp:2057
Sorry I don't really understand? My problem is that RStudio won't open after updating, which appears to be because of the special characters in Käyttäjä in my directory. I don't know what I can do about this as it was working beforehand - can you help, please?
Good night,
I have the same problem after upgrading to RStudio 2022.07.1+554, "Spotted Wakerobin" (7872775e, 2022-07-22) for Windows, using Windows 10 in Spanish:
Hi! After searching for a long time I finally solved the problem. I am not sure if this is the best way to solve it - but at least my RStudio opens.
I went into the problem folder, left clicked properties and changed the permissions to make sure that there was permission to write folders within this folder. After this RStudio opens and packages update.
In case you can't create a new account. I think you need to give it permission to write the crashpad_database directory otherwise you will just have this error again and again for every folder that RStudio needs to create! (Although this is definitely a hack rather than a good solution)
I have another user, and I can even use a Linux machine, and everything runs like a charm in those cases. But it's a workaround and not a solution, as you wrote.
Changing the directories permissions didn't change anything, BTW.
Thanks,
José Luis.