{"action":"created","issue":{"url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/1163","repository_url":"https://api.github.com/repos/timgrossmann/InstaPy","labels_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/1163/labels{/name}","comments_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/1163/comments","events_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/1163/events","html_url":"https://github.com/timgrossmann/InstaPy/issues/1163","id":285161510,"number":1163,"title":"NameError: name 'session' is not defined *Chrome Installed*","user":{"login":"robo558999","id":34945389,"avatar_url":"https://avatars1.githubusercontent.com/u/34945389?v=4","gravatar_id":"","url":"https://api.github.com/users/robo558999","html_url":"https://github.com/robo558999","followers_url":"https://api.github.com/users/robo558999/followers","following_url":"https://api.github.com/users/robo558999/following{/other_user}","gists_url":"https://api.github.com/users/robo558999/gists{/gist_id}","starred_url":"https://api.github.com/users/robo558999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robo558999/subscriptions","organizations_url":"https://api.github.com/users/robo558999/orgs","repos_url":"https://api.github.com/users/robo558999/repos","events_url":"https://api.github.com/users/robo558999/events{/privacy}","received_events_url":"https://api.github.com/users/robo558999/received_events","type":"User","site_admin":false},"labels":[{"id":450146660,"url":"https://api.github.com/repos/timgrossmann/InstaPy/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-12-29T22:02:46Z","updated_at":"2018-02-17T15:47:06Z","closed_at":null,"author_association":"NONE","body":"Had issue before, installed chrome. Now quickstart.py pauses on a blinking cursor for a good moment, and the wifi indicator starts blinking then it throws up. \r\n\r\n```\r\nroot@kali:~/Desktop/InstaPy-master# python3 quickstart.py\r\nTraceback (most recent call last):\r\n  File \"quickstart.py\", line 10, in <module>\r\n    headless_browser=False)\r\n  File \"/root/Desktop/InstaPy-master/instapy/instapy.py\", line 135, in __init__\r\n    self.set_selenium_local_session()\r\n  File \"/root/Desktop/InstaPy-master/instapy/instapy.py\", line 194, in set_selenium_local_session\r\n    chrome_options=chrome_options)\r\n  File \"/usr/local/lib/python3.6/dist-packages/selenium/webdriver/chrome/webdriver.py\", line 75, in __init__\r\n    desired_capabilities=desired_capabilities)\r\n  File \"/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py\", line 154, in __init__\r\n    self.start_session(desired_capabilities, browser_profile)\r\n  File \"/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py\", line 243, in start_session\r\n    response = self.execute(Command.NEW_SESSION, parameters)\r\n  File \"/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py\", line 311, in execute\r\n    self.error_handler.check_response(response)\r\n  File \"/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py\", line 237, in check_response\r\n    raise exception_class(message, screen, stacktrace)\r\nselenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally\r\n  (Driver info: chromedriver=2.10.267518,platform=Linux 4.13.0-kali1-amd64 x86_64)\r\n\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"quickstart.py\", line 25, in <module>\r\n![screenshot from 2017-12-29 16-58-22](https://user-images.githubusercontent.com/34945389/34448292-f6473674-ecb9-11e7-8a70-8b75a3219c97.png)\r\n![screenshot from 2017-12-29 16-58-55](https://user-images.githubusercontent.com/34945389/34448295-f8b92980-ecb9-11e7-853d-48177ab7e8d2.png)\r\n\r\n\r\n    session.end()\r\nNameError: name 'session' is not defined\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/comments/366449729","html_url":"https://github.com/timgrossmann/InstaPy/issues/1163#issuecomment-366449729","issue_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/1163","id":366449729,"user":{"login":"robo558999","id":34945389,"avatar_url":"https://avatars1.githubusercontent.com/u/34945389?v=4","gravatar_id":"","url":"https://api.github.com/users/robo558999","html_url":"https://github.com/robo558999","followers_url":"https://api.github.com/users/robo558999/followers","following_url":"https://api.github.com/users/robo558999/following{/other_user}","gists_url":"https://api.github.com/users/robo558999/gists{/gist_id}","starred_url":"https://api.github.com/users/robo558999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robo558999/subscriptions","organizations_url":"https://api.github.com/users/robo558999/orgs","repos_url":"https://api.github.com/users/robo558999/repos","events_url":"https://api.github.com/users/robo558999/events{/privacy}","received_events_url":"https://api.github.com/users/robo558999/received_events","type":"User","site_admin":false},"created_at":"2018-02-17T15:47:06Z","updated_at":"2018-02-17T15:47:06Z","author_association":"NONE","body":"What can one do to keep the session from ending? Is there a command to loop\nback to the scripts first set actions/settings\n\nOn Feb 10, 2018 4:40 PM, \"Basti922\" <notifications@github.com> wrote:\n\n> you probally had a typo\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/timgrossmann/InstaPy/issues/1163#issuecomment-364695885>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AhU5bez8NI0q658T7QZVdLzlW10R729Sks5tTgy_gaJpZM4RPadR>\n> .\n>\n"}}
{"actor":{"display_login":"robo558999"}}