Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
weboob
weboob
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 97
    • Issues 97
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 30
    • Merge Requests 30
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • weboob
  • weboobweboob
  • Issues
  • #107

Closed
Open
Opened Feb 16, 2018 by Damien Cassou@DamienCassou
  • Report abuse
  • New issue
Report abuse New issue

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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
1
Labels
banking
Assign labels
  • View project labels
Reference: weboob/weboob#107