[boobank][ing] Bug(ingBruno): type object 'BourseDirectBrowser' has no attribute 'PARENT_ATTR'
With which module do you encounter problems?
ing
Describe the problem you encounter
I am using several instances of the ing
backend, as I retrieve the accounts of my wife and mother in law in addition to mine - yes I should get a reward for this ;-b
Doing so, I get the following error when doing the list
command in boobank
:
Bug(ingBruno): type object 'BourseDirectBrowser' has no attribute 'PARENT_ATTR'
Paste here the stacktrace or error message you observe
Bug(ingBruno): type object 'BourseDirectBrowser' has no attribute 'PARENT_ATTR'
Traceback (most recent call last):
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\core\bcall.py", line 106, in backend_process
for subresult in result:
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\application\base.py", line 297, in _do_complete_iter
for i, sub in enumerate(res):
File "d:/Dropbox/Projets/boomoney/modules/ing\module.py", line 79, in iter_accounts
for account in self.browser.iter_accounts():
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\backend.py", line 343, in browser
self._browser = self.create_default_browser()
File "d:/Dropbox/Projets/boomoney/modules/ing\module.py", line 61, in create_default_browser
return self.create_browser(
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\tools\backend.py", line 383, in create_browser
browser = klass(*args, **kwargs)
File "d:/Dropbox/Projets/boomoney/modules/ing\api_browser.py", line 130, in __init__
self.bourse = BourseDirectBrowser(None, None, **kwargs)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\browser\browsers.py", line 1188, in __new__
cls._resolve_abstract(weboob)
File "C:\Users\Bruno\AppData\Roaming\Python\Python38\site-packages\weboob-2.1-py3.8.egg\weboob\browser\browsers.py", line 1171, in _resolve_abstract
if cls.PARENT_ATTR is None:
AttributeError: type object 'BourseDirectBrowser' has no attribute 'PARENT_ATTR'
What are the steps to reproduce the problem?
Use several times the ing backend, as in:
[ingBruno]
_module = ing
birthday = XXXXX
login = XXXXX
password = XXXXX
[ingWife]
_module = ing
birthday = XXXXX
login = XXXXX
password = XXXXX
[ingMotherInlaw]
_module = ing
birthday = XXXXX
login = XXXXX
password = XXXXX
What weboob version are you using?
Output of weboob-config --version
command:
weboob-config v2.1 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
What module version are you using?
Output of weboob-config info MODULE_NAME
command:
.------------------------------------------------------------------------------.
| Module ing |
+-----------------.------------------------------------------------------------'
| Version | 202011212314
| Maintainer | Florent Fourcot <weboob@flo.fourcot.fr>
| License | LGPLv3+
| Description | ING France
| Capabilities | CapDocument, CapProfile, CapBankTransferAddRecipient, CapBankTransfer, CapBankWealth, CapBank, CapCollection, CapTransfer
| Installed | yes
| Location | d:/Dropbox/Projets/boomoney/modules/ing
| |
| Configuration | login: Numéro client (default: )
| | password: Code secret (default: )
| | birthday: Date de naissance
'-----------------'
How did you install weboob?
Windows manual installation with git clone