Throws invalid argument while trying to save a R script in rstudio CE

Hi Team,

One of our user when trying to save his script file is getting below error:
User is trying to save his script file to below location:Its a link created to shared path.Permission wise it looks good to me and this issue is with his lone id.What could be the possible issue here? Can you please guide on this?
/mnt/share/app/proj/all/fnp/gbl/nbs_ap

[root@GLUSVN-ST914804:/var/log]# ls -l /home/begxyz/
total 4
lrwxrwxrwx. 1 begxyz1 nvsuser 9 Oct 22 09:37 hdr-proj -> /hdr-proj
lrwxrwxrwx. 1 begxyz nvsuser 38 May 2 10:35 nbs_ap -> /mnt/share/app/proj/all/fnp/gbl/nbs_ap
drwxr-xr-x. 5 begxyz nvsuser 4096 Jun 23 07:20 Packages_R
lrwxrwxrwx. 1 begxyz nvsuser 24 Oct 22 09:37 share -> /mnt/share/home/begxyz
[root@GLUSVN-ST914804:/var/log]#

Error message:
Oct 20 12:35:37 GLUSVN-ST914804 rsession-begxyz[115283]: ERROR system error 22 (Invalid argument); OCCURRED AT: rstudio::core::Error rstudio::session::sour
ce_database::get(const std::string&, bool, rstudio_boost::shared_ptrrstudio::session::source_database::SourceDocument) /root/rstudio/src/cpp/session/Sessio
nSourceDatabase.cpp:621; LOGGED FROM: rstudio::core::Error rstudio::session::source_database::list(std::vector<rstudio_boost::shared_ptr<rstudio::session::so
urce_database::SourceDocument>, std::allocator<rstudio_boost::shared_ptrrstudio::session::source_database::SourceDocument > >) /root/rstudio/src/cpp/sessi
on/SessionSourceDatabase.cpp:760
Oct 20 12:35:37 GLUSVN-ST914804 rsession-begxyz[115283]: ERROR system error 22 (Invalid argument); OCCURRED AT: rstudio::core::Error rstudio::session::sour
ce_database::get(const std::string&, bool, rstudio_boost::shared_ptrrstudio::session::source_database::SourceDocument) /root/rstudio/src/cpp/session/Sessio
nSourceDatabase.cpp:621; LOGGED FROM: rstudio::core::Error rstudio::session::source_database::list(std::vector<rstudio_boost::shared_ptr<rstudio::session::so
urce_database::SourceDocument>, std::allocator<rstudio_boost::shared_ptrrstudio::session::source_database::SourceDocument > >
) /root/rstudio/src/cpp/sessi
on/SessionSourceDatabase.cpp:760
Oct 20 12:35:37 GLUSVN-ST914804 rsession-begxyz[115283]: ERROR system error 22 (Invalid argument); OCCURRED AT: rstudio::core::Error rstudio::session::sour
ce_database::get(const std::string&, bool, rstudio_boost::shared_ptrrstudio::session::source_database::SourceDocument) /root/rstudio/src/cpp/session/Sessio
nSourceDatabase.cpp:621; LOGGED FROM: rstudio::core::Error rstudio::session::source_database::list(std::vector<rstudio_boost::shared_ptr<rstudio::session::so
urce_database::SourceDocument>, std::allocator<rstudio_boost::shared_ptrrstudio::session::source_database::SourceDocument > >*) /root/rstudio/src/cpp/sessi
on/SessionSourceDatabase.cpp:760

The error here implies that the JSON document used for storing document-related properties has become corrupt. You might need to instruct the user to reset his RStudio state:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.