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 178
    • Issues 178
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 49
    • Merge Requests 49
  • 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
  • #229

Closed
Open
Opened Feb 02, 2019 by Caram Dache@caram
  • Report abuse
  • New issue
Report abuse New issue

[bp] type object 'LinebourseBrowser' has no attribute 'PARENT_ATTR'

I run into the following issue when I run boobank1.4 ls for account BP:

$ boobank ls

Bug(bp): type object 'LinebourseBrowser' has no attribute 'PARENT_ATTR'
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
  File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/core/bcall.py", line 94, in backend_process
    result = function(backend, *args, **kwargs)
  File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/tools/application/base.py", line 310, in _do_complete
    res = getattr(backend, function)(*args, **kwargs)
  File "/Users/comptes/.local/share/weboob/modules/1.4/bp/module.py", line 157, in iter_resources
    return self.iter_accounts()
  File "/Users/comptes/.local/share/weboob/modules/1.4/bp/module.py", line 63, in iter_accounts
    return self.browser.get_accounts_list()
  File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/tools/backend.py", line 312, in browser
    self._browser = self.create_default_browser()
  File "/Users/comptes/.local/share/weboob/modules/1.4/bp/module.py", line 60, in create_default_browser
    return self.create_browser(self.config['login'].get(), self.config['password'].get(), weboob=self.weboob)
  File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/tools/backend.py", line 347, in create_browser
    browser = klass(*args, **kwargs)
  File "/Users/comptes/.local/share/weboob/modules/1.4/bp/browser.py", line 183, in __init__
    self.linebourse = LinebourseBrowser('https://labanquepostale.offrebourse.com/', logger=self.logger, responses_dirname=dirname, weboob=self.weboob, proxy=self.PROXIES)
  File "/usr/local/Cellar/weboob/1.4/libexec/lib/python3.7/site-packages/weboob/browser/browsers.py", line 942, in __new__
    if cls.PARENT_ATTR is None:
AttributeError: type object 'LinebourseBrowser' has no attribute 'PARENT_ATTR'
Edited Feb 02, 2019 by Caram Dache
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
core
Assign labels
  • View project labels
Reference: weboob/weboob#229