bstoilov / py3-pinterest

Fully fledged Python Pinterest client
MIT License
310 stars 107 forks source link

Error when using Google Colab #206

Open GaryVelluz opened 4 months ago

GaryVelluz commented 4 months ago

Hello,

I have tested py3pin on Google Colab, however I have the following error: I'm new to programming, I don't know if the error is important or not.

__No credentials stored [Errno 2] No such file or directory: '[cred_root/xxxxxxxx@gmail.com]
(mailto:cred_root/xxxxxxxx@gmail.com)'
---------------------------------------------------------------------------
SessionNotCreatedException                Traceback (most recent call last)
[<ipython-input-8-35e2bbdd3ef8>](https://localhost:8080/#) in <cell line: 8>()
      6                       cred_root='cred_root')
      7 
----> 8 pinterest.login()

6 frames
[/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py](https://localhost:8080/#) in check_response(self, response)
    227                 alert_text = value["alert"].get("text")
    228             raise exception_class(message, screen, stacktrace, alert_text)  # type: ignore[call-arg]  # mypy is not smart enough here
--> 229         raise exception_class(message, screen, stacktrace)

SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
  (session not created: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)_

Thank you