Bug #1661

Citibank module throws error when there's no posted transactions since last statement

Added by Oleg Plakhotniuk over 2 years ago. Updated over 2 years ago.

Status:Resolved Start:2014-11-07
Priority:Normal Due date:
Assigned to:Oleg Plakhotniuk % Done:

100%

Category:Modules Spent time: -
Target version:1.1
Module:citibank Branch:

Description

Traceback (most recent call last):
  File "/usr/share/hinance-worker/repo/hinance-worker/docker/scrape.py", line 42, in <module>
    result = json.dumps(scrape(backend), indent=2, sort_keys=True)
  File "/usr/share/hinance-worker/repo/hinance-worker/docker/scrape.py", line 16, in scrape
    for t in backend.iter_history(a):
  File "/usr/share/hinance-worker/weboob/modules/citibank/browser.py", line 103, in iter_history
    self.iter_history_statements(account)):
  File "/usr/share/hinance-worker/weboob/modules/citibank/browser.py", line 149, in iter_history_recent
    for tr in self.wait('tr.payments,tr.purchase'):
  File "/usr/share/hinance-worker/weboob/modules/citibank/browser.py", line 50, in inner
    raise BrowserUnavailable('Unexpected site behavior. '
weboob.exceptions.BrowserUnavailable: Unexpected site behavior. Perhaps this module needs some fixing...

Associated revisions

Revision ded29b8be85b58bdbe24acc7d282c2d0bd17fd16
Added by Oleg Plakhotniuk over 2 years ago

Citibank module: don't wait for transactions if there's none. Fixes #1661

History

Updated by Oleg Plakhotniuk over 2 years ago

  • Status changed from In progress to To merge

Updated by Oleg Plakhotniuk over 2 years ago

  • % Done changed from 0 to 100

Updated by Oleg Plakhotniuk over 2 years ago

  • Status changed from To merge to Resolved

Updated by Romain Bignon over 2 years ago

  • Target version set to 1.1

Also available in: Atom PDF