Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1 #1

Open
laminthurein1411 opened this issue Dec 1, 2024 · 0 comments

Comments

@laminthurein1411
Copy link

Run python script.py
Traceback (most recent call last):

Attempting to authorize...


Running fresh authorization protocol...
Custom authorization url: https://accounts.spotify.com/authorize?client_id=***&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback&response_type=code&scope=playlist-read-private+playlist-read-collaborative+playlist-modify-public+playlist-modify-private 

Directing to Spotify Authorization page...
  File "/home/runner/work/spotify-playlist-backup/spotify-playlist-backup/script.py", line 261, in <module>
    sp = handle_auth()
  File "/home/runner/work/spotify-playlist-backup/spotify-playlist-backup/script.py", line 82, in handle_auth
    _sp.set_auth(get_authenticator().access_token)
  File "/home/runner/work/spotify-playlist-backup/spotify-playlist-backup/script.py", line 94, in get_authenticator
    spotify_authenticator.authorize()
  File "/home/runner/work/spotify-playlist-backup/spotify-playlist-backup/auth.py", line 206, in authorize
    self.auth_code = self.get_auth_code(headless = True)
  File "/home/runner/work/spotify-playlist-backup/spotify-playlist-backup/auth.py", line 66, in get_auth_code
    driver = webdriver.Firefox(
  File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/selenium/webdriver/firefox/webdriver.py", line 71, in __init__
    super().__init__(command_executor=executor, options=options)
  File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 241, in __init__
    self.start_session(capabilities)
  File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 329, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 384, in execute
    self.error_handler.check_response(response)
  File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1

Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant