InstaPy / InstaPy/instapy-quickstart

Cannot log in

Offen
#198 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
777
Forks
763
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Good evening,

I am trying to use one of the quick-start templates and I am receiving the following error:

```
(env name) username@username-ubuntu:~/Documents/python_projects/InstaPy$ python my_quickstart.py
InstaPy Version: 0.6.11
._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "/home/username/InstaPy"
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2020-10-29 15:38:27] [account_name] Session started!
oooooooooooooooooooooooooooooooooooooooooooooooooooooo
INFO [2020-10-29 15:38:27] [account_name] -- Connection Checklist [1/2] (Internet Connection Status)
INFO [2020-10-29 15:38:27] [account_name] - Internet Connection Status: ok
INFO [2020-10-29 15:38:27] [account_name] - Current IP is "31.21.111.143" and it's from "Netherlands/NL"
INFO [2020-10-29 15:38:27] [account_name] -- Connection Checklist [2/2] (Hide Selenium Extension)
INFO [2020-10-29 15:38:28] [account_name] - window.navigator.webdriver response: None
INFO [2020-10-29 15:38:28] [account_name] - Hide Selenium Extension: ok
Cookie file not found, creating cookie...
INFO [2020-10-29 15:39:08] [account_name] Timed out with failure while explicitly waiting until title contains 'Login' string!

INFO [2020-10-29 15:39:46] [account_name] Timed out with failure while explicitly waiting until visibility of element located!

**********************************************************************
If raising an issue, please also upload the file located at:
/tmp/20201029-153951.html
**********************************************************************

INFO [2020-10-29 15:39:52] [account_name] Sessional Live Report:
|> No any statistics to show

[Session lasted 1.46 minutes]
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2020-10-29 15:39:52] [account_name] Session ended!
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

Traceback (most recent call last):
File "my_quickstart.py", line 34, in
with smart_run(session):
File "/home/username/anaconda3/envs/instaplay/lib/python3.6/contextlib.py", line 83, in __enter__
raise RuntimeError("generator didn't yield") from None
RuntimeError: generator didn't yield
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the failure from my_quickstart.py, especially the smart_run call at line 34, and inspect the generated /tmp/20201029-153951.html file. Trace the login flow reached after the session starts and compare the timeout messages with the template's expected behavior. Done means the quick-start template completes login without the reported timeouts and RuntimeError.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
authentication, developer-experience
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.