InstaPy / InstaPy

📷 Instagram Bot - Tool for automated Instagram interactions
GNU General Public License v3.0
16.73k stars 3.77k forks source link

Instapy error code #3779

Closed ibroudy closed 5 years ago

ibroudy commented 5 years ago

Expected Behavior

script to fully run

Current Behavior

Traceback (most recent call last): File "justbaked.py", line 29, in session.follow_user_followers(['miami_foodporn', 'foodporn', 'foodagramerz'], amount=40, randomize=True) File "/Users/ianbroudy/Desktop/utility/instapy/instapy.py", line 2907, in follow_user_followers self.logfolder) File "/Users/ianbroudy/Desktop/utility/instapy/unfollow_util.py", line 883, in get_given_user_followers channel, jumps, logger, logfolder) File "/Users/ianbroudy/Desktop/utility/instapy/unfollow_util.py", line 722, in get_users_through_dialog person_list = dialog_username_extractor(buttons) File "/Users/ianbroudy/Desktop/utility/instapy/unfollow_util.py", line 745, in dialog_username_extractor if person and hasattr(person, 'text') and person.text: File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 76, in text return self._execute(Command.GET_ELEMENT_TEXT)['value'] File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute return self._parent.execute(command, params) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document (Session info: chrome=71.0.3578.98) (Driver info: chromedriver=2.41.578706 (5f725d1b4f0a4acbf5259df887244095596231db),platform=Mac OS X 10.14.0 x86_64)

Possible Solution (optional)

InstaPy configuration

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue