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

Downloading web driver error... #164

Open
mark522412 opened this issue Jul 8, 2024 · 6 comments
Open

Downloading web driver error... #164

mark522412 opened this issue Jul 8, 2024 · 6 comments

Comments

@mark522412
Copy link

(venv) C:\bots\tap\TapSwapBot>python main.py
2024-07-08 06:08:33 | INFO | 114 - Downloading webdriver. It may take some time...
Traceback (most recent call last):
File "C:\bots\tap\TapSwapBot\main.py", line 4, in
from bot.utils.launcher import process
File "C:\bots\tap\TapSwapBot\bot\utils_init_.py", line 2, in
from . import launcher
File "C:\bots\tap\TapSwapBot\bot\utils\launcher.py", line 9, in
from bot.core.tapper import run_tapper
File "C:\bots\tap\TapSwapBot\bot\core\tapper.py", line 16, in
from bot.utils.scripts import escape_html, login_in_browser
File "C:\bots\tap\TapSwapBot\bot\utils\scripts.py", line 116, in
webdriver_path = pathlib.Path(web_manager().install())
File "C:\bots\tap\TapSwapBot\venv\lib\site-packages\webdriver_manager\chrome.py", line 40, in install
driver_path = self._get_driver_binary_path(self.driver)
File "C:\bots\tap\TapSwapBot\venv\lib\site-packages\webdriver_manager\core\manager.py", line 40, in _get_driver_binary_path
file = self._download_manager.download_file(driver.get_driver_download_url(os_type))
File "C:\bots\tap\TapSwapBot\venv\lib\site-packages\webdriver_manager\drivers\chrome.py", line 32, in get_driver_download_url
driver_version_to_download = self.get_driver_version_to_download()
File "C:\bots\tap\TapSwapBot\venv\lib\site-packages\webdriver_manager\core\driver.py", line 48, in get_driver_version_to_download
return self.get_latest_release_version()
File "C:\bots\tap\TapSwapBot\venv\lib\site-packages\webdriver_manager\drivers\chrome.py", line 64, in get_latest_release_version
determined_browser_version = ".".join(determined_browser_version.split(".")[:3])
AttributeError: 'NoneType' object has no attribute 'split'

(venv) C:\bots\tap\TapSwapBot>

@EugeneMartein
Copy link

Install Chrome browser on your system.

@mark522412
Copy link
Author

mark522412 commented Jul 18, 2024

Install Chrome browser on your system.

Is this bot still working? i mean should i give it another try or nah?

@EugeneMartein
Copy link

Yes

@mark522412
Copy link
Author

Yes

Thank you for the web driver thing. the bot installed now. but new problem :
2024-07-18 10:10:14 | INFO | 257 - All sessions are closed. Quitting driver...
2024-07-18 10:10:14 | INFO | 257 - All sessions are closed. Quitting driver...
2024-07-18 10:10:14 | INFO | 257 - All sessions are closed. Quitting driver...

someone else said bot url has changed. any idea where to fix this ourselves? looks like the main dev not updating anything at the moment

@kamranmt21
Copy link

Yes

Thank you for the web driver thing. the bot installed now. but new problem : 2024-07-18 10:10:14 | INFO | 257 - All sessions are closed. Quitting driver... 2024-07-18 10:10:14 | INFO | 257 - All sessions are closed. Quitting driver... 2024-07-18 10:10:14 | INFO | 257 - All sessions are closed. Quitting driver...

someone else said bot url has changed. any idea where to fix this ourselves? looks like the main dev not updating anything at the moment

now an update is there. it is not working for me yet, but you can try it.

@mark522412
Copy link
Author

now an update is there. it is not working for me yet, but you can try it.

Updated the bot. got the same error but it started working after error

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

3 participants