[bank][societegenerale] MFA is stored only for 10 minutes
With which module do you encounter problems?
Bank - societegenerale
Describe the problem you encounter
The MFA is not stored more than a few minutes. I have to validate it on my phone nearly every time I query. Plus there is a strange "donnees" error.
Paste here the stacktrace or error message you observe
2024-06-22 15:32:51,914:DEBUG:woob.core.bcall:3.6:bcall.py:86:backend_process <Backend societegenerale>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f0bed1b7c80>>
2024-06-22 15:32:51,915:DEBUG:woob.core.bcall:3.6:bcall.py:95:backend_process <Backend societegenerale>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f0bed1b7c80>> returned: <generator object Application._do_complete_iter at 0x7f0beb228040>
2024-06-22 15:32:51,915:DEBUG:urllib3.util.retry:3.6:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2024-06-22 15:32:51,916:DEBUG:urllib3.util.retry:3.6:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2024-06-22 15:32:51,918:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1231:_load_cookies Reloaded cookies from storage
2024-06-22 15:32:51,921:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:1019:_new_conn Starting new HTTPS connection (1): particuliers.sg.fr:443
2024-06-22 15:32:52,453:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /icd/cbo/data/recapitulatif-prestation-authsec.json?b64e200_prestationIdTechnique=tMWPfGwvowY1Ju__W8I4w2CEQU4%3D HTTP/1.1" 200 240
2024-06-22 15:32:52,462:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1040:internal_callback Handle https://particuliers.sg.fr/icd/cbo/data/recapitulatif-prestation-authsec.json?b64e200_prestationIdTechnique=tMWPfGwvowY1Ju__W8I4w2CEQU4%3D with RevolvingDetailsPage
2024-06-22 15:32:52,533:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /restitution/cns_listeprestation.html HTTP/1.1" 200 None
2024-06-22 15:32:52,544:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1040:internal_callback Handle https://particuliers.sg.fr/restitution/cns_listeprestation.html with AccountsMainPage
2024-06-22 15:32:52,633:DEBUG:urllib3.connectionpool:3.6:connectionpool.py:474:_make_request https://particuliers.sg.fr:443 "GET /icd/cbo/data/liste-prestations-authsec.json?n10_avecMontant=1 HTTP/1.1" 200 240
2024-06-22 15:32:52,635:DEBUG:woob.backend.societegenerale.browser:3.6:browsers.py:1040:internal_callback Handle https://particuliers.sg.fr/icd/cbo/data/liste-prestations-authsec.json?n10_avecMontant=1 with AccountsPage
Bug(societegenerale): 'donnees'
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
File "/home/olinath/.local/lib/python3.12/site-packages/woob/core/bcall.py", line 100, in backend_process
for subresult in result:
File "/home/olinath/.local/lib/python3.12/site-packages/woob/tools/application/base.py", line 327, in _do_complete_iter
for i, sub in enumerate(res):
File "/home/olinath/.local/share/woob/modules/3.6/woob_modules/societegenerale/module.py", line 90, in iter_accounts
for account in self.browser.get_accounts_list():
File "/home/olinath/.local/share/woob/modules/3.6/woob_modules/societegenerale/browser.py", line 479, in get_accounts_list
for account in self.page.iter_accounts():
File "/home/olinath/.local/lib/python3.12/site-packages/woob/browser/elements.py", line 269, in __iter__
for el in self.find_elements():
File "/home/olinath/.local/lib/python3.12/site-packages/woob/browser/elements.py", line 599, in find_elements
bases = [el[int(key)] if isinstance(el, list) else el[key] for el in bases]
~~^^^^^
KeyError: 'donnees'
What are the steps to reproduce the problem?
bank > ls > wait for 11 minutes > ls
What woob version are you using?
Woob config v3.6 Copyright(C) 2010-2024 Christophe Benz, Romain Bignon
What module version are you using?
Output of woob config info MODULE_NAME
command:
202401111616
How did you install woob?
pip install
Additional info you'd like to mention
The problem is visible for 3 weeks or so.