Public
Snippet $3 authored by ZeHiro

404 caissedepeargne

[2018-11-09T02:23:09.672] [ERROR] poller - Error when polling accounts: Unknown error: 404 Client Error: Not Found.
Traceback (most recent call last):
  File "/var/www/kresus/build/server/weboob/main.py", line 606, in fetch
    results['values'].extend(fetch_function(backend))
  File "/var/www/kresus/build/server/weboob/main.py", line 478, in get_accounts
    for account in list(backend.iter_accounts()):
  File "/var/www/kresus/data/weboob-data/modules/1.4/caissedepargne/module.py", line 69, in iter_accounts
    for account in self.browser.get_loans_list():
  File "/home/kresus/weboob/weboob/browser/switch.py", line 91, in wrapper
    return val(*args, **kwargs)
  File "/home/kresus/weboob/weboob/browser/browsers.py", line 787, in inner
    return func(browser, *args, **kwargs)
  File "/var/www/kresus/data/weboob-data/modules/1.4/caissedepargne/browser.py", line 330, in get_loans_list
    self.home_tache.go(tache='CRESYNT0')
  File "/home/kresus/weboob/weboob/browser/url.py", line 98, in go
    r = self.browser.location(self.build(**kwargs), params=params, data=data, json=json, method=method, headers=headers or {})
  File "/home/kresus/weboob/weboob/browser/browsers.py", line 725, in location
    response = self.open(*args, **kwargs)
  File "/home/kresus/weboob/weboob/browser/browsers.py", line 712, in open
    return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
  File "/home/kresus/weboob/weboob/browser/browsers.py", line 612, in open
    return super(DomainBrowser, self).open(req, *args, **kwargs)
  File "/home/kresus/weboob/weboob/browser/browsers.py", line 363, in open
    is_async=is_async)
  File "/home/kresus/weboob/weboob/browser/sessions.py", line 160, in send
    return func(*args, **kwargs)
  File "/home/kresus/weboob/weboob/browser/sessions.py", line 153, in func
    return callback(self, resp)
  File "/home/kresus/weboob/weboob/browser/browsers.py", line 351, in inner_callback
    self.raise_for_status(response)
  File "/home/kresus/weboob/weboob/browser/browsers.py", line 391, in raise_for_status
    raise cls(http_error_msg, response=response)
HTTPNotFound: 404 Client Error: Not Found