Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

choose language error #21

Closed
alexmaehon opened this issue Jul 20, 2022 · 1 comment
Closed

choose language error #21

alexmaehon opened this issue Jul 20, 2022 · 1 comment

Comments

@alexmaehon
Copy link

Not working suddenly from yesterday

Error:

File "/content/app.py", line 1379, in main
delete_old=True,
File "/content/app.py", line 264, in translate
wrap_limit,
File "/content/app.py", line 132, in translate
self.choose_languages(lang_from, lang_to)
File "/content/app.py", line 127, in choose_languages
f"//button[@DL-test='translator-lang-option-{lang_to['lang'].lower()}-{lang_to['lang'].upper()}'] | //button[text()='{lang_to['description']}']",
File "/content/app.py", line 50, in init
WebDriverWait(driver, 60).until(lambda driver: find_element(*locator))
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/support/wait.py", line 89, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
#0 0x564493741553
#1 0x56449342c183
#2 0x564493462619
#3 0x564493462831
#4 0x564493497087
#5 0x56449348001d
#6 0x564493494d6c
#7 0x564493480363
#8 0x56449345647c
#9 0x564493457945
#10 0x5644937b19d0
#11 0x564493776a38
#12 0x56449377675c
#13 0x564493776fc2
#14 0x5644937af71b
#15 0x564493777221
#16 0x56449375a5b3
#17 0x564493780988
#18 0x564493780b1a
#19 0x564493799a41
#20 0x7fb6e043c6db

@sinedie
Copy link
Owner

sinedie commented Jul 20, 2022

Fixed in commit 2356aa7. And published in last release (0.9.1) also in pypi, so feel free to upgrade the package and tell if any issue persist.

@sinedie sinedie closed this as completed Jul 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants