[bank][caissedepargne] 'NotLoadedType' object has no attribute 'upper'
Hi, since a a few days i have the following error when i try to get my caissedepargne history :
ben_caro@Chimay:~$ ~ben_caro/venv_python/woob/bin/woob bank --nss --debug history xxxxxxxx@caissedepargne 2022-12-01
2022-12-06 22:04:43,364:DEBUG:woob.config:3.0:yamlconfig.py:75:load Loading configuration file: /home/ben_caro/.config/woob/bank.storage.
2022-12-06 22:04:43,365:DEBUG:woob.config:3.0:yamlconfig.py:79:load Configuration file loaded: /home/ben_caro/.config/woob/bank.storage.
2022-12-06 22:04:43,411:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "caissedepargne" from /home/ben_caro/.local/share/woob/modules/3.0/caissedepargne
2022-12-06 22:04:43,411:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "caissedepargne" for module "caissedepargne"
2022-12-06 22:04:43,422:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "fortuneo" from /home/ben_caro/.local/share/woob/modules/3.0/fortuneo
2022-12-06 22:04:43,422:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "fortuneo" for module "fortuneo"
2022-12-06 22:04:43,427:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "spirica" from /home/ben_caro/.local/share/woob/modules/3.0/spirica
2022-12-06 22:04:43,427:DEBUG:backend:3.0:modules.py:97:create_instance Created backend "spirica" for module "spirica"
2022-12-06 22:04:43,427:DEBUG:woob.config:3.0:iniconfig.py:53:load Loading application configuration file: /home/ben_caro/.config/woob/bank.
2022-12-06 22:04:43,427:DEBUG:woob.config:3.0:iniconfig.py:73:load Application configuration file loaded: /home/ben_caro/.config/woob/bank.
2022-12-06 22:04:43,431:DEBUG:bcall:3.0:bcall.py:92:backend_process <Backend 'caissedepargne'>: Calling function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f526d5658d0>>
[caissedepargne] Mot de passe (hidden input):
2022-12-06 22:04:47,999:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,002:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,018:DEBUG:modules:3.0:modules.py:166:load_module Loaded module "linebourse" from /home/ben_caro/.local/share/woob/modules/3.0/linebourse
2022-12-06 22:04:48,019:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,019:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,019:INFO:backend.caissedepargne.browser:3.0:switch.py:90:set_browser using 'main' browser
2022-12-06 22:04:48,019:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,020:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,035:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,035:DEBUG:urllib3.util.retry:3.0:retry.py:333:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2022-12-06 22:04:48,035:INFO:backend.caissedepargne.browser:3.0:switch.py:90:set_browser using 'main' browser
2022-12-06 22:04:48,035:DEBUG:backend.caissedepargne.browser:3.0:woob_browser_mfa.py:59:_load_cookies Reloaded cookies from storage
2022-12-06 22:04:48,036:DEBUG:backend.caissedepargne.browser:3.0:woob_browser_mfa.py:59:_load_cookies Reloaded cookies from storage
2022-12-06 22:04:48,037:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:973:_new_conn Starting new HTTPS connection (1): www.caisse-epargne.fr:443
2022-12-06 22:04:48,116:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET /Portail.aspx HTTP/1.1" 301 0
2022-12-06 22:04:48,157:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET / HTTP/1.1" 200 None
2022-12-06 22:04:48,196:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:894:internal_callback Unable to handle https://www.caisse-epargne.fr/
2022-12-06 22:04:48,227:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET /Portail.aspx HTTP/1.1" 301 0
2022-12-06 22:04:48,262:DEBUG:urllib3.connectionpool:3.0:connectionpool.py:452:_make_request https://www.caisse-epargne.fr:443 "GET / HTTP/1.1" 200 None
2022-12-06 22:04:48,277:DEBUG:backend.caissedepargne.browser:3.0:browsers.py:894:internal_callback Unable to handle https://www.caisse-epargne.fr/
2022-12-06 22:04:48,278:DEBUG:bcall:3.0:bcall.py:98:backend_process <Backend 'caissedepargne'>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f526d5658d0>> raised an error: AttributeError("'NotLoadedType' object has no attribute 'upper'")
Bug(caissedepargne): 'NotLoadedType' object has no attribute 'upper'
(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/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/tools/application/base.py", line 349, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/module.py", line 91, in get_account
return find_object(self.iter_accounts(), id=_id, error=AccountNotFound)
File "/home/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/capabilities/base.py", line 109, in find_object
for a in mylist:
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/module.py", line 85, in iter_accounts
for account in self.browser.get_accounts_list():
File "/home/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/browser/retry.py", line 170, in __next__
obj = next(self.it)
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 1603, in get_accounts_list
self.accounts = self.get_measure_accounts_list()
File "/home/ben_caro/venv_python/woob/lib/python3.10/site-packages/woob/browser/browsers.py", line 984, in inner
return func(browser, *args, **kwargs)
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 1386, in get_measure_accounts_list
owner_name = self.get_owner_name()
File "/home/ben_caro/.local/share/woob/modules/3.0/caissedepargne/browser.py", line 1344, in get_owner_name
name = self.get_profile().name.upper().split(' ', 1)
AttributeError: 'NotLoadedType' object has no attribute 'upper'
2022-12-06 22:04:48,345:DEBUG:backend.caissedepargne.browser:3.0:woob_browser_mfa.py:105:dump_state Stored cookies into storage
2022-12-06 22:04:48,347:DEBUG:woob.config:3.0:yamlconfig.py:96:save Configuration file saved: /home/ben_caro/.config/woob/bank.storage.
Thanks a lot
Edited by Benoit Rob Er Del