boobank - boursorama - AttributeError: 'Loan' object has no attribute 'ownership'
Bonjour à tous,
j'ai un petit souci depuis quelques temps (probablement la dernière version, j'ai un script qui va cherche mes comptes toutes les semaines avec un auto-update dedans), le dernier téléchargement correct de mes comptes boursorama date du 16 mai.
Quand je lance une récupération des comptes, j'ai l'erreur " 'loan' object has no attribute 'ownership'. J'ai fait un update mais l'erreur est toujours présente.
Voici la trace en mode debug, n'hésitez pas si vous avez besoin de compléments!
Merci d'avance pour votre aide,
2019-06-08 17:44:07,943:DEBUG:backend.boursorama.browser:1.5:browsers.py:694:internal_callback Handle https://clients.boursorama.com/compte/XXXXXXXXXXx/rib with IbanPage 2019-06-08 17:44:07,952:DEBUG:bcall:1.5:bcall.py:98:backend_process <Backend u'boursorama'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f795cf57350>> raised an error: AttributeError("'Loan' object has no attribute 'ownership'",) Bug(boursorama): 'Loan' object has no attribute 'ownership' (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/local/lib/python2.7/dist-packages/weboob-1.5-py2.7.egg/weboob/core/bcall.py", line 94, in backend_process result = function(backend, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/weboob-1.5-py2.7.egg/weboob/tools/application/base.py", line 310, in _do_complete res = getattr(backend, function)(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/weboob-1.5-py2.7.egg/weboob/capabilities/bank.py", line 592, in iter_resources return self.iter_accounts() File "/home/cmege/.local/share/weboob/modules/1.5/boursorama/module.py", line 58, in iter_accounts return self.browser.get_accounts_list() File "/usr/local/lib/python2.7/dist-packages/weboob-1.5-py2.7.egg/weboob/browser/retry.py", line 77, in wrapper ret = cb() File "/usr/local/lib/python2.7/dist-packages/weboob-1.5-py2.7.egg/weboob/browser/retry.py", line 73, in cb = lambda: func(browser, *args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/weboob-1.5-py2.7.egg/weboob/browser/browsers.py", line 798, in inner return func(browser, *args, **kwargs) File "/home/cmege/.local/share/weboob/modules/1.5/boursorama/browser.py", line 306, in get_accounts_list self.ownership_guesser() File "/home/cmege/.local/share/weboob/modules/1.5/boursorama/browser.py", line 193, in ownership_guesser ownerless_accounts = [account for account in self.accounts_list if empty(account.ownership)] File "/usr/local/lib/python2.7/dist-packages/weboob-1.5-py2.7.egg/weboob/capabilities/base.py", line 495, in getattr self.class.name, name)) AttributeError: 'Loan' object has no attribute 'ownership'