[weboob] Module CIC de boobank

Vincent Frison vincent.frison at gmail.com
Thu May 20 12:27:11 CEST 2021


Le jeu. 20 mai 2021 à 12:15, Vincent Frison <vincent.frison at gmail.com> a
écrit :

> Le jeu. 20 mai 2021 à 12:11, Vincent Frison <vincent.frison at gmail.com> a
> écrit :
>
>> Je suis la branche master qui est à jour.
>>
>
> Sauf que je suis encore sur l'ancien répo (weboob) ! Je vais essayer avec
> le nouveau...
>

Du coup j'ai réinstallé depuis le nouveau répo (
https://gitlab.com/woob/woob.git au lieu de
https://git.weboob.org/weboob/weboob.git) mais j'ai maintenant cette erreur:

turman at entropy:~$ ~/Software/woob-git/boobank -d ls
Unable to load formatter "table": No module named 'prettytable'
Falling back to "multiline".
2021-05-20 12:22:46,885:DEBUG:weboob.config:2.0:yamlconfig.py:69:load
Loading configuration file: /home/turman/.config/weboob/boobank.storage.
2021-05-20 12:22:46,889:DEBUG:weboob.config:2.0:yamlconfig.py:73:load
Configuration file loaded: /home/turman/.config/weboob/boobank.storage.
2021-05-20 12:22:46,893:DEBUG:modules:2.0:modules.py:166:load_module Loaded
module "cic" from /home/turman/.local/share/weboob/modules/2.0/cic
2021-05-20 12:22:46,941:DEBUG:modules:2.0:modules.py:166:load_module Loaded
module "creditmutuel" from
/home/turman/.local/share/weboob/modules/2.0/creditmutuel
2021-05-20 12:22:46,941:DEBUG:backend:2.0:modules.py:97:create_instance
Created backend "cic" for module "cic"
2021-05-20 12:22:46,941:DEBUG:weboob.config:2.0:iniconfig.py:53:load
Loading application configuration file: /home/turman/.config/weboob/boobank.
2021-05-20 12:22:46,941:DEBUG:weboob.config:2.0:iniconfig.py:73:load
Application configuration file loaded: /home/turman/.config/weboob/boobank.
                                Account                     Balance
 Coming
---------------------------------------------------------+----------+----------
2021-05-20 12:22:46,947:DEBUG:bcall:2.0:bcall.py:92:backend_process
<Backend 'cic'>: Calling function iter_resources
2021-05-20 12:22:46,947:DEBUG:bcall:2.0:bcall.py:101:backend_process
<Backend 'cic'>: Called function iter_resources returned: <generator object
CreditMutuelModule.iter_accounts at 0x7f5dad709040>
2021-05-20 12:22:46,947:DEBUG:urllib3.util.retry:2.0:retry.py:332:from_int
Converted retries value: 2 -> Retry(total=2, connect=None, read=None,
redirect=None, status=None)
2021-05-20 12:22:46,947:DEBUG:urllib3.util.retry:2.0:retry.py:332:from_int
Converted retries value: 2 -> Retry(total=2, connect=None, read=None,
redirect=None, status=None)
Bug(cic): invalid load key, '['.
(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/turman/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/core/bcall.py",
line 106, in backend_process
    for subresult in result:
  File
"/home/turman/.local/share/weboob/modules/2.0/creditmutuel/module.py", line
74, in iter_accounts
    for account in self.browser.get_accounts_list():
  File
"/home/turman/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/tools/backend.py",
line 343, in browser
    self._browser = self.create_default_browser()
  File "/home/turman/.local/share/weboob/modules/2.0/cic/module.py", line
49, in create_default_browser
    browser = self.create_browser(self.config, weboob=self.weboob)
  File
"/home/turman/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/tools/backend.py",
line 386, in create_browser
    browser.load_state(self.storage.get('browser_state', default={}))
  File
"/home/turman/.local/share/weboob/modules/2.0/creditmutuel/browser.py",
line 272, in load_state
    super(CreditMutuelBrowser, self).load_state(state)
  File
"/home/turman/.local/lib/python3.9/site-packages/weboob-2.0-py3.9.egg/weboob/browser/browsers.py",
line 882, in load_state
    self.session.cookies =
pickle.loads(zlib.decompress(base64.b64decode(state['cookies'])))
_pickle.UnpicklingError: invalid load key, '['.

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

Merci, Vincent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.symlink.me/pipermail/weboob/attachments/20210520/3f1e00fd/attachment.htm>


More information about the weboob mailing list