Repository: InstaPy/InstaPy

Issue #3712: Selenium exception: Cannot read property 'edges' of undefined
Created: 2019-01-11T00:14:53Z
Hi everyone, i just git pulled then I got this error while using interact_user_followers
Traceback (most recent call last):
  File "like.py", line 57, in <module>
    session.interact_user_followers(['user'], amount=1500, randomize=False)
  File "/Users/users/Desktop/instagram/InstaPy/instapy/instapy.py", line 2799, in interact_user_followers
    self.user_interact_media)
  File "/Users/users/Desktop/instagram/InstaPy/instapy/instapy.py", line 2189, in interact_by_users
    self.logger))
  File "/Users/users/Desktop/instagram/InstaPy/instapy/like_util.py", line 537, in check_link
    ''', user_name)
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 636, in execute_script
    'args': converted_args})['value']
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Cannot read property 'edges' of undefined
  (Session info: chrome=)
  (Driver info: chromedriver= (),platform=Mac OS X 10.13.3 x86_64)

This is the code I am using:
session.set_skip_users(skip_private=True,
                       private_percentage=100,
                       skip_no_profile_pic=False,
                       no_profile_pic_percentage=100,
                       skip_business=False,
                       business_percentage=100,
                       skip_business_categories=[],
                       dont_skip_business_categories=[])
session.set_user_interact(amount=2, randomize=True, percentage=100, media='Photo')
session.set_do_like(enabled=True, percentage=100)
session.interact_user_followers(['user'], amount=1500, randomize=False)

Duplicate issue #3715: Problem with like and comment by tags 
Created: 2019-01-11T11:16:28Z
python3 /Users/Edhim/Desktop/INSTAPY/Edhim/quickstart.py
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-01-11 12:11:04] [djedhim]  Session started!
oooooooooooooooooooooooooooooooooooooooooooooooooooooo
.............................................................
INFO [2019-01-11 12:11:11] [djedhim]  Logged in successfully!
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
INFO [2019-01-11 12:11:11] [djedhim]  Saving account progress...
INFO [2019-01-11 12:11:14] [djedhim]  Tag [1/18]
INFO [2019-01-11 12:11:14] [djedhim]  --> b'milan'
INFO [2019-01-11 12:11:23] [djedhim]  desired amount: 8  |  top posts [disabled]: 9  |  possible posts: 16635627
INFO [2019-01-11 12:11:30] [djedhim]  [1/8]
INFO [2019-01-11 12:11:30] [djedhim]  https://www.instagram.com/p/BsfftKhl7zE/
ERROR [2019-01-11 12:11:33] [djedhim]  Pow! Error occurred while dumping record activity data to a local JSON:
b'Expecting value: line 1 column 1 (char 0)'
INFO [2019-01-11 12:11:33] [djedhim]  Sessional Live Report:
|> No any statistics to show
On session start was FOLLOWING 18 users & had 7188 FOLLOWERS
[Session lasted 31.67 seconds]
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-01-11 12:11:33] [djedhim]  Session ended!
oooooooooooooooooooooooooooooooooooooooooooooooooooo
Traceback (most recent call last):
File "/Users/Edhim/Desktop/INSTAPY/Edhim/quickstart.py", line 45, in 
session.like_by_tags(['xxx', 'xxx', 'xxx'], amount=8, skip_top_posts=True)
File "/Users/Edhim/Desktop/INSTAPY/Edhim/instapy/instapy.py", line 1674, in like_by_tags
self.logger)
File "/Users/Edhim/Desktop/INSTAPY/Edhim/instapy/like_util.py", line 537, in check_link
''', user_name)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 635, in execute_script
'args': converted_args})['value']
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 320, 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.WebDriverException: Message: unknown error: Cannot read property 'edges' of undefined
(Session info: chrome=71.0.3578.98)
(Driver info: chromedriver=2.40.565386 (45a059dc425e08165f9a10324bd1380cc13ca363),platform=Mac OS X 10.14.2 x86_64)
Any idea please @uluQulu
Thank you

Closing comment (2019-01-11T15:21:19Z): Duplicate of #3712