La banque postale list deleted accounts
I recently got rid of an account I was not using. This account is still part of ls
results but will crash history
:
Bug(Jenny): could not find account u'XXXXXXX'
Traceback (most recent call last):
File "/home/cassou/.local/venvs/weboob/lib/python2.7/site-packages/weboob/core/bcall.py", line 106, in backend_process
for subresult in result:
File "/home/cassou/.local/venvs/weboob/lib/python2.7/site-packages/weboob/tools/application/base.py", line 289, in _do_complete_iter
for i, sub in enumerate(res):
File "/home/cassou/.local/share/weboob/modules/1.4/linebourse/browser.py", line 80, in iter_history
self.history.go(id=quote_plus(self.page.get_compte(account_id)), period=0)
File "/home/cassou/.local/share/weboob/modules/1.4/linebourse/pages.py", line 57, in get_compte
assert len(values) == 1, 'could not find account %r' % account_id
AssertionError: could not find account u'XXXXXXX'
Another problem is that boobank returns success instead of failure, preventing my client from detecting the problem:
> boobank -f json history XXXXXXX@Jenny 1970
Bug(Jenny): could not find account u'XXXXXXX'
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Use --debug option to print backtraces
[]
> echo $?
0