You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am still having trouble getting ee_Initialize() to setup the environment correctly, including connecting to my Google Drive (I think). I worked around it (below).
What I Did
Given in part the extensive needs for workarounds at this time, I setup my own conda environment and installed the older version of the earth engine API. I created the rgee_sessioninfo.txt manually from an old issue with the following contents:
"user" "drive_cre" "gcs_cre"
"my google username" "path to my credential file" NA
Secondly, I try to run this:
library(rgee)
ee$Initialize(project='my base project')
ee_Initialize(user="my google username", drive=T)
The above gets "stuck" because my legacy asset folder already exists...it asks me for the desired name of the folder, and I enter it, and it tells me it already exists. Entering another name after "user/" does nothing and it just keeps reminding me that the prior named folder is already there. This doesn't make sense to me, given that the message says you can exit the process and create it yourself. It seems like some credential is misaligned somewhere, but given all of the trouble with initializing and authentication, I'm not sure where to close the loop. Here is the error:
Please insert the desired name of your root folder : users/jessicagorzo
ee.ee_exception.EEException: User home folder already exists: "projects/earthengine-legacy/assets/users/jessicagorzo". If you have problems creating the ROOT folder use the Earth Engine Code Editor.
>>> https://code.earthengine.google.com/
>>> https://raw.githubusercontent.com/csaybar/GCS_AUTH_FILE.json/master/asset_folder.png
Manually creating the rgee_sessioninfo.txt file and pointing it to the generated credential file seems to work, but you need to keep a copy of it and move into the directory every time, I'm assuming to compensate for ee_Initialize() being buggy.
The text was updated successfully, but these errors were encountered:
At submit an issue, please attached the following information of your
rgee
session:Attach your Python (reticulate) configuration:
Description
I am still having trouble getting ee_Initialize() to setup the environment correctly, including connecting to my Google Drive (I think). I worked around it (below).
What I Did
Given in part the extensive needs for workarounds at this time, I setup my own conda environment and installed the older version of the earth engine API. I created the rgee_sessioninfo.txt manually from an old issue with the following contents:
Secondly, I try to run this:
The above gets "stuck" because my legacy asset folder already exists...it asks me for the desired name of the folder, and I enter it, and it tells me it already exists. Entering another name after "user/" does nothing and it just keeps reminding me that the prior named folder is already there. This doesn't make sense to me, given that the message says you can exit the process and create it yourself. It seems like some credential is misaligned somewhere, but given all of the trouble with initializing and authentication, I'm not sure where to close the loop. Here is the error:
Manually creating the rgee_sessioninfo.txt file and pointing it to the generated credential file seems to work, but you need to keep a copy of it and move into the directory every time, I'm assuming to compensate for ee_Initialize() being buggy.
The text was updated successfully, but these errors were encountered: