-
Dear Tethys developers, I have been following the tutorial on creating a google earth engine (GEE) app with tethys. I'm stuck with authenticating my app to GEE. When I run the "tethys manage start" command, it says "Not signed up for Earth Engine. Visit https://earthengine.google.com/signup/" I have got an account with GEE and I closely followed the tethys tutorial on GEE. I can't see where I'm getting it wrong. Regards Serge |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 9 replies
-
Hi Zolo, Sorry for the delay. This sounds more like an issue with Google Earth Engine than an issue with Tethys, but let's get a little more information before we jump to conclusions. Here are a few questions: Are the native Google Earth engine tools working for you? Here are a few things to try:
If those don't work for you, then you should reach out to Google Earth Engine to get help with your account: https://developers.google.com/earth-engine/help If the steps above do work, the provide me with answers to the following questions so I can try to determine if it is an issue with Tethys:
conda activate tethys
conda list earthengine-api
Note: don't post the contents of the credentials file to public forums like this one. |
Beta Was this translation helpful? Give feedback.
-
@ZoloKiala can you share with me the contents of your Also, please try updating the
|
Beta Was this translation helpful? Give feedback.
-
@ZoloKiala Thank you. Your install.yml looks correct. There was an older version of the tutorial that used a pinned version of earthengine-api that is no longer supported. Yours is not pinned, so that is not the issue. Here are my next questions/suggestions:
|
Beta Was this translation helpful? Give feedback.
-
Thank you, Sir, for your reply. I really appreciate it. See attached the file with the content of my terminal. Regards Serge |
Beta Was this translation helpful? Give feedback.
-
@ZoloKiala thank you. More questions:
service_account = '' # your google service account
private_key = '' # path to the json private key for the service account |
Beta Was this translation helpful? Give feedback.
-
@swainn thank you again for your help. I deleted the credentials file and run earthengine authenticate. Also, I used the default values for service_account and private_key. It's working now! I'm not getting an error in the terminal. However, the app is no longer loaded in the app library. I restarted supervisorctl, but it was unsuccessful. |
Beta Was this translation helpful? Give feedback.
-
@ZoloKiala is this a production installation of Tethys Portal? supervisorctl is only used in production. To restart the development server, just press The most common reason for an app not loading is due to an import error somewhere in the app. To track these issues down I use the following strategy:
|
Beta Was this translation helpful? Give feedback.
-
@ZoloKiala glad to hear that the app is loaded now. Can you be more specific about |
Beta Was this translation helpful? Give feedback.
@swainn thank you again for your help. I deleted the credentials file and run earthengine authenticate. Also, I used the default values for service_account and private_key. It's working now! I'm not getting an error in the terminal. However, the app is no longer loaded in the app library. I restarted supervisorctl, but it was unsuccessful.