Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
weboob
weboob
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 177
    • Issues 177
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 52
    • Merge Requests 52
  • 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
  • #433

Closed
Open
Opened Sep 30, 2020 by Guicar@Guicar
  • Report abuse
  • New issue
Report abuse New issue

[boobank][Boursorama]AttributeError: 'NoneType' object has no attribute 'enter_password'

Hello all,

I got this error with version 2.1. Do anyone have same ?

Thank you.

jpm@SweetHome:~$ boobank --debug -b boursorama ls
Unable to load formatter "table": No module named 'prettytable'
Falling back to "multiline".
2020-09-30 11:50:37,152:DEBUG:weboob.config:2.1:yamlconfig.py:69:load Loading configuration file: /home/jpm/.config/weboob/boobank.storage.
2020-09-30 11:50:37,156:DEBUG:weboob.config:2.1:yamlconfig.py:73:load Configuration file loaded: /home/jpm/.config/weboob/boobank.storage.
2020-09-30 11:50:37,269:DEBUG:modules:2.1:modules.py:166:load_module Loaded module "boursorama" from /home/jpm/.local/share/weboob/modules/2.1/boursorama
2020-09-30 11:50:37,562:DEBUG:backend:2.1:modules.py:97:create_instance Created backend "boursorama" for module "boursorama"
2020-09-30 11:50:37,564:DEBUG:weboob.config:2.1:iniconfig.py:53:load Loading application configuration file: /home/jpm/.config/weboob/boobank.
2020-09-30 11:50:37,564:DEBUG:weboob.config:2.1:iniconfig.py:73:load Application configuration file loaded: /home/jpm/.config/weboob/boobank.
                                Account                     Balance    Coming 
---------------------------------------------------------+----------+----------
2020-09-30 11:50:37,575:DEBUG:bcall:2.1:bcall.py:92:backend_process <Backend 'boursorama'>: Calling function <bound method Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb405d70828>>
2020-09-30 11:50:37,577:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-30 11:50:37,577:DEBUG:urllib3.util.retry:2.1:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2020-09-30 11:50:37,580:INFO:backend.boursorama.browser:2.1:browsers.py:1038:_load_cookies Reloaded cookies from storage
2020-09-30 11:50:37,584:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:826:_new_conn Starting new HTTPS connection (1): clients.boursorama.com
2020-09-30 11:50:37,982:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://clients.boursorama.com:443 "GET /connexion/saisie-mot-de-passe/ HTTP/1.1" 301 None
2020-09-30 11:50:38,236:DEBUG:urllib3.connectionpool:2.1:connectionpool.py:396:_make_request https://clients.boursorama.com:443 "GET /connexion/saisie-mot-de-passe HTTP/1.1" 200 None

**2020-09-30 11:50:38,381:DEBUG:backend.boursorama.browser:2.1:browsers.py:876:internal_callback Unable to handle https://clients.boursorama.com/connexion/saisie-mot-de-passe**

2020-09-30 11:50:38,382:DEBUG:bcall:2.1:bcall.py:98:backend_process <Backend 'boursorama'>: Called function <bound method **Application._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb405d70828>> raised an error: AttributeError("'NoneType' object has no attribute 'enter_password'",)
Bug(boursorama): 'NoneType' object has no attribute 'enter_password'**

(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
  File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/core/bcall.py", line 94, in backend_process
    result = function(backend, *args, **kwargs)
  File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/tools/application/base.py", line 318, in _do_complete
    res = getattr(backend, function)(*args, **kwargs)
  File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/capabilities/bank.py", line 785, in iter_resources
    return self.iter_accounts()
  File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/module.py", line 61, in iter_accounts
    return self.browser.get_accounts_list()
  File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 77, in wrapper
    ret = cb()
  File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 73, in <lambda>
    cb = lambda: func(browser, *args, **kwargs)
  File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/browsers.py", line 963, in inner
    browser.do_login()
  File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/retry.py", line 45, in wrapper
    return func(browser, *args, **kwargs)
  File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/browser.py", line 268, in do_login
    return super(BoursoramaBrowser, self).do_login()
  File "/home/jpm/Téléchargements/Git/Weboob/2.1/weboob/weboob/browser/browsers.py", line 1443, in do_double_authentication
    self.init_login()
**  File "/home/jpm/.local/share/weboob/modules/2.1/boursorama/browser.py", line 241, in init_login
    self.page.enter_password(self.username, self.password)
AttributeError: 'NoneType' object has no attribute 'enter_password'**

---------------------------------------------------------+----------+----------
2020-09-30 11:50:38,482:INFO:backend.boursorama.browser:2.1:browsers.py:1077:dump_state Stored cookies into storage
2020-09-30 11:50:38,486:DEBUG:weboob.config:2.1:yamlconfig.py:90:save Configuration file saved: /home/jpm/.config/weboob/boobank.storage.
Edited Oct 11, 2020 by ntome
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: weboob/weboob#433