Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kresus kresus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 143
    • Issues 143
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kresusapp
  • kresuskresus
  • Issues
  • #574
Closed
Open
Created May 06, 2017 by jeekajoo@jeekajoo

Error when syncing bp

  • Weboob's version I am using is: 1.3
  • Kresus's version I am using is: 0.11.0 (bnjbvr/kresus docker image)
  • Is Kresus running within CozyCloud or without? without
  • If it's used within CozyCloud, am I hosted on cozycloud.cc or self-hosted? self
  • Steps to reproduce: sync bp
  • What I expect: no error
  • What I observe: error
  • Client logs (if apply):
Error when calling into Weboob: list index out of range
This is an error unknown to Kresus, please try updating Weboob, and if it doesn't work, please report the error.
Please refer to the developers' console for more information.
  • Server logs (if apply):
[2017-05-06 19:59:14:106] error - helpers | when fetching operations: Error when calling into Weboob:
- stdout: {"error_content":"list index out of range\nTraceback (most recent call last):\n  File \"./weboob/main.py\", line 179, in fetch\n    results['values'] = self.get_transactions()\n  File \"./weboob/main.py\", line 139, in get_transactions\n    for account in list(self.backend.iter_accounts()):\n  File \"/home/user/app/build/server/weboob/data/modules/1.3/bp/module.py\", line 54, in iter_accounts\n    return self.browser.get_accounts_list()\n  File \"/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/browser/browsers.py\", line 756, in inner\n    browser.do_login()\n  File \"/home/user/app/build/server/weboob/data/modules/1.3/bp/browser.py\", line 144, in do_login\n    self.page.login(self.username, self.password)\n  File \"/home/user/app/build/server/weboob/data/modules/1.3/bp/pages/login.py\", line 95, in login\n    vk = Keyboard(self)\n  File \"/home/user/app/build/server/weboob/data/modules/1.3/bp/pages/login.py\", line 58, in __init__\n    img_url = page.doc.xpath('//img[@id=\"imageCVS\"]')[0].attrib['src']\nIndexError: list index out of range\n","error_short":"list index out of range","error_code":"GENERIC_EXCEPTION"}
- stderr: 2017-05-06 19:59:13,986:DEBUG:modules:modules.py:162:load_module Loaded module "bp" from /home/user/app/build/server/weboob/data/modules/1.3/bp
2017-05-06 19:59:13,986:DEBUG:backend:modules.py:93:create_instance Created backend "bp" for module "bp"
2017-05-06 19:59:13,987:DEBUG:requests.packages.urllib3.util.retry:retry.py:191:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2017-05-06 19:59:13,987:DEBUG:requests.packages.urllib3.util.retry:retry.py:191:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2017-05-06 19:59:13,990:DEBUG:modules:modules.py:162:load_module Loaded module "linebourse" from /home/user/app/build/server/weboob/data/modules/1.3/linebourse
2017-05-06 19:59:13,990:DEBUG:requests.packages.urllib3.util.retry:retry.py:191:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2017-05-06 19:59:13,990:DEBUG:requests.packages.urllib3.util.retry:retry.py:191:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None)
2017-05-06 19:59:13,991:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:818:_new_conn Starting new HTTPS connection (1): voscomptesenligne.labanquepostale.fr
2017-05-06 19:59:14,071:DEBUG:requests.packages.urllib3.connectionpool:connectionpool.py:395:_make_request https://voscomptesenligne.labanquepostale.fr:443 "GET /wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers HTTP/1.1" 200 None
2017-05-06 19:59:14,082:DEBUG:backend.bp.browser:browsers.py:666:internal_callback Handle https://voscomptesenligne.labanquepostale.fr/wsost/OstBrokerWeb/loginform?TAM_OP=login&ERROR_CODE=0x00000000&URL=%2Fvoscomptes%2FcanalXHTML%2Fidentif.ea%3Forigin%3Dparticuliers with LoginPage
Unknown error: list index out of range
Traceback (most recent call last):
  File "./weboob/main.py", line 179, in fetch
    results['values'] = self.get_transactions()
  File "./weboob/main.py", line 139, in get_transactions
    for account in list(self.backend.iter_accounts()):
  File "/home/user/app/build/server/weboob/data/modules/1.3/bp/module.py", line 54, in iter_accounts
    return self.browser.get_accounts_list()
  File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/browser/browsers.py", line 756, in inner
    browser.do_login()
  File "/home/user/app/build/server/weboob/data/modules/1.3/bp/browser.py", line 144, in do_login
    self.page.login(self.username, self.password)
  File "/home/user/app/build/server/weboob/data/modules/1.3/bp/pages/login.py", line 95, in login
    vk = Keyboard(self)
  File "/home/user/app/build/server/weboob/data/modules/1.3/bp/pages/login.py", line 58, in __init__
    img_url = page.doc.xpath('//img[@id="imageCVS"]')[0].attrib['src']
IndexError: list index out of range


- JSON error: null,
- error_code: GENERIC_EXCEPTION
Assignee
Assign to
Time tracking