ALT Linux Bugzilla
– Attachment 10384 Details for
Bug 42116
weboob не переводит текст модуль translate
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
Лог translate
weboob bug translate (text/plain), 2.02 KB, created by
borisovsn
on 2022-03-14 12:04:47 MSK
(
hide
)
Description:
Лог translate
Filename:
MIME Type:
Creator:
borisovsn
Created:
2022-03-14 12:04:47 MSK
Size:
2.02 KB
patch
obsolete
>translaboob> translate en rus amazing >2022-03-14 12:00:02,686:DEBUG:bcall:2.0:bcall.py:92:backend_process <Backend 'googletranslate'>: Calling function <bound method Application._do_complete of <weboob.applications.translaboob.translaboob.Translaboob object at 0x7f1ef57dc6d0>> >2022-03-14 12:00:02,700:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:971:_new_conn Starting new HTTPS connection (1): translate.google.com:443 >2022-03-14 12:00:02,854:DEBUG:urllib3.connectionpool:2.0:connectionpool.py:452:_make_request https://translate.google.com:443 "GET / HTTP/1.1" 200 None >2022-03-14 12:00:02,949:DEBUG:bcall:2.0:bcall.py:98:backend_process <Backend 'googletranslate'>: Called function <bound method Application._do_complete of <weboob.applications.translaboob.translaboob.Translaboob object at 0x7f1ef57dc6d0>> raised an error: AttributeError("'NoneType' object has no attribute 'group'") >Bug(googletranslate): 'NoneType' object has no attribute 'group' >(If --auto-update is passed on the command-line, new versions of the module will be checked automatically) >Traceback (most recent call last): > File "/usr/lib64/python3/site-packages/weboob/core/bcall.py", line 94, in backend_process > result = function(backend, *args, **kwargs) > File "/usr/lib64/python3/site-packages/weboob/tools/application/base.py", line 318, in _do_complete > res = getattr(backend, function)(*args, **kwargs) > File "/root/.local/share/weboob/modules/2.0/googletranslate/module.py", line 118, in translate > translation.text = self.browser.translate(lan_from, lan_to, text) > File "/root/.local/share/weboob/modules/2.0/googletranslate/browser.py", line 40, in translate > tk = Token().calculate_token(t) > File "/root/.local/share/weboob/modules/2.0/googletranslate/gtts_token.py", line 29, in calculate_token > seed = self._get_token_key() > File "/root/.local/share/weboob/modules/2.0/googletranslate/gtts_token.py", line 62, in _get_token_key > tkk_expr = re.search(".*?(TKK=.*?;)W.*?", line).group(1) >AttributeError: 'NoneType' object has no attribute 'group' > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 42116
: 10384