Closed LuisMartinSchick closed 3 years ago
Hi there :)
I'm not familiar with PM2, so I'm glad you could solve the issue by yourself (at least partly)! 🙂 Thanks for sharing your experience - feel free to create a pull request! However, I'd prefer not to include the binary .exe
file directly into this repo, as this would be a Windows-only solution, leaving other operating systems out. Furthermore, I don't know if that would be even allowed from a legal point of view (geckodriver
is licensed under MPLv2, I put mine under GPLv3), and I don't want to get into trouble here. 😉
Hello - love this project!
While running the project manually, it worked flawlessly - however when I tried to manage it via PM2, I started to run into issues. (Ran on a VM and my desktop)
The error code was the following:
As this only happened in PM2 and PyCharm, I started digging around and found a fix (for windows at least): You need to define the geckodriver executable variable directly (set the parameter
executable_path
when declaring the webdriver) and ideally have geckodriver inside the project to avoid permission issues.I have implemented this in my fork and can merge it into your repository, if you wish.