Comments (10)
Hi Samapriya - I am having the exact same problem (I checked your first two points above). I noted that geebam also appears to have a similar issue with selenium. Perhaps Google is blocking?
from geeup.
Hi @SdeRodaHusman
Since the selenium setup work adhoc with some accounts, might I recommend using the cookies setup method here. You can find the readme website here which I think is easier to navigate
https://samapriya.github.io/geeup
To set up cookies use this
https://samapriya.github.io/geeup/projects/cookies_setup/
and then using the method cookies during image upload as in the example here
https://samapriya.github.io/geeup/projects/image_upload/
This method works for all accounts even with those that have 2-factor auth and/or are Single Sign-on accounts like university accounts. Hope this helps
Sam
from geeup.
Can you create a virtual environment and do a fresh install of geeup v 0.4.5? I just released an update though it should not impact your issue and I was able to run geeup selsetup
at my end . Also let me know the python version you are running
from geeup.
Thanks, yes, I installed geeup v0.4.5 in a virtual environment and can run geeup init, but the issue with geeup selsetup persists. I'm running python 3.7.9
from geeup.
The only next steps I can think of is
- Check that your account does not use duo factor auth since this is not designed for that
- Check that less secure apps are enabled on your google account
- Last but not least try with an alternate account if you have one to test it out, since I am unable to recreate this for my account
from geeup.
Unfortunately yes, it seems this is working for a few google accounts and for accounts it simply does not. You are right, google has changed it's policy on embedded and automated browser. For users who have allowed less secure apps it usually works but remains blocked for some accounts. There is some discussion on this here and here is the related blog. I am open to anyone who has a PR that might help fix this but in the mean time I am keeping this issue open
from geeup.
A related fix is applied to v0.4.6, you can now use cookies to ingest instead of selenium. You can read the docs here
https://samapriya.github.io/geeup/projects/cookies_setup/
Hope this helps, and closing this issue for now but feel free to test and reopen issues as needed.
from geeup.
Dear all,
First of all @samapriya, thanks for this great tool, I expect it will really help me during my research and can't wait to use it.
However, at the moment I am also stuck with this issue ("Message: Unable to locate element: //input[@type="password"]) when trying "geeup selsetup" and "geeup upload ... etc". I also have this issue after updating to version 0.4.6, and also when trying different accounts.
I was wondering if any of you (@tillmann123456 or @kevinpdavies) already got it working? If so, it would be great if you could share some tips.
Thanks in advance :)
Sophie
from geeup.
Hi @samapriya,
Thank you so much! It is working now, amazing :)
Version 0.4.6 did not allow me to use the cookies setup tool, I think because I am working on Linux, and these cookie-strings were not recognised? Thanks to the changes in 0.4.7., it is working now.
Once again, thanks for the help & the great tool!
All the best,
Sophie
PS. I noticed a minor typo in the explanation on Cookies Setup at PyPI: cookieS_setup, instead of cookie_setup.
from geeup.
Thanks @SdeRodaHusman for testing it out and for the typo catch will correct it in the next release :) Glad it works
from geeup.
Related Issues (20)
- Cannot load `geeup` HOT 4
- Permission denied anywhere I want to write the metadata HOT 1
- geeup doesn't build correctly on conda HOT 4
- "system:time_start" prior to ~2000 are being added an extra digit when uploading to GEE HOT 4
- Geeup cookie_setup - SyntaxError HOT 5
- No output when using zipshape HOT 9
- when using geeup, reports error local variable 'gsid' referenced before assignment HOT 3
- Upload error "local variable 'gsid' referenced before assignment" HOT 4
- Message: Unable to locate element: //input[@type="email"] HOT 1
- "stty -icanon" command does not work in Mac's Zsh HOT 3
- File "<unknown>", line 2 <!DOCTYPE html> ^ SyntaxError: invalid syntax HOT 3
- Cannot run selsetup when $DISPLAY environment variable is not set HOT 3
- dates HOT 2
- Error: Unable to open tif. (Error code: 3) when uploading HOT 3
- Parameter "name" value "projects/myproject/assets" does not match the pattern "^projects/[^/]+/assets/.*$" HOT 3
- SyntaxError: invalid syntax HOT 1
- Max retries exceeded with url: /assets/upload/geturl HOT 2
- Building cache HOT 2
- Can geeup be used on google colab HOT 1
- Failing to upload without displaying errors when periods are in geotiff filename HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geeup.