Bonjour,
Je découvre Kresus que j’ai installé sur un NAS Synology via docker.
Tout d’abord, merci aux développeurs pour cette initiative.
J’ai donc commencé par créer 2 comptes Boursorama avec succès.
Par contre, je n’ai pas réussi à créer 1 compte à la Banque Postale et 1 compte Amundi.
Ci dessous un extrait des logs relatifs à la création de ces comptes (j’ai remplacé le n° de compte par « XXXX »)
# COMPTE LA BANQUE POSTALE
[2022-11-21T15:28:34.327] [INFO] accounts-manager - Retrieve all accounts from access bp with login XXXXXXXXX
[2022-11-21T15:28:34.333] [INFO] providers/woob - Calling woob: command accounts...
[2022-11-21T15:28:35.184] [INFO] providers/woob - exited with code 1.
[2022-11-21T15:28:35.184] [WARN] providers/woob - stderr: 2022-11-21 15:28:34,804:DEBUG:woob.core.modules.loader:modules.py:182:load_module Loaded module "bp" from /home/user/data/woob-data/modules/3.1/woob_modules/bp
2022-11-21 15:28:34,804:DEBUG:woob.backend:modules.py:98:create_instance Created backend "bp" for module "bp"
2022-11-21 15:28:34,805:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:28:34,805:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:28:34,808:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:28:34,808:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:28:34,810:DEBUG:urllib3.connectionpool:connectionpool.py:815:_new_conn Starting new HTTPS connection (1): voscomptesenligne.labanquepostale.fr:443
2022-11-21 15:28:35,002:DEBUG:urllib3.connectionpool:connectionpool.py:393:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers HTTP/1.1" 200 None
2022-11-21 15:28:35,009:DEBUG:woob.bp.browser:browsers.py:892:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers with LoginPage
2022-11-21 15:28:35,071:DEBUG:urllib3.connectionpool:connectionpool.py:393:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.013968900395902373 HTTP/1.1" 200 3506
2022-11-21 15:28:35,075:DEBUG:woob.bp.browser:browsers.py:892:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.013968900395902373 with UselessPage
2022-11-21 15:28:35,088:DEBUG:PIL.PngImagePlugin:PngImagePlugin.py:213:call STREAM b'IHDR' 16 13
2022-11-21 15:28:35,088:DEBUG:PIL.PngImagePlugin:PngImagePlugin.py:213:call STREAM b'IDAT' 41 3449
[2022-11-21T15:28:35.185] [INFO] providers/woob - Command returned an error code.
[2022-11-21T15:28:35.186] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-11-21T15:28:35.186] [INFO] providers/woob - Calling woob: command test...
[2022-11-21T15:28:35.443] [INFO] providers/woob - exited with code 0.
[2022-11-21T15:28:35.443] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-11-21T15:28:35.443] [ERROR] providers/woob - Got error while running command "accounts": Unknown error: not all arguments converted during string formatting.
Traceback (most recent call last):
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
results['values'] = self.get_accounts()
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
for account in list(self.backend.iter_accounts()):
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/module.py", line 80, in iter_accounts
return self.browser.get_accounts_list()
File "/woob/woob/browser/browsers.py", line 993, in inner
browser.do_login()
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 500, in do_login
self.login_without_2fa()
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 480, in login_without_2fa
self.page.login(self.username, self.password)
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 102, in login
vk = Keyboard(self)
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 82, in __init__
self.check_symbols(self.symbols, page.browser.responses_dirname)
File "/woob/woob/tools/captcha/virtkeyboard.py", line 172, in check_symbols
self.get_symbol_code(symbols[s])
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 85, in get_symbol_code
code = VirtKeyboard.get_symbol_code(self, md5sum)
File "/woob/woob/tools/captcha/virtkeyboard.py", line 163, in get_symbol_code
% all_known_md5_for_symbol)
TypeError: not all arguments converted during string formatting
[2022-11-21T15:28:35.444] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
[2022-11-21T15:28:36.029] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-11-21T15:28:36.029] [INFO] controllers/accesses - deleting access...
[2022-11-21T15:28:36.583] [ERROR] helpers - when creating a bank access: Unknown error: not all arguments converted during string formatting.
Traceback (most recent call last):
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
results['values'] = self.get_accounts()
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
for account in list(self.backend.iter_accounts()):
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/module.py", line 80, in iter_accounts
return self.browser.get_accounts_list()
File "/woob/woob/browser/browsers.py", line 993, in inner
browser.do_login()
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 500, in do_login
self.login_without_2fa()
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/browser.py", line 480, in login_without_2fa
self.page.login(self.username, self.password)
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 102, in login
vk = Keyboard(self)
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 82, in __init__
self.check_symbols(self.symbols, page.browser.responses_dirname)
File "/woob/woob/tools/captcha/virtkeyboard.py", line 172, in check_symbols
self.get_symbol_code(symbols[s])
File "/home/user/data/woob-data/modules/3.1/woob_modules/bp/pages/login.py", line 85, in get_symbol_code
code = VirtKeyboard.get_symbol_code(self, md5sum)
File "/woob/woob/tools/captcha/virtkeyboard.py", line 163, in get_symbol_code
% all_known_md5_for_symbol)
TypeError: not all arguments converted during string formatting
[2022-11-21T15:28:36.583] [INFO] helpers - Error
at new KError (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:59:22)
at callWoob (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:188:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async _fetchHelper (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:245:16)
at async Object.fetchAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:259:12)
at async pollAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:97:34)
at async AccountManager.syncAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:280:24)
at async createAndRetrieveData (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:115:33)
at async create (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:180:22)
[2022-11-21T15:28:36.585] [ERROR] HTTP - POST /api/accesses - 500 (2872 ms)
[2022-11-21T15:28:53.934] [INFO] providers/woob - Calling woob: command version...
[2022-11-21T15:28:54.183] [INFO] providers/woob - exited with code 0.
[2022-11-21T15:28:54.183] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-11-21T15:28:54.185] [INFO] HTTP - GET /api/instance/woob - 304 (254 ms)
[2022-11-21T15:28:59.141] [INFO] providers/woob - Calling woob: command test...
[2022-11-21T15:28:59.141] [INFO] providers/woob - Woob will be updated prior to command "test"
[2022-11-21T15:28:59.778] [INFO] providers/woob - exited with code 0.
[2022-11-21T15:28:59.778] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-11-21T15:28:59.780] [INFO] HTTP - PUT /api/instance/woob/ - 200 (640 ms)
# COMPTE AMUNDI
[2022-11-21T15:45:34.216] [INFO] accounts-manager - Retrieve all accounts from access amundi with login XXXXXX
[2022-11-21T15:45:34.220] [INFO] providers/woob - Calling woob: command accounts...
[2022-11-21T15:45:34.868] [INFO] providers/woob - exited with code 1.
[2022-11-21T15:45:34.868] [WARN] providers/woob - stderr: 2022-11-21 15:45:34,512:DEBUG:woob.core.modules.loader:modules.py:182:load_module Loaded module "amundi" from /home/user/data/woob-data/modules/3.1/woob_modules/amundi
2022-11-21 15:45:34,512:DEBUG:woob.backend:modules.py:98:create_instance Created backend "amundi" for module "amundi"
2022-11-21 15:45:34,513:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:45:34,513:DEBUG:urllib3.util.retry:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-11-21 15:45:34,516:DEBUG:urllib3.connectionpool:connectionpool.py:815:_new_conn Starting new HTTPS connection (1): epargnant.amundi-ee.com:443
2022-11-21 15:45:34,740:DEBUG:urllib3.connectionpool:connectionpool.py:393:_make_request https://epargnant.amundi-ee.com:443 "GET /public/config?site=m1st&manufacturer=Mozilla&model=X11&platform=web&uuid=e5eb219c-616a-40dc-80af-5eb2757dde0c&version=Linux+Linux+x86_64&navigateur=firefox&navigateurVersion=78.0.0 HTTP/1.1" 200 1260
2022-11-21 15:45:34,742:DEBUG:woob.amundi.browser:browsers.py:892:internal_callback Handle https://epargnant.amundi-ee.com/public/config?site=m1st&manufacturer=Mozilla&model=X11&platform=web&uuid=e5eb219c-616a-40dc-80af-5eb2757dde0c&version=Linux+Linux+x86_64&navigateur=firefox&navigateurVersion=78.0.0 with ConfigPage
2022-11-21 15:45:34,815:DEBUG:urllib3.connectionpool:connectionpool.py:393:_make_request https://epargnant.amundi-ee.com:443 "POST /public/authenticateFails HTTP/1.1" 200 21
2022-11-21 15:45:34,817:DEBUG:woob.amundi.browser:browsers.py:892:internal_callback Handle https://epargnant.amundi-ee.com/public/authenticateFails with AuthenticateFailsPage
[2022-11-21T15:45:34.868] [INFO] providers/woob - Command returned an error code.
[2022-11-21T15:45:34.870] [INFO] providers/woob - Checking that woob is installed and can actually be called…
[2022-11-21T15:45:34.871] [INFO] providers/woob - Calling woob: command test...
[2022-11-21T15:45:35.129] [INFO] providers/woob - exited with code 0.
[2022-11-21T15:45:35.130] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
[2022-11-21T15:45:35.130] [ERROR] providers/woob - Got error while running command "accounts": Unknown error: The site requires solving a captcha.
Traceback (most recent call last):
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
results['values'] = self.get_accounts()
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
for account in list(self.backend.iter_accounts()):
File "/home/user/data/woob-data/modules/3.1/woob_modules/amundi/module.py", line 67, in iter_accounts
return self.browser.iter_accounts()
File "/woob/woob/browser/browsers.py", line 993, in inner
browser.do_login()
File "/home/user/data/woob-data/modules/3.1/woob_modules/amundi/browser.py", line 127, in do_login
raise RecaptchaV2Question(website_key=website_key, website_url=website_url)
woob.exceptions.RecaptchaV2Question: The site requires solving a captcha
[2022-11-21T15:45:35.130] [ERROR] providers/woob - (error code: GENERIC_EXCEPTION)
[2022-11-21T15:45:35.247] [ERROR] controllers/accesses - The access process creation failed, cleaning up...
[2022-11-21T15:45:35.247] [INFO] controllers/accesses - deleting access...
[2022-11-21T15:45:35.841] [ERROR] helpers - when creating a bank access: Unknown error: The site requires solving a captcha.
Traceback (most recent call last):
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 704, in fetch
results['values'] = self.get_accounts()
File "/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py", line 554, in get_accounts
for account in list(self.backend.iter_accounts()):
File "/home/user/data/woob-data/modules/3.1/woob_modules/amundi/module.py", line 67, in iter_accounts
return self.browser.iter_accounts()
File "/woob/woob/browser/browsers.py", line 993, in inner
browser.do_login()
File "/home/user/data/woob-data/modules/3.1/woob_modules/amundi/browser.py", line 127, in do_login
raise RecaptchaV2Question(website_key=website_key, website_url=website_url)
woob.exceptions.RecaptchaV2Question: The site requires solving a captcha
[2022-11-21T15:45:35.842] [INFO] helpers - Error
at new KError (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:59:22)
at callWoob (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:188:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async _fetchHelper (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:245:16)
at async Object.fetchAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:259:12)
at async pollAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:97:34)
at async AccountManager.syncAccounts (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:280:24)
at async createAndRetrieveData (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:115:33)
at async create (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:180:22)
[2022-11-21T15:45:35.844] [ERROR] HTTP - POST /api/accesses - 500 (2038 ms)
Pour info, dans la partie administration, j’ai validé les options « mises à jour auto des modules » et « utiliser libnss »
Merci de votre aide.
JP