InstaPy / InstaPy/instapy-docs
Issue
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 65
- Fork
- 54
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
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 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
`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start with the traceback entry points in instapy.py, like_util.py, and util.py, especially is_private_profile and the follow_by_list call. Reproduce the reported StaleElementReferenceException with InstaPy 0.6.12 and establish the expected behavior before defining a fix and regression coverage.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100