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
  • #62

Closed
Open
Opened Nov 03, 2017 by Guicar@Guicar
  • Report abuse
  • New issue
Report abuse New issue

[boobank] Hello bank, Python unicode error

Hello,

I get the following error since a couple of days , only with hello bank.Others banks are working well. Weboob version is 1.3

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 12: ordinal not in range(128)

Here is the debug:

jpm@Lubuntu:~$ boobank --debug -b bnporc ls

2017-11-02 21:38:18,436:DEBUG:root:1.3:yamlconfig.py:61:load Loading application configuration file: /home/jpm/.config/weboob/boobank.storage.

2017-11-02 21:38:18,437:DEBUG:root:1.3:yamlconfig.py:65:load Application configuration file loaded: /home/jpm/.config/weboob/boobank.storage.

2017-11-02 21:38:18,487:DEBUG:modules:1.3:modules.py:163:load_module Loaded module "bnporc" from /home/jpm/.local/share/weboob/modules/1.3/bnporc

2017-11-02 21:38:18,487:DEBUG:backend:1.3:modules.py:94:create_instance Created backend "bnporc" for module "bnporc"

2017-11-02 21:38:18,488:DEBUG:root:1.3:iniconfig.py:51:load Loading application configuration file: /home/jpm/.config/weboob/boobank.

2017-11-02 21:38:18,488:DEBUG:root:1.3:iniconfig.py:68:load Application configuration file loaded: /home/jpm/.config/weboob/boobank.

                            Account                     Balance    Coming 

---------------------------------------------------------+----------+----------

2017-11-02 21:38:18,506:DEBUG:bcall:1.3:bcall.py:92:backend_process <Backend u'bnporc'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb4e0e43a90>>

2017-11-02 21:38:18,506:DEBUG:bcall:1.3:bcall.py:101:backend_process <Backend u'bnporc'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fb4e0e43a90>> returned: <generator object _do_complete_iter at 0x7fb4dae1adc0> Bug(bnporc): 'ascii' codec can't encode character u'\xe9' in position 12: ordinal not in range(128)

(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/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/core/bcall.py", line 106, in backend_process for subresult in result:

File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/tools/application/base.py", line 287, in _do_complete_iter for i, sub in enumerate(res):

File "/home/jpm/.local/share/weboob/modules/1.3/bnporc/module.py", line 81, in iter_accounts for account in self.browser.get_accounts_list():

File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/tools/backend.py", line 309, in browser self._browser = self.create_default_browser()

File "/home/jpm/.local/share/weboob/modules/1.3/bnporc/module.py", line 77, in create_default_browser return self.create_browser(self.config['login'].get(),

File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/tools/value.py", line 233, in get self._value = self._requests.request('login', self._domain, self)

File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/core/requests.py", line 35, in request return self.callbacksname

File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/tools/application/console.py", line 113, in login_cb regexp=value.regexp)

File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/tools/application/console.py", line 507, in ask line = getpass.getpass(question)

File "/usr/lib/python2.7/getpass.py", line 71, in unix_getpass passwd = _raw_input(prompt, stream, input=input)

File "/usr/lib/python2.7/getpass.py", line 128, in _raw_input prompt = str(prompt) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 12: ordinal not in range(128)

---------------------------------------------------------+----------+----------

Thank you for your help.

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#62