[bank][lcl] fails with Bug(lcl): expected to be in monespace_home
With which module do you encounter problems?
- bank odule
Describe the problem you encounter
woob bank -b lcl list
suddendly fails
Paste here the stacktrace or error message you observe
woob bank -b lcl list --debug
2022-07-15 15:58:01,188:DEBUG:woob.config:3.0:yamlconfig.py:75:load Loading configuration file: /homecrypt/clabaut/.config/woob/bank.storage.
2022-07-15 15:58:01,188:DEBUG:woob.config:3.0:yamlconfig.py:79:load Configuration file loaded: /homecrypt/clabaut/.config/woob/bank.storage.
2022-07-15 15:58:01,243:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "lcl" from /home/clabaut/.local/share/woob/modules/3.0/lcl
2022-07-15 15:58:01,274:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "lcl" for module "lcl"
2022-07-15 15:58:01,275:DEBUG:woob.config:3.0:iniconfig.py:53:load Loading application configuration file: /homecrypt/clabaut/.config/woob/bank.
2022-07-15 15:58:01,275:DEBUG:woob.config:3.0:iniconfig.py:73:load Application configuration file loaded: /homecrypt/clabaut/.config/woob/bank.
Account Balance Coming
---------------------------------------------------------+----------+----------
2022-07-15 15:58:01,284:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'lcl'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f9869c0a7d0>>
2022-07-15 15:58:01,284:DEBUG:urllib3.util.retry:3.0:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-07-15 15:58:01,284:DEBUG:urllib3.util.retry:3.0:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-07-15 15:58:01,286:DEBUG:urllib3.util.retry:3.0:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-07-15 15:58:01,286:DEBUG:urllib3.util.retry:3.0:retry.py:351:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-07-15 15:58:01,288:DEBUG:backend.lcl.browser:3.0:woob_browser_mfa.py:59:_load_cookies Reloaded cookies from storage
2022-07-15 15:58:01,290:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:1001:_new_conn Starting new HTTPS connection (1): particuliers.secure.lcl.fr:443
2022-07-15 15:58:01,563:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWSP/Synthese HTTP/1.1" 200 None
2022-07-15 15:58:01,595:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWSP/Synthese with AccountsPage
2022-07-15 15:58:01,704:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWVI/AssuranceVie/accesSynthese HTTP/1.1" 200 None
2022-07-15 15:58:01,731:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWVI/AssuranceVie/accesSynthese with AVPage
2022-07-15 15:58:01,875:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWSP/Synthese HTTP/1.1" 200 None
2022-07-15 15:58:01,901:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWSP/Synthese with AccountsPage
2022-07-15 15:58:01,979:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWDI/ HTTP/1.1" 200 None
2022-07-15 15:58:02,016:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWDI/ with RealEstateInvestmentsPage
2022-07-15 15:58:02,196:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWSP/Synthese HTTP/1.1" 200 None
2022-07-15 15:58:02,206:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWSP/Synthese with AccountsPage
2022-07-15 15:58:02,211:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:1001:_new_conn Starting new HTTPS connection (2): particuliers.secure.lcl.fr:443
2022-07-15 15:58:02,213:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:1001:_new_conn Starting new HTTPS connection (3): particuliers.secure.lcl.fr:443
2022-07-15 15:58:02,381:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWLM/ListeMouvementsParticulier/accesListeMouvementsPar?agence=03974&compte=058193D&nature=006&mode=190 HTTP/1.1" 200 None
2022-07-15 15:58:02,419:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWLM/ListeMouvementsParticulier/accesListeMouvementsPar?agence=03974&compte=058193D&nature=006&mode=190 with AccountHistoryPage
2022-07-15 15:58:02,581:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWLM/ListeMouvementsParticulier/accesListeMouvementsPar?agence=02996&compte=005681Y&nature=006&mode=190 HTTP/1.1" 200 None
2022-07-15 15:58:02,611:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWLM/ListeMouvementsParticulier/accesListeMouvementsPar?agence=03974&compte=968283S&nature=049&mode=190 HTTP/1.1" 200 None
2022-07-15 15:58:02,612:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWLM/ListeMouvementsParticulier/accesListeMouvementsPar?agence=02996&compte=005681Y&nature=006&mode=190 with AccountHistoryPage
2022-07-15 15:58:02,645:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWLM/ListeMouvementsParticulier/accesListeMouvementsPar?agence=03974&compte=968283S&nature=049&mode=190 with AccountHistoryPage
2022-07-15 15:58:02,758:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWRI/Accueil/ HTTP/1.1" 200 None
2022-07-15 15:58:02,783:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWRI/Accueil/ with RibPage
2022-07-15 15:58:02,885:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "POST /outil/UWRI/Accueil/detailRib HTTP/1.1" 200 None
2022-07-15 15:58:02,910:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWRI/Accueil/detailRib with RibPage
2022-07-15 15:58:03,006:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWRI/Accueil/ HTTP/1.1" 200 None
2022-07-15 15:58:03,031:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWRI/Accueil/ with RibPage
2022-07-15 15:58:03,130:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "POST /outil/UWRI/Accueil/detailRib HTTP/1.1" 200 None
2022-07-15 15:58:03,144:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWRI/Accueil/detailRib with RibPage
2022-07-15 15:58:03,243:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWRI/Accueil/ HTTP/1.1" 200 None
2022-07-15 15:58:03,255:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWRI/Accueil/ with RibPage
2022-07-15 15:58:03,365:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "POST /outil/UWRI/Accueil/detailRib HTTP/1.1" 200 None
2022-07-15 15:58:03,378:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWRI/Accueil/detailRib with RibPage
2022-07-15 15:58:03,539:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWCR/SynthesePar/ HTTP/1.1" 200 None
2022-07-15 15:58:03,550:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWCR/SynthesePar/ with LoansPage
2022-07-15 15:58:03,654:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWCR/SynthesePro/ HTTP/1.1" 302 None
2022-07-15 15:58:03,724:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UAUT/SansDroit/affichePageSansDroit?controlleurAppelant=SynthesePro&codeOpAppelant=UWCR&pageRebond=bloop/bloopSynthesePRO&inPopup=false HTTP/1.1" 200 None
2022-07-15 15:58:03,737:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UAUT/SansDroit/affichePageSansDroit?controlleurAppelant=SynthesePro&codeOpAppelant=UWCR&pageRebond=bloop/bloopSynthesePRO&inPopup=false with NoPermissionPage
2022-07-15 15:58:03,737:WARNING:backend.lcl.browser:3.0:browser.py:603:get_accounts Pro loans are unavailable.
2022-07-15 15:58:03,775:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWBO/AccesBourse/temporisationCar?codeTicker=TICKERBOURSECLI HTTP/1.1" 302 None
2022-07-15 15:58:03,839:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UAUT/SansDroit/affichePageSansDroit?controlleurAppelant=AccesBourse&codeOpAppelant=UWBO HTTP/1.1" 200 None
2022-07-15 15:58:03,852:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UAUT/SansDroit/affichePageSansDroit?controlleurAppelant=AccesBourse&codeOpAppelant=UWBO with NoPermissionPage
2022-07-15 15:58:04,058:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWPL/CompteATerme/accesSynthese HTTP/1.1" 200 None
2022-07-15 15:58:04,073:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWPL/CompteATerme/accesSynthese with DepositPage
2022-07-15 15:58:04,263:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWSP/Synthese HTTP/1.1" 200 None
2022-07-15 15:58:04,281:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWSP/Synthese with AccountsPage
2022-07-15 15:58:04,283:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:1001:_new_conn Starting new HTTPS connection (1): monespace.lcl.fr:443
2022-07-15 15:58:04,396:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://monespace.lcl.fr:443 "GET /api/login/keypad HTTP/1.1" 200 144
2022-07-15 15:58:04,397:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://monespace.lcl.fr/api/login/keypad with KeypadPage
2022-07-15 15:58:05,118:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://monespace.lcl.fr:443 "POST /api/login HTTP/1.1" 201 835
2022-07-15 15:58:05,119:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://monespace.lcl.fr/api/login with LoginPage
2022-07-15 15:58:05,407:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://monespace.lcl.fr:443 "POST /api/login/contract HTTP/1.1" 201 196
2022-07-15 15:58:05,407:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://monespace.lcl.fr/api/login/contract with LoginPage
2022-07-15 15:58:05,487:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://monespace.lcl.fr:443 "POST /api/user/contract HTTP/1.1" 201 None
2022-07-15 15:58:05,493:DEBUG:backend.lcl.browser:3.0:browsers.py:894:internal_callback Unable to handle https://monespace.lcl.fr/api/user/contract
2022-07-15 15:58:05,494:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:1001:_new_conn Starting new HTTPS connection (1): particuliers.secure.lcl.fr:443
2022-07-15 15:58:05,839:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UAUT/warbel-context-provider?token=48729249dd778d43d005f6bdbf9c253d8052b3d98df538a8db8006e3ecd46d38080d8f1ee622619ab2d1d7ddc8494b3b&rt=a668e04458b0215221ef0b1cd4489a14e06bd2ad50104511b8a492b8aa7b2abb40b1706586c57e7de478b41282e8e2ae&exp=90e8792fb08f9c52d0eebb6481ef956c&ib=89140ac2b4820c2b440d76089306db8d HTTP/1.1" 302 None
2022-07-15 15:58:05,997:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UWHO/Accueil/chargerComptesPourInteract HTTP/1.1" 302 None
2022-07-15 15:58:06,036:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UAUT/Contract/redirection HTTP/1.1" 200 331
2022-07-15 15:58:06,037:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UAUT/Contract/redirection with RedirectionPage
2022-07-15 15:58:06,176:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "POST /outil/UWER/Accueil/majicER HTTP/1.1" 200 306
2022-07-15 15:58:06,176:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWER/Accueil/majicER with PreHomePage
2022-07-15 15:58:06,319:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "POST /outil/UWHO/Accueil/ HTTP/1.1" 200 None
2022-07-15 15:58:06,375:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UWHO/Accueil/ with HomePage
2022-07-15 15:58:06,416:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:456:_make_request https://particuliers.secure.lcl.fr:443 "GET /outil/UAUT/acces_refonte?xtatc=INT-937 HTTP/1.1" 200 3165
2022-07-15 15:58:06,419:DEBUG:backend.lcl.browser:3.0:browsers.py:880:internal_callback Handle https://particuliers.secure.lcl.fr/outil/UAUT/acces_refonte?xtatc=INT-937 with RedirectMonEspaceHome
2022-07-15 15:58:06,420:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'lcl'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f9869c0a7d0>> raised an error: AssertionError('expected to be in monespace_home')
Bug(lcl): expected to be in monespace_home
(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/lib/python3.10/site-packages/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/usr/lib/python3.10/site-packages/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/clabaut/.local/share/woob/modules/3.0/lcl/module.py", line 330, in iter_resources
return self.iter_accounts()
File "/home/clabaut/.local/share/woob/modules/3.0/lcl/module.py", line 150, in iter_accounts
return self.browser.get_accounts_list()
File "/usr/lib/python3.10/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/clabaut/.local/share/woob/modules/3.0/lcl/browser.py", line 667, in get_accounts_list
for acc in monespace_accounts:
File "/home/clabaut/.local/share/woob/modules/3.0/lcl/browser.py", line 698, in get_monespace_accounts
for account in self.mon_espace_browser.iter_accounts():
File "/usr/lib/python3.10/site-packages/woob/browser/browsers.py", line 981, in inner
browser.do_login()
File "/home/clabaut/.local/share/woob/modules/3.0/lcl/monespace/browser.py", line 157, in do_login
assert self.monespace_home.is_here(), 'expected to be in monespace_home'
AssertionError: expected to be in monespace_home
What are the steps to reproduce the problem?
woob bank -b lcl list
What woob version are you using?
Output of woob config --version
command:
Woob config v3.0 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon
What module version are you using?
.------------------------------------------------------------------------------.
| Module lcl |
+-----------------.------------------------------------------------------------'
| Version | 202207130105
| Maintainer | Romain Bignon <romain@weboob.org>
| License | LGPLv3+
| Description | LCL
| Capabilities | CapTransfer, CapDocument, CapProfile, CapBankTransfer, CapBank, CapCollection, CapCredentialsCheck, CapContact, CapBankWealth, CapBankTransferAddRecipient
| Installed | yes
| Location | https://updates.weboob.org/3.0/main/lcl.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Code personnel (default: )
| | website: Type de compte (default: par)
| | resume: None
| | request_information: None
| | code: None
'-----------------'
How did you install woob?
Arch linux package
Additional info you'd like to mention
Edited by Mathieu Clabaut