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

rgcam::localDBConn Issue #78

Open
mengqi-z opened this issue Sep 16, 2021 · 3 comments
Open

rgcam::localDBConn Issue #78

mengqi-z opened this issue Sep 16, 2021 · 3 comments
Assignees

Comments

@mengqi-z
Copy link

rgcam::localDBConn is not working when the R working directory is set to be the same as the directory that holds GCAM database. Here is an example error I got:

Error in rgcam::localDBConn(gcamdatabasePath, gcamdatabaseName) : 
  Database does not exist or is invalid: E:/NEXO-UA/GCAM-Workspace/gcam-core-gcam-v5.3/output/FinalRuns/gcam5p3-stash_GFDL-ESM2M_rcp2p6
@ouyang363
Copy link
Collaborator

Saved my day! thank you Mengqi for finding this!!

@mengqi-z
Copy link
Author

mengqi-z commented Feb 4, 2022

Saved my day! thank you Mengqi for finding this!!

Does it work for you if you change your R working directory to be different from the GCAM database directory? I found some people still get errors even if they change the working directory. Hope this bug gets fixed soon!

@vxhuang
Copy link

vxhuang commented Aug 6, 2023

This is so helpful... Thanks so much for the post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants