Bug(banquepopulaire): ValueError: No JSON object could be decoded
Hello,
Since the new authentication page of Banque Populaire Grand Ouest, I am not able to list my balance account :
./boobank -b banquepopulaire
Unable to load formatter "table": No module named prettytable
Falling back to "multiline".
Welcome to boobank v1.6
Copyright(C) 2010-2019 Romain Bignon, Christophe Benz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Type "help" to display available commands.
Loaded backends: banquepopulaire
boobank> logging debug
boobank> list
Account Balance Coming
------------------------------------------+----------+----------
2019-05-07 09:57:20,187:DEBUG:bcall:1.6:bcall.py:92:backend_process <Backend u'banquepopulaire'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0xb6bb1950>>
2019-05-07 09:57:20,199:DEBUG:urllib3.util.retry:1.6:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2019-05-07 09:57:20,205:DEBUG:urllib3.util.retry:1.6:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2019-05-07 09:57:20,418:DEBUG:modules:1.6:modules.py:163:load_module Loaded module "linebourse" from /home/user/.local/share/weboob/modules/1.6/linebourse
2019-05-07 09:57:20,427:DEBUG:urllib3.util.retry:1.6:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2019-05-07 09:57:20,432:DEBUG:urllib3.util.retry:1.6:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2019-05-07 09:57:20,475:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:813:_new_conn Starting new HTTPS connection (1): www.ibps.bpgo.banquepopulaire.fr:443
2019-05-07 09:57:20,923:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.ibps.bpgo.banquepopulaire.fr:443 "GET / HTTP/1.1" 302 201
2019-05-07 09:57:20,996:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.ibps.bpgo.banquepopulaire.fr:443 "GET /portailinternet/ HTTP/1.1" 302 237
2019-05-07 09:57:21,361:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.ibps.bpgo.banquepopulaire.fr:443 "GET /s3f-web/chknav?goto=%2Fportailinternet&version=1 HTTP/1.1" 302 0
2019-05-07 09:57:21,490:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.ibps.bpgo.banquepopulaire.fr:443 "GET /portailinternet HTTP/1.1" 302 11
2019-05-07 09:57:21,545:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:813:_new_conn Starting new HTTPS connection (1): www.icgauth.banquepopulaire.fr:443
2019-05-07 09:57:22,059:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacswebssoissuer/AuthnRequestServlet?SAMLRequest=eF6dkl9v2jAUxd%2F5FJHf84%2FCaC2SitJWqwYqgjBte0GOcxPcJnbwdYD10y
%2BBMME2Vepebd%2Fjc37nDm%2F3RW5tQaNQMiC%2B4xELJFeJkFlAltGjfU1uw84QWZGXdFSZtZzDpgI0Vj0okTYXAam0pIqhQCpZAUgNp4vRdEK7jkcZImhTy5OzkfL9mVIro7jKifVHashRemovedsfNEF8EoL83MCW8jbb5uLY7o2XCK4Yc
rhqjiEcZt1DX3PH7p%2Fa7S6dekG9uYjipZIAjKOvq2mo%2FmXYwhyqTYFwxJm2IdUG2gB2QsjVshVCbXz1vcfquHlcXgkeMGsczo7rzDs%2FALfOlSa&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1&Signature=QcK3a8bDf%2BNt1GNeikwuobxP%2Fe6%2Fs9TEjmjwO1EFcsK4cA%2BZbIbfZ9
k8v%2Fgf%2BTQHp1fNjzibFL3gL6v5duphlkPUDDfP9Vzm0LUfKfysOQf3oRP6wy%2B1z8VJU%2F7k3pp8BLYaf1j7BVDSK5RQC1L2%2BOQCqGXpUmScXfuUT%2BX9lqcazwgx7qNt1MNJ%2FPyXzt2PzbmhRZ%2BCZ4%2FcR8eCKIYPdu6%2F601O8wNFzakkCU4urm6pMmq4Q7r3HU052QdybDkeu8oW%2FBgWIYceIRc%2FpvU%2BOWDuj
fNk%2F00SJ8CWZ%2B5Std5heGdPpfXt8PKbnDSDMPncJxVurx%2Fg92V3TRGHVRfUyA%3D%3D HTTP/1.1" 302 0
2019-05-07 09:57:22,217:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /WebSSO_BP/_13807/index.html?transactionID=CtxDACSP997c1d4831491a4799b90d1664239261e122 HTTP/1.1" 200 858
2019-05-07 09:57:22,550:DEBUG:backend.banquepopulaire.browser:1.6:browsers.py:702:internal_callback Handle https://www.icgauth.banquepopulaire.fr/WebSSO_BP/_13807/index.html?transactionID=CtxDACSP997c1d4831491a4799b90d1664239261e122 with Login2Page
2019-05-07 09:57:22,701:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.icgauth.banquepopulaire.fr:443 "GET /dacsrest/api/v1u0/transaction/CtxDACSP997c1d4831491a4799b90d1664239261e122 HTTP/1.1" 200 None
2019-05-07 09:57:22,858:DEBUG:backend.banquepopulaire.browser:1.6:browsers.py:716:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacsrest/api/v1u0/transaction/CtxDACSP997c1d4831491a4799b90d1664239261e122
2019-05-07 09:57:22,892:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:240:_get_conn Resetting dropped connection: www.icgauth.banquepopulaire.fr
2019-05-07 09:57:23,349:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.icgauth.banquepopulaire.fr:443 "POST /dacsrest/api/v1u0/transaction/CtxDACSP997c1d4831491a4799b90d1664239261e122/step HTTP/1.1" 200 None
2019-05-07 09:57:23,375:DEBUG:backend.banquepopulaire.browser:1.6:browsers.py:716:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacsrest/api/v1u0/transaction/CtxDACSP997c1d4831491a4799b90d1664239261e122/step
2019-05-07 09:57:23,407:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:240:_get_conn Resetting dropped connection: www.icgauth.banquepopulaire.fr
2019-05-07 09:57:23,829:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request https://www.icgauth.banquepopulaire.fr:443 "POST /dacsrest/api/v1u0/transaction/CtxDACSP997c1d4831491a4799b90d1664239261e122/step HTTP/1.1" 200 1142
2019-05-07 09:57:23,849:DEBUG:backend.banquepopulaire.browser:1.6:browsers.py:716:internal_callback Unable to handle https://www.icgauth.banquepopulaire.fr/dacsrest/api/v1u0/transaction/CtxDACSP997c1d4831491a4799b90d1664239261e122/step
2019-05-07 09:57:23,855:DEBUG:bcall:1.6:bcall.py:98:backend_process <Backend u'banquepopulaire'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0xb6bb1950>> raised an error: ValueError('No J
SON object could be decoded',)
Bug(banquepopulaire): No JSON object could be decoded
(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/user/.bin/weboob_1.5/local/lib/python2.7/site-packages/weboob/core/bcall.py", line 94, in backend_process
result = function(backend, *args, **kwargs)
File "/home/user/.bin/weboob_1.5/local/lib/python2.7/site-packages/weboob/tools/application/base.py", line 318, in _do_complete
res = getattr(backend, function)(*args, **kwargs)
File "/home/user/.bin/weboob_1.5/local/lib/python2.7/site-packages/weboob/capabilities/bank.py", line 593, in iter_resources
return self.iter_accounts()
File "/home/user/.local/share/weboob/modules/1.6/banquepopulaire/module.py", line 90, in iter_accounts
return self.browser.get_accounts_list()
File "/home/user/.local/share/weboob/modules/1.6/banquepopulaire/browser.py", line 72, in wrapper
ret = cb()
File "/home/user/.local/share/weboob/modules/1.6/banquepopulaire/browser.py", line 68, in <lambda>
cb = lambda: func(browser, *args, **kwargs)
File "/home/user/.bin/weboob_1.5/local/lib/python2.7/site-packages/weboob/browser/browsers.py", line 803, in inner
browser.do_login()
File "/home/user/.local/share/weboob/modules/1.6/banquepopulaire/browser.py", line 92, in wrapper
return func(browser, *args, **kwargs)
File "/home/user/.local/share/weboob/modules/1.6/banquepopulaire/browser.py", line 202, in do_login
self.page.login(self.username, self.password)
File "/home/user/.local/share/weboob/modules/1.6/banquepopulaire/pages.py", line 352, in login
doc = r.json()
File "/home/user/.bin/weboob_1.5/local/lib/python2.7/site-packages/requests/models.py", line 889, in json
self.content.decode(encoding), **kwargs
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
------------------------------------------+----------+----------
boobank>
Best regards,