-
Notifications
You must be signed in to change notification settings - Fork 184
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
Stops on its own #164
Comments
@TobiasPankner pls help |
Sorry for the late reply, have you tried running it in headful mode to see what's happening? |
yes i run it in maximized mode, never ran it in minimize or headless mode |
Okay, a video would be helpful if because I cannot reproduce the issue |
It closes on its own |
How to track keypress in terminal? |
Thats not really what I have in mind with this bot though. You should be able to leave the computer and let it do it's thing without input. Thats the whole point |
Yes but incase it gets stuck for some reason we can just restart the searching manually instead of relaunching it. |
@AP-XD i just found a fix, not a code why this works for me |
Very weird, can you post a screenshot of chrome to help me fix this issue? |
Describe the bug
Script stops on its own
Screenshots
[13:58:50] Looking for new meetings
Traceback (most recent call last):
File "auto_joiner.py", line 58, in expand_channels
self.get_elem().find_element_by_css_selector("div.channels")
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 430, in find_element_by_css_selector
return self.find_element(by=By.CSS_SELECTOR, value=css_selector)
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 658, in find_element
return self._execute(Command.FIND_CHILD_ELEMENT,
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"div.channels"}
(Session info: chrome=97.0.4692.71)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "auto_joiner.py", line 770, in
main()
File "auto_joiner.py", line 713, in main
teams = get_all_teams()
File "auto_joiner.py", line 311, in get_all_teams
return [Team(team_names[i], team_ids[i]) for i in range(len(team_elems))]
File "auto_joiner.py", line 311, in
return [Team(team_names[i], team_ids[i]) for i in range(len(team_elems))]
File "auto_joiner.py", line 40, in init
self.get_channels()
File "auto_joiner.py", line 67, in get_channels
self.expand_channels()
File "auto_joiner.py", line 62, in expand_channels
self.get_elem().find_element_by_css_selector("div.channels")
File "auto_joiner.py", line 53, in get_elem
team_elem = team_header.find_element_by_xpath("..")
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 351, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 658, in find_element
return self._execute(Command.FIND_CHILD_ELEMENT,
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/home/sky/.local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
(Session info: chrome=97.0.4692.71)
Desktop :
The text was updated successfully, but these errors were encountered: