Skip to content

[bank][boursorama] Unable to add account due to error on " LEP " account type.

Problem description

Hi, I am unable to add an account to woob bank due to boursorama's website limitation on LEP (Livret d'Epargne Populaire) account type.

I can't access account details on website :

image

Here the logs when I try to add an account :

2025-08-05 16:43:10,003:DEBUG:urllib3.connectionpool:3.7:connectionpool.py:544:_make_request https://clients.boursobank.com:443 "GET /app/redirect/lep-detenteur?accountKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX HTTP/1.1" 200 None
2025-08-05 16:43:10,208:DEBUG:woob.backend.boursorama.browser:3.7:browsers.py:1054:internal_callback Unable to handle https://clients.boursobank.com/app/redirect/lep-detenteur?accountKey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2025-08-05 16:43:10,208:DEBUG:woob.core.bcall:3.7:bcall.py:92:backend_process <Backend boursorama>: Called function <bound method Application._do_complete of <woob.applications.bank.bank.Appbank object at 0x7f68daa7cd70>> raised an error: AttributeError("'NoneType' object has no attribute 'fill_account'")
Bug(boursorama): 'NoneType' object has no attribute 'fill_account'
(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/nathan/.local/lib/python3.13/site-packages/woob/core/bcall.py", line 88, in backend_process
    result = function(backend, *args, **kwargs)
  File "/home/nathan/.local/lib/python3.13/site-packages/woob/tools/application/base.py", line 348, in _do_complete
    res = getattr(backend, function)(*args, **kwargs)
  File "/home/nathan/.local/share/woob/modules/3.7/woob_modules/boursorama/module.py", line 185, in iter_resources
    return self.iter_accounts()
           ~~~~~~~~~~~~~~~~~~^^
  File "/home/nathan/.local/share/woob/modules/3.7/woob_modules/boursorama/module.py", line 72, in iter_accounts
    return self.browser.get_accounts_list()
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/home/nathan/.local/lib/python3.13/site-packages/woob/browser/retry.py", line 75, in wrapper
    ret = cb()
  File "/home/nathan/.local/lib/python3.13/site-packages/woob/browser/retry.py", line 71, in <lambda>
    cb = lambda: func(browser, *args, **kwargs)
                 ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nathan/.local/lib/python3.13/site-packages/woob/browser/browsers.py", line 1157, in inner
    return func(browser, *args, **kwargs)
  File "/home/nathan/.local/share/woob/modules/3.7/woob_modules/boursorama/browser.py", line 718, in get_accounts_list
    accounts_list.extend(self.get_filled_accounts())
                         ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/home/nathan/.local/share/woob/modules/3.7/woob_modules/boursorama/browser.py", line 815, in get_filled_accounts
    self.page.fill_account(obj=account)
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'fill_account'

------------------------------------------+----------+----------

Woob informations

woob config --version logs :

Woob config v3.7 Copyright(C) 2010-2025 Christophe Benz, Romain Bignon

woob config info boursorama logs :

------------------------------------------------------------------------------.
| Module boursorama                                                            |
+-----------------.------------------------------------------------------------'
| Version         | 202503020957
| Maintainer      | Gabriel Kerneis <gabriel@kerneis.info>
| License         | LGPLv3+
| Description     | Boursorama
| Capabilities    | CapContact, CapBankMatching, CapDocument, CapTransfer, CapBankTransfer, CapBank, CapCollection, CapBankWealth, CapCredentialsCheck, CapCurrencyRate, CapProfile, CapBankTransferAddRecipient
| Installed       | yes
| Location        | https://updates.woob.tech/3/main/boursorama.tar.gz
|                 | 
| Configuration   | login: Identifiant (default: )
|                 | password: Mot de passe (default: )
|                 | identity: ID d'identité
'-----------------'