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 180
    • Issues 180
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 51
    • Merge Requests 51
  • 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
  • #307

Closed
Open
Opened Oct 04, 2019 by Nicolas Frandeboeuf@nicofrand
  • Report abuse
  • New issue
Report abuse New issue

AttributeError: 'ValueBackendPassword' object has no attribute 'is_command'

While launching tools/local_run.sh boobank and then pressing "a" to install all modules (I just wanted to list all modules actually) I got this error:

Configuration of backend banqueaccord
-------------------------------------
[login] Identifiant:
Traceback (most recent call last):
  File "/home/nicofrand/www/weboob/scripts/boobank", line 27, in <module>
    Boobank.run()
  File "/home/nicofrand/www/weboob/weboob/tools/application/console.py", line 224, in run
    super(ConsoleApplication, klass).run(args)
  File "/home/nicofrand/www/weboob/weboob/tools/application/base.py", line 512, in run
    args = app.parse_args(args)
  File "/home/nicofrand/www/weboob/weboob/tools/application/base.py", line 429, in parse_args
    self._handle_options()
  File "/home/nicofrand/www/weboob/weboob/tools/application/repl.py", line 581, in _handle_options
    return super(ReplApplication, self)._handle_options()
  File "/home/nicofrand/www/weboob/weboob/tools/application/console.py", line 208, in _handle_options
    self.load_default_backends()
  File "/home/nicofrand/www/weboob/weboob/applications/boobank/boobank.py", line 511, in load_default_backends
    self.load_backends(CapBank, storage=self.create_storage())
  File "/home/nicofrand/www/weboob/weboob/tools/application/repl.py", line 316, in load_backends
    return ConsoleApplication.load_backends(self, *args, **kwargs)
  File "/home/nicofrand/www/weboob/weboob/tools/application/console.py", line 141, in load_backends
    self.check_loaded_backends()
  File "/home/nicofrand/www/weboob/weboob/tools/application/console.py", line 151, in check_loaded_backends
    self.prompt_create_backends(default_config)
  File "/home/nicofrand/www/weboob/weboob/tools/application/console.py", line 197, in prompt_create_backends
    inst = self.add_backend(name, name, default_config)
  File "/home/nicofrand/www/weboob/weboob/tools/application/console.py", line 363, in add_backend
    params[key] = self.ask(value, default=params[key] if (key in params) else value.default)
  File "/home/nicofrand/www/weboob/weboob/tools/application/console.py", line 445, in ask
    if v.is_command(v.default):
AttributeError: 'ValueBackendPassword' object has no attribute 'is_command'

It happens with all modules (I later tried to install paypal).

I am using python3.

Edited Oct 04, 2019 by Nicolas Frandeboeuf
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#307