[bank][boursorama] not working since 3 weeks
With which module do you encounter problems?
bank - boursorama
Describe the problem you encounter
error encountered since 3 weeks using boursrorama (tested with several accounts)
Paste here the stacktrace or error message you observe
bank> logging debug
bank> list
Account Balance Coming
------------------------------------------+----------+----------
2022-02-20 17:48:57,057:DEBUG:woob.core.bcall:3.1:bcall.py:92:backend_process <Backend 'boursorama'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fa0dbbb6310>>
2022-02-20 17:48:57,057:DEBUG:urllib3.util.retry:3.1:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-02-20 17:48:57,057:DEBUG:urllib3.util.retry:3.1:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-02-20 17:48:57,058:ERROR:woob.backend.boursorama.browser:3.1:browsers.py:1054:_load_cookies Unable to reload cookies from storage
2022-02-20 17:48:57,059:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:973:_new_conn Starting new HTTPS connection (1): clients.boursorama.com:443
2022-02-20 17:48:57,119:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:452:_make_request https://clients.boursorama.com:443 "GET /compte/epargne/pel/xxxxxxxxxxxxxxxx/mouvements HTTP/1.1" 302 None
2022-02-20 17:48:57,172:DEBUG:urllib3.connectionpool:3.1:connectionpool.py:452:_make_request https://clients.boursorama.com:443 "GET /connexion/?org=/compte/epargne/pel/xxxxxxxxxxxxxxxxx/mouvements HTTP/1.1" 200 None
2022-02-20 17:48:57,182:DEBUG:woob.backend.boursorama.browser:3.1:browsers.py:887:internal_callback Handle https://clients.boursorama.com/connexion/?org=/compte/epargne/pel/xxxxxxxxxxxxxx/mouvements with PasswordPage
2022-02-20 17:48:57,182:DEBUG:woob.core.bcall:3.1:bcall.py:98:backend_process <Backend 'boursorama'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7fa0dbbb6310>> raised an error: ParserError('Unknown string format: %s', 'None')
Bug(boursorama): Unknown string format: None
(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/laulau/git/git_others/woob/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/laulau/git/git_others/woob/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/laulau/.local/share/woob/modules/3.1/woob_modules/boursorama/module.py", line 194, in iter_resources
return self.iter_accounts()
File "/home/laulau/.local/share/woob/modules/3.1/woob_modules/boursorama/module.py", line 71, in iter_accounts
return self.browser.get_accounts_list()
File "/home/laulau/git/git_others/woob/woob/tools/backend.py", line 367, in browser
self._browser = self.create_default_browser()
File "/home/laulau/.local/share/woob/modules/3.1/woob_modules/boursorama/module.py", line 68, in create_default_browser
return self.create_browser(self.config)
File "/home/laulau/git/git_others/woob/woob/tools/backend.py", line 410, in create_browser
browser.load_state(self.storage.get('browser_state', default={}))
File "/home/laulau/.local/share/woob/modules/3.1/woob_modules/boursorama/browser.py", line 279, in load_state
super(BoursoramaBrowser, self).load_state(state)
File "/home/laulau/git/git_others/woob/woob/browser/browsers.py", line 1407, in load_state
twofa_logged_date = parser.parse(state['twofa_logged_date'])
File "/home/laulau/.local/lib/python3.9/site-packages/dateutil/parser/_parser.py", line 1374, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File "/home/laulau/.local/lib/python3.9/site-packages/dateutil/parser/_parser.py", line 649, in parse
raise ParserError("Unknown string format: %s", timestr)
dateutil.parser._parser.ParserError: Unknown string format: None
------------------------------------------+----------+----------
What are the steps to reproduce the problem?
bank list command
What woob version are you using?
2.0, tried master (3.1) too
Output of woob config --version
command:
Woob config v3.1 Copyright(C) 2010-2022 Christophe Benz, Romain Bignon
What module version are you using?
Output of woob config info MODULE_NAME
command:
.------------------------------------------------------------------------------.
| Module boursorama |
+-----------------.------------------------------------------------------------'
| Version | 202202182006
| Maintainer | Gabriel Kerneis <gabriel@kerneis.info>
| License | LGPLv3+
| Description | Boursorama
| Capabilities | CapBankTransfer, CapProfile, CapContact, CapCurrencyRate, CapBank, CapCollection, CapTransfer, CapBankWealth, CapDocument, CapBankTransferAddRecipient
| Installed | yes
| Location | https://updates.weboob.org/3.1/main/boursorama.tar.gz
| |
| Configuration | login: Identifiant (default: )
| | password: Mot de passe (default: )
| | code: None
| | request_information: None
How did you install woob?
2.0 : via pip
master : via GIT
Additional info you'd like to mention
I can't dev in python but I can make many technical tests. if needed, contact me !
Edited by olaulau