Code Monkey home page Code Monkey logo

Comments (3)

Gabbo94 avatar Gabbo94 commented on May 29, 2024

Even with this procedure i get this error:
pi@raspberrypi:~/InstaPyScripts $ python3 quickstart.py
/home/pi/.local/lib/python3.5/site-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.25.1) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)

.. .. .. .. .. .. .. ..
Workspace in use: "/home/pi/InstaPy"

.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ._.
INFO [2019-04-27 20:49:00] [bolognarepartocorseofficial] Using built in instapy-chromedriver executable (version 2.36.post0)
ERROR [2019-04-27 20:50:02] [bolognarepartocorseofficial] Message: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.36 (a81166ad79e68fbfe7cf5ba243192d6412e26b37),platform=Linux 4.14.98-v7+ armv7l)
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.5/site-packages/instapy/browser.py", line 146, in set_selenium_local_session
chrome_options=chrome_options)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
desired_capabilities=desired_capabilities)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/pi/.local/lib/python3.5/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: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.36 (a81166ad79e68fbfe7cf5ba243192d6412e26b37),platform=Linux 4.14.98-v7+ armv7l)

Traceback (most recent call last):
File "quickstart.py", line 11, in
headless_browser=False)
File "/home/pi/.local/lib/python3.5/site-packages/instapy/instapy.py", line 295, in init
self.set_selenium_local_session()
File "/home/pi/.local/lib/python3.5/site-packages/instapy/instapy.py", line 349, in set_selenium_local_session
raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at /home/pi/.local/lib/python3.5/site-packages/instapy_chromedriver/chromedriver

from instapy-docs.

Gabbo94 avatar Gabbo94 commented on May 29, 2024

Even with this procedure i get this error:
pi@raspberrypi:~/InstaPyScripts $ python3 quickstart.py
/home/pi/.local/lib/python3.5/site-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.25.1) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)

.. .. .. .. .. .. .. ..
Workspace in use: "/home/pi/InstaPy"

.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ._.
INFO [2019-04-27 20:49:00] [bolognarepartocorseofficial] Using built in instapy-chromedriver executable (version 2.36.post0)
ERROR [2019-04-27 20:50:02] [bolognarepartocorseofficial] Message: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.36 (a81166ad79e68fbfe7cf5ba243192d6412e26b37),platform=Linux 4.14.98-v7+ armv7l)
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.5/site-packages/instapy/browser.py", line 146, in set_selenium_local_session
chrome_options=chrome_options)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
desired_capabilities=desired_capabilities)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/pi/.local/lib/python3.5/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: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.36 (a81166ad79e68fbfe7cf5ba243192d6412e26b37),platform=Linux 4.14.98-v7+ armv7l)

Traceback (most recent call last):
File "quickstart.py", line 11, in
headless_browser=False)
File "/home/pi/.local/lib/python3.5/site-packages/instapy/instapy.py", line 295, in init
self.set_selenium_local_session()
File "/home/pi/.local/lib/python3.5/site-packages/instapy/instapy.py", line 349, in set_selenium_local_session
raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at /home/pi/.local/lib/python3.5/site-packages/instapy_chromedriver/chromedriver

P.S.
I notice that at point 8. you wrote "mkdir InstaPy Scripts". I think that your intention was to create a single directory named "InstaPy Scripts" but when i try to do it, i saw that the raspberry has created 2 different directories named "InstaPy" and "Scripts". This is why i named it InstaPyScripts

from instapy-docs.

Gabbo94 avatar Gabbo94 commented on May 29, 2024

Even with this procedure i get this error:
pi@raspberrypi:~/InstaPyScripts $ python3 quickstart.py
/home/pi/.local/lib/python3.5/site-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.25.1) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
.. .. .. .. .. .. .. ..
Workspace in use: "/home/pi/InstaPy"
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ._.
INFO [2019-04-27 20:49:00] [bolognarepartocorseofficial] Using built in instapy-chromedriver executable (version 2.36.post0)
ERROR [2019-04-27 20:50:02] [bolognarepartocorseofficial] Message: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.36 (a81166ad79e68fbfe7cf5ba243192d6412e26b37),platform=Linux 4.14.98-v7+ armv7l)
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.5/site-packages/instapy/browser.py", line 146, in set_selenium_local_session
chrome_options=chrome_options)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
desired_capabilities=desired_capabilities)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/pi/.local/lib/python3.5/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: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.36 (a81166ad79e68fbfe7cf5ba243192d6412e26b37),platform=Linux 4.14.98-v7+ armv7l)
Traceback (most recent call last):
File "quickstart.py", line 11, in
headless_browser=False)
File "/home/pi/.local/lib/python3.5/site-packages/instapy/instapy.py", line 295, in init
self.set_selenium_local_session()
File "/home/pi/.local/lib/python3.5/site-packages/instapy/instapy.py", line 349, in set_selenium_local_session
raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at /home/pi/.local/lib/python3.5/site-packages/instapy_chromedriver/chromedriver

P.S.
I notice that at point 8. you wrote "mkdir InstaPy Scripts". I think that your intention was to create a single directory named "InstaPy Scripts" but when i try to do it, i saw that the raspberry has created 2 different directories named "InstaPy" and "Scripts". This is why i named it InstaPyScripts

Solved, i change the permission of the chromedriver both in home/Pi/InstaPy/Assets/chromedriver and home/Pi/.local/lib/python3.5/site-packages/instapy_chromedriver/chromedriver.
Also i added a directory home/Pi/.local/lib/python3.5/dist-packages because i see that a script linked to it. Finally i added a sub directory with the driver home/Pi/.local/lib/python3.5/dist-packages/instapy_chromedriver/chromedriver

Now the error is:
pi@raspberrypi:~/InstaPyScripts $ python3 quickstart.py
/home/pi/.local/lib/python3.5/site-packages/requests/init.py:91: RequestsDep endencyWarning: urllib3 (1.25.1) or chardet (3.0.4) doesn't match a supported ve rsion!
RequestsDependencyWarning)

.. .. .. .. .. .. .. ..
Workspace in use: "/home/pi/InstaPy"
ERROR [2019-04-28 00:55:52] [bolognarepartocorseofficial] Message: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.36 (a81166ad79e68fbfe7cf5ba243192d6412e26b37),platform=Linux 4.14.98-v7+ armv7l)
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.5/site-packages/instapy/browser.py", line 146, in set_selenium_local_session
chrome_options=chrome_options)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
desired_capabilities=desired_capabilities)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/pi/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/pi/.local/lib/python3.5/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: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.36 (a81166ad79e68fbfe7cf5ba243192d6412e26b37),platform=Linux 4.14.98-v7+ armv7l)

Traceback (most recent call last):
File "quickstart.py", line 11, in
headless_browser=False)
File "/home/pi/.local/lib/python3.5/site-packages/instapy/instapy.py", line 295, in init
self.set_selenium_local_session()
File "/home/pi/.local/lib/python3.5/site-packages/instapy/instapy.py", line 349, in set_selenium_local_session
raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at /home/pi/InstaPy/assets/chromedriver

from instapy-docs.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.