Skip to content

Issue #25

Description

@aleeepp

Hi, i have this issue
I am using the InstaPy Version: 0.6.12

Traceback (most recent call last): File "final-v5-19-nuevo.py", line 116, in <module> session.follow_by_list(liomet_followers_2, times=1, sleep_delay=600, interact=True) File "/home/ale/global-2021/lib/python3.6/site-packages/instapy/instapy.py", line 1242, in follow_by_list self.user_interact_media, File "/home/ale/global-2021/lib/python3.6/site-packages/instapy/instapy.py", line 2470, in interact_by_users media, File "/home/ale/global-2021/lib/python3.6/site-packages/instapy/like_util.py", line 473, in get_links_for_username is_private = is_private_profile(browser, logger, following_status == "Following") File "/home/ale/global-2021/lib/python3.6/site-packages/instapy/util.py", line 97, in is_private_profile read_xpath(is_private_profile.__name__, "is_private") File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 351, in find_element_by_xpath return self.find_element(by=By.XPATH, value=xpath) File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 659, in find_element {"using": by, "value": value})['value'] File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute return self._parent.execute(command, params) File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/home/ale/global-2021/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.StaleElementReferenceException: Message: The element reference of <body class=""> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions