Boobank module BP (banque postale) 'NoneType' object has no attribute 'get_iban'
Hello. I am trying to use boobank in combination with Skrooge. it does not work. When I try boobank in a terminal, I get the following error message 'NoneType' object has no attribute 'get_iban' The modules are up to date. Below is a copy of the result of the command with -d option : toto@Cerise:~$ boobank -d list 2019-11-03 19:51:11,565:DEBUG:root:1.2:yamlconfig.py:60:load Loading application configuration file: /home/toto/.config/weboob/boobank.storage. 2019-11-03 19:51:11,566:DEBUG:root:1.2:yamlconfig.py:64:load Application configuration file loaded: /home/toto/.config/weboob/boobank.storage. 2019-11-03 19:51:11,598:DEBUG:modules:1.2:modules.py:162:load_module Loaded module "linebourse" from /home/toto/.local/share/weboob/modules/1.2/linebourse 2019-11-03 19:51:11,599:DEBUG:backend:1.2:modules.py:93:create_instance Created backend "linebourse" for module "linebourse" 2019-11-03 19:51:11,636:DEBUG:modules:1.2:modules.py:162:load_module Loaded module "bp" from /home/toto/.local/share/weboob/modules/1.2/bp 2019-11-03 19:51:11,636:DEBUG:backend:1.2:modules.py:93:create_instance Created backend "bp" for module "bp" Account Balance Coming ---------------------------------------------------------+----------+---------- 2019-11-03 19:51:11,661:DEBUG:bcall:1.2:bcall.py:91:backend_process <Backend 'bp'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f5bc41b8390>> 2019-11-03 19:51:11,662:DEBUG:urllib3.util.retry:1.2:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None) 2019-11-03 19:51:11,663:DEBUG:urllib3.util.retry:1.2:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None) 2019-11-03 19:51:11,666:DEBUG:bcall:1.2:bcall.py:91:backend_process <Backend 'linebourse'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f5bc41b8390>> 2019-11-03 19:51:11,667:DEBUG:bcall:1.2:bcall.py:97:backend_process <Backend 'linebourse'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f5bc41b8390>> raised an error: NotImplementedError() 2019-11-03 19:51:11,669:DEBUG:urllib3.util.retry:1.2:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None) 2019-11-03 19:51:11,670:DEBUG:urllib3.util.retry:1.2:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None) 2019-11-03 19:51:11,674:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): voscomptesenligne.labanquepostale.fr 2019-11-03 19:51:12,017:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers HTTP/1.1" 200 None 2019-11-03 19:51:12,022:DEBUG:backend.bp.browser:1.2:browsers.py:664:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers with LoginPage 2019-11-03 19:51:12,216:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.7864652107381485 HTTP/1.1" 200 3320 2019-11-03 19:51:12,219:DEBUG:backend.bp.browser:1.2:browsers.py:664:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?imgid=allunifie2&e=4&0.7864652107381485 with LoginPage 2019-11-03 19:51:12,228:DEBUG:PIL.PngImagePlugin:1.2:PngImagePlugin.py:138:call STREAM 'IHDR' 16 13 2019-11-03 19:51:12,229:DEBUG:PIL.PngImagePlugin:1.2:PngImagePlugin.py:138:call STREAM 'IDAT' 41 3263 2019-11-03 19:51:12,616:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "POST /wsost/OstBrokerWeb/auth HTTP/1.1" 302 611 2019-11-03 19:51:12,736:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/identif.ea?origin=particuliers HTTP/1.1" 302 0 2019-11-03 19:51:12,816:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/securite/authentification/repositionnerCheminCourant-identif.ea HTTP/1.1" 200 None 2019-11-03 19:51:12,818:DEBUG:backend.bp.browser:1.2:browsers.py:664:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/securite/authentification/repositionnerCheminCourant-identif.ea with repositionnerCheminCourant 2019-11-03 19:51:12,895:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/securite/authentification/initialiser-identif.ea HTTP/1.1" 302 0 2019-11-03 19:51:13,016:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/securite/authentification/../../comptesCommun/synthese_assurancesEtComptes/verifierPresenceCompte-synthese.ea HTTP/1.1" 302 0 2019-11-03 19:51:13,216:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/comptesCommun/synthese_assurancesEtComptes/../../securite/authentification/verifierPresenceCompteOK-identif.ea HTTP/1.1" 200 None 2019-11-03 19:51:13,251:DEBUG:backend.bp.browser:1.2:browsers.py:679:internal_callback Unable to handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/comptesCommun/synthese_assurancesEtComptes/../../securite/authentification/verifierPresenceCompteOK-identif.ea 2019-11-03 19:51:13,252:DEBUG:backend.bp.browser:1.2:browsers.py:756:inner logged in with session: {"url": "https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/securite/authentification/repositionnerCheminCourant-identif.ea", "cookies": [{"domain": ".labanquepostale.fr", "name": "BANDEAU", "value": "true", "expirationDate": 1572807373, "path": "/", "httpOnly": false, "secure": true}, {"domain": ".labanquepostale.fr", "name": "IDENT", "value": "1", "expirationDate": 1572807373, "path": "/", "httpOnly": false, "secure": true}, {"domain": ".labanquepostale.fr", "name": "Q4XSESSIONID", "value": "XseEYibrAoiI1xp6YSjk6KpO", "expirationDate": 1572807373, "path": "/", "httpOnly": false, "secure": true}, {"domain": ".labanquepostale.fr", "name": "TS015e8a3a", "value": "01b2f70dcd8e80efb80876aac3a41bc98de2dc39e3ea9c57f188fc6ddc6a0a33aa5a2960114a2a144a07ddd4368b1dbe730c20a485a0a0e217bb3bce95ce76b1e125b40329e5f1199e47bc5b2734b3227d48ecb488e5c7158804688cd9a437511b14044dd4492064ff617e8cb0c60d8275f9bb99f61630c2692360f98f8ddb9ef1bbead8faeb37ab50dba6daf5319083f0011ace9e6282e68f05af7f6467ec613e006680491e305909956af664afd9d2f024245941fc080c494c6516699eaa3eacaf4be220", "expirationDate": null, "path": "/", "httpOnly": false, "secure": false}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "LaBanquePostaleB", "value": "!zSGiA05kRei15DtkcD2Pt+1fUwPIIBzcAKc8103eom9j+OIJgFQUpG5aZnBjwQPjHo+zXNMlLP5p68s=", "expirationDate": null, "path": "/", "httpOnly": true, "secure": true}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "PD-ID", "value": "!36 (closed)dOcWdBX6yeRwNkcD2Pt+1fUwPIIBkArzoRXxaq+Cok+hV+3oCCi9GeoU1KgU7Z/GpW3xOh4FFIYa3HEIE2ut5f8Rp8Q+fX016OcQKGKMemPQixG7tMcRmY35vFj9MTwWc/RqyvmkyjK/43vVh48dtYEwRkGVVh099GS9W6WQe9LiFjkNaD881cLPJatblkI0Pu1f8qp+y2+hNCxUX/GIaqPXzKmqkm9aJA1g5EG9I+gzdb+75mDyDZyE9qunbGTwQxc+42gSnr317oGpxAYXiNwemZwldNhE1Z/4bgGXz5kg2kyUEFfB9UhCn9l02y1pii25rUSwt6p/EOZsRPOY5rik4VnQ63EQSzLLM4rkNY2OWlJsWqxm7jphmdHtPGafxaMNa6lOWR+BTuPBSF+6GdA5AhHPM5xl32GxIRIaBi7/qDebIZigaSurz6i/NMEThVhVWmlYcHLST1JDZcSRjLrZLLF0OlhgMM+4RwbyH9+s4nxayEs9jLybxumYJheYCRZQ1apU3nQt597Az58TbxUa4V4T5Q6S+3o6amct3GMNML5PErAwt8JaN7KnHxGwyBgjmVlN/ALq+L6O0+2YZxkR3prqz0BsfRJa5OfZuGs2y+ZyW6EEIQyMxmm9X6utrF73apcavtlNlfFkq83QiyXFhcP1zjO5h3ncRnrYXcBukFfNBl5GubrdT5AkciYIUynF3qY9FquktgD9uUckUSSoKL0/nm+5PYlxeYsCJUfiSK8sz4f3FwZkgqZOfAfMWV0mlIF+tY/U8Glep4ocmhDiCMc4GpnZ9RY1ns0qosuClaLH6eblwNsdcHBkBhEkAml8OFl0gO26diBsSCobNolp+BZs4zL5uTw3Bify8LvNrYr4ujwplgrCrj8AB+A+qaBgikz/Z4KL2D4EI75cFwtOSTdRXHNUaxOPzyb3l7NJ1+Gago6IjuQMJDVYEn4DUB456NdhA+9HaCYtr6uaJsnwxJ1gCUtB7cRegV4RFKE3JyEnUR+GmA0wTX2wjSKAo1YVWIVEAjqzilHFGGPUAeeGD20otq1/a+xzvjnVVZOVVRtcy669e2cSNDo8XBxqd5O+LFyfsOD4whoXaE3eQHKzPEWgrL1HK0OOjXFkaJ1xuLa/LrvcJODp9d9kBljyT6yhldFeQfhHhaPyuzk+8wZ+d10Myk62gZmkZO", "expirationDate": null, "path": "/", "httpOnly": true, "secure": true}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "PD-S-SESSION-ID", "value": "2_823AF6jCXAmDyXzeJSSI4qy9uZNxQhQ2WvxjZJFvY0RJ0cz3", "expirationDate": null, "path": "/", "httpOnly": true, "secure": true}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "TS0104cecb", "value": "01b2f70dcd53d4ea2af03c636bd2828c5ffdc0a6acea9c57f188fc6ddc6a0a33aa5a2960114a2a144a07ddd4368b1dbe730c20a485a0a0e217bb3bce95ce76b1e125b40329e5f1199e47bc5b2734b3227d48ecb488e5c7158804688cd9a437511b14044dd4492064ff617e8cb0c60d8275f9bb99f61630c2692360f98f8ddb9ef1bbead8fa753c199e5e6d6599540feb777670a0fa", "expirationDate": null, "path": "/", "httpOnly": false, "secure": false}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "XO_SESSIONID", "value": "0000QpPmLUktfKpgf5y-6ZJqVHO:1db05cafp", "expirationDate": null, "path": "/", "httpOnly": true, "secure": true}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "db553853012d52bd2235b94898328801", "value": "7eae09a6276d613a0a6912b46c73122f", "expirationDate": null, "path": "/", "httpOnly": true, "secure": true}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "origin", "value": "particuliers", "expirationDate": null, "path": "/", "httpOnly": false, "secure": false}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "JSESSIONID", "value": "e6gb1InXvrJvO+NC74mfIYrO", "expirationDate": null, "path": "/voscomptes", "httpOnly": true, "secure": true}, {"domain": "voscomptesenligne.labanquepostale.fr", "name": "TS01e904e8", "value": "01b2f70dcd5f615904a512eaf6a7adc57395642c1bea9c57f188fc6ddc6a0a33aa5a2960114a2a144a07ddd4368b1dbe730c20a485a0a0e217bb3bce95ce76b1e125b40329e5f1199e47bc5b2734b3227d48ecb488e5c7158804688cd9a437511b14044dd4492064ff617e8cb0c60d8275f9bb99f64abbc400898e99657a168b8f1667fb2d19528275c06e2a7f4506cc9dc47c2cd9", "expirationDate": null, "path": "/voscomptes", "httpOnly": false, "secure": false}]} 2019-11-03 19:51:13,297:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/comptesCommun/synthese_ccp/afficheSyntheseCCP-synthese_ccp.ea HTTP/1.1" 200 None 2019-11-03 19:51:13,385:DEBUG:backend.bp.browser:1.2:browsers.py:664:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/comptesCommun/synthese_ccp/afficheSyntheseCCP-synthese_ccp.ea with AccountList 2019-11-03 19:51:13,457:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/comptesCommun/synthese_ccp/afficheSyntheseCCP-synthese_ccp.ea HTTP/1.1" 200 None 2019-11-03 19:51:13,519:DEBUG:backend.bp.browser:1.2:browsers.py:664:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/comptesCommun/synthese_ccp/afficheSyntheseCCP-synthese_ccp.ea with AccountList 2019-11-03 19:51:13,584:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/CCP/releves_ccp_encours/preparerRecherche-releve_ccp_encours.ea?compte.numero=XXXXXXXXXXX&typeRecherche=1 HTTP/1.1" 200 None 2019-11-03 19:51:13,667:DEBUG:backend.bp.browser:1.2:browsers.py:664:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/CCP/releves_ccp_encours/preparerRecherche-releve_ccp_encours.ea?compte.numero=XXXXXXXXXXX&typeRecherche=1 with AccountHistory 2019-11-03 19:51:13,877:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/comptesCommun/imprimerRIB/init-imprimer_rib.ea?compte.numero=XXXXXXXXXXX HTTP/1.1" 200 29498 2019-11-03 19:51:14,203:DEBUG:backend.bp.browser:1.2:browsers.py:664:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/comptesCommun/imprimerRIB/init-imprimer_rib.ea?compte.numero=XXXXXXXXXXX with AccountRIB 2019-11-03 19:51:14,244:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/comptesCommun/synthese_ep/afficheSyntheseEP-synthese_ep.ea HTTP/1.1" 200 None 2019-11-03 19:51:14,270:DEBUG:backend.bp.browser:1.2:browsers.py:664:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/comptesCommun/synthese_ep/afficheSyntheseEP-synthese_ep.ea with AccountList 2019-11-03 19:51:14,308:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/comptesCommun/imprimerRIB/init-imprimer_rib.ea?compte.numero=0445740320Y HTTP/1.1" 302 0 2019-11-03 19:51:14,376:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /voscomptes/canalXHTML/comptesCommun/imprimerRIB/init-selection_rib.ea HTTP/1.1" 200 None 2019-11-03 19:51:14,396:DEBUG:backend.bp.browser:1.2:browsers.py:679:internal_callback Unable to handle https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/comptesCommun/imprimerRIB/init-selection_rib.ea 2019-11-03 19:51:14,397:WARNING:item:1.2:elements.py:278:handle_attr Attribute iban raises AttributeError("'NoneType' object has no attribute 'get_iban'",) 2019-11-03 19:51:14,397:DEBUG:bcall:1.2:bcall.py:97:backend_process <Backend 'bp'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f5bc41b8390>> raised an error: AttributeError("'NoneType' object has no attribute 'get_iban'",) Error(linebourse): this feature is not supported yet by this backend. To help the maintainer of this backend implement this feature, please contact us on the project mailing list Bug(bp): 'NoneType' object has no attribute 'get_iban' 2019-11-03 19:51:14,437:DEBUG:urllib3.util.retry:1.2:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None) 2019-11-03 19:51:14,438:DEBUG:urllib3.util.retry:1.2:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None) === [ 0%] Getting http://updates.weboob.org/1.2/main/ 2019-11-03 19:51:14,442:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:208:_new_conn Starting new HTTP connection (1): updates.weboob.org 2019-11-03 19:51:14,524:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:396:_make_request http://updates.weboob.org:80 "GET /1.2/main/modules.list HTTP/1.1" 200 48985 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/weboob/core/bcall.py", line 93, in backend_process result = function(backend, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py", line 298, in do_complete res = getattr(backend, function)(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/weboob/capabilities/bank.py", line 303, in iter_resources return self.iter_accounts() File "/home/toto/.local/share/weboob/modules/1.2/bp/module.py", line 54, in iter_accounts return self.browser.get_accounts_list() File "/home/toto/.local/share/weboob/modules/1.2/bp/compat/browsers.py", line 757, in inner return func(browser, *args, **kwargs) File "/home/toto/.local/share/weboob/modules/1.2/bp/browser.py", line 191, in get_accounts_list for account in self.page.iter_accounts(): File "/usr/lib/python2.7/dist-packages/weboob/browser/elements.py", line 158, in iter for obj in item: File "/usr/lib/python2.7/dist-packages/weboob/browser/elements.py", line 264, in iter self.handle_attr(attr, getattr(self, 'obj%s' % attr)) File "/usr/lib/python2.7/dist-packages/weboob/browser/elements.py", line 275, in handle_attr value = self.use_selector(func, key=key) File "/usr/lib/python2.7/dist-packages/weboob/browser/elements.py", line 84, in use_selector value = func() File "/home/toto/.local/share/weboob/modules/1.2/bp/pages/accountlist.py", line 98, in obj_iban return response.page.get_iban() AttributeError: 'NoneType' object has no attribute 'get_iban'
---------------------------------------------------------+----------+---------- 2019-11-03 19:51:14,764:INFO:backend.bp.browser:1.2:browsers.py:821:dump_state Stored cookies into storage