[weboob] [boobank] creditmutuel backend broken?

Sébastien Hinderer Sebastien.Hinderer at ens-lyon.org
Fri Oct 13 11:39:41 CEST 2017


Dear all,

Since a few days boobank ls gives the following error:

Bug(teupaga): 'NoneType' object has no attribute 'logged'
Bug(creditmutuel): 'NoneType' object has no attribute 'logged'
Use --debug option to print backtraces
                                Account                     Balance    Coming 
---------------------------------------------------------+----------+----------
=== [  0%] Getting http://updates.weboob.org/1.2/main/
=== [  0%] Getting http://updates.weboob.org/1.2/main/
---------------------------------------------------------+----------+----------

The complete backtrace is below.

Does somebody know where the problem could come from, please?

Thanks a lot in advance,

Sébastien.

2017-10-13 11:32:28,554:DEBUG:root:1.2:yamlconfig.py:60:load Loading application configuration file: /home/seb/.config/weboob/boobank.storage.
2017-10-13 11:32:28,556:DEBUG:root:1.2:yamlconfig.py:64:load Application configuration file loaded: /home/seb/.config/weboob/boobank.storage.
2017-10-13 11:32:28,646:DEBUG:modules:1.2:modules.py:162:load_module Loaded module "creditmutuel" from /home/seb/.local/share/weboob/modules/1.2/creditmutuel
2017-10-13 11:32:28,647:DEBUG:backend:1.2:modules.py:93:create_instance Created backend "creditmutuel" for module "creditmutuel"
2017-10-13 11:32:28,647:DEBUG:backend:1.2:modules.py:93:create_instance Created backend "teupaga" for module "creditmutuel"
2017-10-13 11:32:28,648:DEBUG:bcall:1.2:bcall.py:91:backend_process <Backend 'teupaga'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f41c83bc0d0>>
2017-10-13 11:32:28,649:DEBUG:bcall:1.2:bcall.py:100:backend_process <Backend 'teupaga'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f41c83bc0d0>> returned: <generator object _do_complete_iter at 0x7f41c4884fa0>
2017-10-13 11:32:28,649:DEBUG:urllib3.util.retry:1.2:retry.py:200:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2017-10-13 11:32:28,650:DEBUG:urllib3.util.retry:1.2:retry.py:200:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2017-10-13 11:32:28,651:DEBUG:bcall:1.2:bcall.py:91:backend_process <Backend 'creditmutuel'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f41c83bc0d0>>
2017-10-13 11:32:28,652:DEBUG:bcall:1.2:bcall.py:100:backend_process <Backend 'creditmutuel'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7f41c83bc0d0>> returned: <generator object _do_complete_iter at 0x7f41c05260a0>
2017-10-13 11:32:28,654:DEBUG:urllib3.util.retry:1.2:retry.py:200:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2017-10-13 11:32:28,655:DEBUG:urllib3.util.retry:1.2:retry.py:200:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2017-10-13 11:32:28,655:INFO:backend.teupaga.browser:1.2:browsers.py:819:load_state Reloaded cookies from storage
2017-10-13 11:32:28,660:INFO:backend.creditmutuel.browser:1.2:browsers.py:819:load_state Reloaded cookies from storage
2017-10-13 11:32:28,662:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:820:_new_conn Starting new HTTPS connection (1): www.creditmutuel.fr
2017-10-13 11:32:28,663:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:820:_new_conn Starting new HTTPS connection (1): www.creditmutuel.fr
2017-10-13 11:32:28,886:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:395:_make_request https://www.creditmutuel.fr:443 "GET /groupe/fr/index.html HTTP/1.1" 301 20
2017-10-13 11:32:28,919:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:395:_make_request https://www.creditmutuel.fr:443 "GET /groupe/fr/index.html HTTP/1.1" 301 20
2017-10-13 11:32:29,239:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:395:_make_request https://www.creditmutuel.fr:443 "GET /home/index.html HTTP/1.1" 200 8977
2017-10-13 11:32:29,267:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:395:_make_request https://www.creditmutuel.fr:443 "GET /home/index.html HTTP/1.1" 200 8977
2017-10-13 11:32:29,271:DEBUG:backend.teupaga.browser:1.2:browsers.py:679:internal_callback Unable to handle https://www.creditmutuel.fr/home/index.html
2017-10-13 11:32:29,282:DEBUG:backend.creditmutuel.browser:1.2:browsers.py:679:internal_callback Unable to handle https://www.creditmutuel.fr/home/index.html
Bug(teupaga): 'NoneType' object has no attribute 'logged'
2017-10-13 11:32:29,355:DEBUG:urllib3.util.retry:1.2:retry.py:200:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2017-10-13 11:32:29,356:DEBUG:urllib3.util.retry:1.2:retry.py:200:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2017-10-13 11:32:29,362:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:207:_new_conn Starting new HTTP connection (1): updates.weboob.org
2017-10-13 11:32:29,410:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:395:_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 105, in backend_process
    for subresult in result:
  File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py", line 277, in _do_complete_iter
    for i, sub in enumerate(res):
  File "/home/seb/.local/share/weboob/modules/1.2/creditmutuel/module.py", line 53, in iter_accounts
    for account in self.browser.get_accounts_list():
  File "/home/seb/.local/share/weboob/modules/1.2/creditmutuel/compat/browsers.py", line 755, in inner
    browser.do_login()
  File "/home/seb/.local/share/weboob/modules/1.2/creditmutuel/browser.py", line 137, in do_login
    if not self.page.logged:
AttributeError: 'NoneType' object has no attribute 'logged'

Bug(creditmutuel): 'NoneType' object has no attribute 'logged'
2017-10-13 11:32:29,565:DEBUG:urllib3.connectionpool:1.2:connectionpool.py:395:_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 105, in backend_process
    for subresult in result:
  File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py", line 277, in _do_complete_iter
    for i, sub in enumerate(res):
  File "/home/seb/.local/share/weboob/modules/1.2/creditmutuel/module.py", line 53, in iter_accounts
    for account in self.browser.get_accounts_list():
  File "/home/seb/.local/share/weboob/modules/1.2/creditmutuel/compat/browsers.py", line 755, in inner
    browser.do_login()
  File "/home/seb/.local/share/weboob/modules/1.2/creditmutuel/browser.py", line 137, in do_login
    if not self.page.logged:
AttributeError: 'NoneType' object has no attribute 'logged'

2017-10-13 11:32:29,650:INFO:backend.teupaga.browser:1.2:browsers.py:839:dump_state Stored cookies into storage
2017-10-13 11:32:29,655:INFO:backend.creditmutuel.browser:1.2:browsers.py:839:dump_state Stored cookies into storage
                                Account                     Balance    Coming 
---------------------------------------------------------+----------+----------
=== [  0%] Getting http://updates.weboob.org/1.2/main/
=== [  0%] Getting http://updates.weboob.org/1.2/main/
---------------------------------------------------------+----------+----------



More information about the weboob mailing list