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

TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path' #5

Open
ncorder opened this issue Nov 27, 2023 · 0 comments

Comments

@ncorder
Copy link

ncorder commented Nov 27, 2023

Device
Machine: x230 Thinkpad
OS: Trisquel GNU/Linux (a fork of Ubuntu)
Version: I ran git clone on November 26th of 2023

Log:

usr@computer:~/Applications/Quizlet-dl$ python3 quizlet-dl.py [url] [folder]
Traceback (most recent call last):
  File "/home/usr/Applications/Quizlet-dl/quizlet-dl.py", line 124, in main
    driver = webdriver.Firefox(executable_path = path+'\\geckodriver.exe',
TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/usr/Applications/Quizlet-dl/quizlet-dl.py", line 136, in <module>
    main()
  File "/home/usr/Applications/Quizlet-dl/quizlet-dl.py", line 133, in main
    driver.quit()
UnboundLocalError: local variable 'driver' referenced before assignment
usr@computer:~/Applications/Quizlet-dl$ 

My theory is perhaps it does not currently support all operating systems.
I had moved a copy of the executable for geckodriver into the folder, however it appears to utilize the .exe file.

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