Package: weboob
Version: 0.h-1
Severity: normal
Tags: upstream


Coin,

I got the following error:
====================================================================
$ boobank
Welcome to boobank v0.h
…
Loaded backends: cragr

boobank> list
Bug(cragr): expected string or buffer
=== [  0%] Getting http://updates.weboob.org/0.h/main/
Use "logging debug" option to print backtraces.
                 Account                     Balance    Coming
------------------------------------------+----------+----------
------------------------------------------+----------+----------
====================================================================

I then ensured having the latest modules, just in case:
====================================================================
$ weboob-config update
=== [  0%] Getting http://updates.weboob.org/0.h/main/
…
=== [ 40%] The latest version of cragr is already installed
…
====================================================================

Here is the backtrace:
====================================================================
2014-03-17 23:22:52,324:DEBUG:bcall:bcall.py:97:_caller <Backend 'cragr'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fdf8534a290>> 2014-03-17 23:22:52,588:DEBUG:backend.cragr.browser:browser.py:706:_change_location [user_id=<crag-uid>] Went on https://www.ca-paris.fr/ 2014-03-17 23:22:53,289:DEBUG:backend.cragr.browser:browser.py:706:_change_location [user_id=<crag-uid>] Went on https://www.paris-g3-enligne.credit-agricole.fr/stb/entreeBam 2014-03-17 23:23:08,486:DEBUG:bcall:bcall.py:103:_caller <Backend 'cragr'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x7fdf8534a290>> raised an error: TypeError('expected string or buffer',)
Bug(cragr): expected string or buffer
=== [  0%] Getting http://updates.weboob.org/0.h/main/
2014-03-17 23:23:08,490:DEBUG:browser:browser.py:277:openurl Opening URL "('http://updates.weboob.org/0.h/main/modules.list',)", {}
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/weboob/core/bcall.py", line 99, in _caller
    result = function(backend, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/weboob/tools/application/base.py", line 269, in _do_complete
    res = getattr(backend, function)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/weboob/capabilities/bank.py", line 177, in iter_resources
    return self.iter_accounts()
File "/home/duck/.local/share/weboob/modules/0.h/cragr/backend.py", line 99, in iter_accounts
    return self.browser.get_accounts_list()
File "/home/duck/.local/share/weboob/modules/0.h/cragr/web/browser.py", line 139, in get_accounts_list
    self.location(self.accounts_url)
File "/usr/lib/python2.7/dist-packages/weboob/tools/browser/browser.py", line 167, in inner
    return func(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/weboob/tools/decorators.py", line 41, in f_retry
    return f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/weboob/tools/browser/browser.py", line 622, in location self._change_location(mechanize.Browser.open(self, *args, **kwargs), no_login=no_login) File "/usr/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 203, in open
    return self._mech_open(url, data, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 211, in _mech_open
    scheme, authority = _rfc3986.urlsplit(url)[:2]
File "/usr/lib/python2.7/dist-packages/mechanize/_rfc3986.py", line 69, in urlsplit
    match = SPLIT_MATCH(absolute_uri)
TypeError: expected string or buffer
====================================================================

Regards.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages weboob depends on:
ii  python              2.7.5-5
ii  python-html2text    3.200.3-2
ii  python-prettytable  0.7.2-2
ii  python-weboob-core  0.h-1

Versions of packages weboob recommends:
pn  python-termcolor  <none>

weboob suggests no packages.

-- no debconf information

--
Marc Dequènes (Duck)

Attachment: pgpekF3SRnuKh.pgp
Description: PGP Digital Signature

Reply via email to