Giter Club home page Giter Club logo

Comments (10)

kevinpdavies avatar kevinpdavies commented on June 9, 2024 1

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.

samapriya avatar samapriya commented on June 9, 2024 1

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.

samapriya avatar samapriya commented on June 9, 2024

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.

tillmann123456 avatar tillmann123456 commented on June 9, 2024

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.

samapriya avatar samapriya commented on June 9, 2024

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.

samapriya avatar samapriya commented on June 9, 2024

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.

samapriya avatar samapriya commented on June 9, 2024

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.

SdeRodaHusman avatar SdeRodaHusman commented on June 9, 2024

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.

SdeRodaHusman avatar SdeRodaHusman commented on June 9, 2024

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.

samapriya avatar samapriya commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.