Bonjour,
la synchro avec LBP ne fonctionne plus depuis quelques jours chez moi.
" Votre banque utilise un module non supporté par Kresus (et Woob) ou il manque une dépendance. Essayer de mettre à jour Woob ou contacter un mainteneur."
Si je comprends bien, il faut que je force la mise à jour de Woob. J’ai trouvé sur un forum de yunohost la consigne suivante :
" me connecter en SSH et entrer la commade
yunohost app upgrade kresus --debug -F
"
J’ai bon ? Je fais ?
je mets la partie de log de ce soir au cas où je sois à côté.
Merci
bnjbvr-kresus1
date,stream,content
2023-03-20T18:07:41.064084500Z,stdout,[2023-03-20T18:07:41.063] [ERROR] HTTP - POST /api/accesses/13/fetch/operations - 500 (12640 ms)
2023-03-20T18:07:41.048943476Z,stdout, at async fetchOperations (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/controllers/accesses.js:205:37)
2023-03-20T18:07:41.048903044Z,stdout, at async AccountManager.syncTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:338:24)
2023-03-20T18:07:41.048868435Z,stdout, at async pollTransactions (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/lib/accounts-manager.js:215:34)
2023-03-20T18:07:41.048820491Z,stdout, at async Object.fetchOperations (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:270:12)
2023-03-20T18:07:41.048786888Z,stdout, at async _fetchHelper (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:245:16)
2023-03-20T18:07:41.048747493Z,stdout, at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-03-20T18:07:41.048713546Z,stdout, at callWoob (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/index.js:188:15)
2023-03-20T18:07:41.048664970Z,stdout, at new KError (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/helpers.js:59:22)
2023-03-20T18:07:41.048598884Z,stdout,[2023-03-20T18:07:41.048] [INFO] helpers - Error
2023-03-20T18:07:41.048331137Z,stdout,
2023-03-20T18:07:41.048301523Z,stdout,woob.exceptions.ModuleLoadError: cannot import name 'LowSecHTTPAdapter' from 'woob.browser.adapters' (/woob/woob/browser/adapters.py)
2023-03-20T18:07:41.048276461Z,stdout," raise ModuleLoadError(module_name, e) from e
"
2023-03-20T18:07:41.048250656Z,stdout," File \"/woob/woob/core/modules.py\", line 181, in load_module
"
2023-03-20T18:07:41.048221692Z,stdout, self.load_module(module_name)
2023-03-20T18:07:41.048195274Z,stdout," File \"/woob/woob/core/modules.py\", line 141, in get_or_load_module
"
2023-03-20T18:07:41.048170386Z,stdout, module = self.modules_loader.get_or_load_module(module_name)
2023-03-20T18:07:41.048142215Z,stdout," File \"/woob/woob/core/woob.py\", line 139, in build_backend
"
2023-03-20T18:07:41.048114055Z,stdout," return super().build_backend(module_name, params, storage, name, nofail)
"
2023-03-20T18:07:41.048086291Z,stdout," File \"/woob/woob/core/woob.py\", line 514, in build_backend
"
2023-03-20T18:07:41.048062676Z,stdout, storage=self.storage
2023-03-20T18:07:41.048028468Z,stdout," File \"/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py\", line 530, in create_backend
"
2023-03-20T18:07:41.048003739Z,stdout," woob_connector.create_backend(bank_module, params, session)
"
2023-03-20T18:07:41.047969670Z,stdout," File \"/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py\", line 949, in main
"
2023-03-20T18:07:41.047945441Z,stdout,Traceback (most recent call last):
2023-03-20T18:07:41.047923837Z,stdout,
2023-03-20T18:07:41.047895329Z,stdout,The above exception was the direct cause of the following exception:
2023-03-20T18:07:41.047872857Z,stdout,
2023-03-20T18:07:41.047836701Z,stdout,ImportError: cannot import name 'LowSecHTTPAdapter' from 'woob.browser.adapters' (/woob/woob/browser/adapters.py)
2023-03-20T18:07:41.047811321Z,stdout, from woob.browser.adapters import LowSecHTTPAdapter
2023-03-20T18:07:41.047782209Z,stdout," File \"/home/user/data/woob-data/modules/3.3.1/woob_modules/bp/browser.py\", line 32, in <module>
"
2023-03-20T18:07:41.047756110Z,stdout," from .browser import BPBrowser, BProBrowser
"
2023-03-20T18:07:41.047724951Z,stdout," File \"/home/user/data/woob-data/modules/3.3.1/woob_modules/bp/module.py\", line 37, in <module>
"
2023-03-20T18:07:41.047700456Z,stdout, from .module import BPModule
2023-03-20T18:07:41.047668786Z,stdout," File \"/home/user/data/woob-data/modules/3.3.1/woob_modules/bp/__init__.py\", line 20, in <module>
"
2023-03-20T18:07:41.047640810Z,stdout," File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed
"
2023-03-20T18:07:41.047613274Z,stdout," File \"<frozen importlib._bootstrap_external>\", line 728, in exec_module
"
2023-03-20T18:07:41.047586848Z,stdout," File \"<frozen importlib._bootstrap>\", line 677, in _load_unlocked
"
2023-03-20T18:07:41.047559859Z,stdout," File \"<frozen importlib._bootstrap>\", line 967, in _find_and_load_unlocked
"
2023-03-20T18:07:41.047532796Z,stdout," File \"<frozen importlib._bootstrap>\", line 983, in _find_and_load
"
2023-03-20T18:07:41.047502965Z,stdout," File \"<frozen importlib._bootstrap>\", line 1006, in _gcd_import
"
2023-03-20T18:07:41.047467445Z,stdout," return _bootstrap._gcd_import(name[level:], package, level)
"
2023-03-20T18:07:41.047438197Z,stdout," File \"/usr/lib/python3.7/importlib/__init__.py\", line 127, in import_module
"
2023-03-20T18:07:41.047409919Z,stdout, pymodule = importlib.import_module(f'woob_modules.{module_name}')
2023-03-20T18:07:41.047376266Z,stdout," File \"/woob/woob/core/modules.py\", line 176, in load_module
"
2023-03-20T18:07:41.047343338Z,stdout,Traceback (most recent call last):
2023-03-20T18:07:41.047195560Z,stdout,[2023-03-20T18:07:41.046] [ERROR] helpers - when fetching operations: Unable to load module bp.
2023-03-20T18:07:40.980930342Z,stdout,[2023-03-20T18:07:40.979] [ERROR] providers/woob - (error code: UNKNOWN_WOOB_MODULE)
2023-03-20T18:07:40.980824536Z,stdout,
2023-03-20T18:07:40.980789687Z,stdout,woob.exceptions.ModuleLoadError: cannot import name 'LowSecHTTPAdapter' from 'woob.browser.adapters' (/woob/woob/browser/adapters.py)
2023-03-20T18:07:40.980751280Z,stdout," raise ModuleLoadError(module_name, e) from e
"
2023-03-20T18:07:40.980724550Z,stdout," File \"/woob/woob/core/modules.py\", line 181, in load_module
"
2023-03-20T18:07:40.980698903Z,stdout, self.load_module(module_name)
2023-03-20T18:07:40.980660599Z,stdout," File \"/woob/woob/core/modules.py\", line 141, in get_or_load_module
"
2023-03-20T18:07:40.980632968Z,stdout, module = self.modules_loader.get_or_load_module(module_name)
2023-03-20T18:07:40.980594411Z,stdout," File \"/woob/woob/core/woob.py\", line 139, in build_backend
"
2023-03-20T18:07:40.980564226Z,stdout," return super().build_backend(module_name, params, storage, name, nofail)
"
2023-03-20T18:07:40.980524960Z,stdout," File \"/woob/woob/core/woob.py\", line 514, in build_backend
"
2023-03-20T18:07:40.980496519Z,stdout, storage=self.storage
2023-03-20T18:07:40.980450477Z,stdout," File \"/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py\", line 530, in create_backend
"
2023-03-20T18:07:40.980415117Z,stdout," woob_connector.create_backend(bank_module, params, session)
"
2023-03-20T18:07:40.980366085Z,stdout," File \"/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/providers/woob/py/main.py\", line 949, in main
"
2023-03-20T18:07:40.980340178Z,stdout,Traceback (most recent call last):
2023-03-20T18:07:40.980305078Z,stdout,
2023-03-20T18:07:40.980272727Z,stdout,The above exception was the direct cause of the following exception:
2023-03-20T18:07:40.980235761Z,stdout,
2023-03-20T18:07:40.980205951Z,stdout,ImportError: cannot import name 'LowSecHTTPAdapter' from 'woob.browser.adapters' (/woob/woob/browser/adapters.py)
2023-03-20T18:07:40.980177282Z,stdout, from woob.browser.adapters import LowSecHTTPAdapter
2023-03-20T18:07:40.980135276Z,stdout," File \"/home/user/data/woob-data/modules/3.3.1/woob_modules/bp/browser.py\", line 32, in <module>
"
2023-03-20T18:07:40.980106688Z,stdout," from .browser import BPBrowser, BProBrowser
"
2023-03-20T18:07:40.980064128Z,stdout," File \"/home/user/data/woob-data/modules/3.3.1/woob_modules/bp/module.py\", line 37, in <module>
"
2023-03-20T18:07:40.980036263Z,stdout, from .module import BPModule
2023-03-20T18:07:40.979989749Z,stdout," File \"/home/user/data/woob-data/modules/3.3.1/woob_modules/bp/__init__.py\", line 20, in <module>
"
2023-03-20T18:07:40.979957022Z,stdout," File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed
"
2023-03-20T18:07:40.979916203Z,stdout," File \"<frozen importlib._bootstrap_external>\", line 728, in exec_module
"
2023-03-20T18:07:40.979885735Z,stdout," File \"<frozen importlib._bootstrap>\", line 677, in _load_unlocked
"
2023-03-20T18:07:40.979832837Z,stdout," File \"<frozen importlib._bootstrap>\", line 967, in _find_and_load_unlocked
"
2023-03-20T18:07:40.979791827Z,stdout," File \"<frozen importlib._bootstrap>\", line 983, in _find_and_load
"
2023-03-20T18:07:40.979760543Z,stdout," File \"<frozen importlib._bootstrap>\", line 1006, in _gcd_import
"
2023-03-20T18:07:40.979718606Z,stdout," return _bootstrap._gcd_import(name[level:], package, level)
"
2023-03-20T18:07:40.979686568Z,stdout," File \"/usr/lib/python3.7/importlib/__init__.py\", line 127, in import_module
"
2023-03-20T18:07:40.979641112Z,stdout, pymodule = importlib.import_module(f'woob_modules.{module_name}')
2023-03-20T18:07:40.979606506Z,stdout," File \"/woob/woob/core/modules.py\", line 176, in load_module
"
2023-03-20T18:07:40.979559873Z,stdout,Traceback (most recent call last):
2023-03-20T18:07:40.979451446Z,stdout,[2023-03-20T18:07:40.979] [ERROR] providers/woob - Got error while running command "operations": Unable to load module bp.
2023-03-20T18:07:40.979265105Z,stdout,[2023-03-20T18:07:40.979] [INFO] providers/woob - OK: woob exited normally with non-empty JSON content.
2023-03-20T18:07:40.978916879Z,stdout,[2023-03-20T18:07:40.978] [INFO] providers/woob - exited with code 0.
2023-03-20T18:07:40.537617580Z,stdout,[2023-03-20T18:07:40.537] [INFO] providers/woob - Calling woob: command test...
2023-03-20T18:07:40.537452385Z,stdout,[2023-03-20T18:07:40.537] [INFO] providers/woob - Checking that woob is installed and can actually be called…
2023-03-20T18:07:40.537120987Z,stdout,[2023-03-20T18:07:40.536] [INFO] providers/woob - Command returned an error code.
2023-03-20T18:07:40.536652151Z,stdout,[2023-03-20T18:07:40.536] [INFO] providers/woob - exited with code 1.
2023-03-20T18:07:39.633830636Z,stdout,[2023-03-20T18:07:39.632] [INFO] providers/woob - Calling woob: command operations...