ModuleLoadError should trigger a warning to the user that the module should be updated
Trying to fetch my data:
Error: Weboob failure: Traceback (most recent call last):
File "./weboob/main.py", line 255, in <module>
content = Connector(bankuuid, params).fetch(command)
File "./weboob/main.py", line 101, in __init__
self.backend = self.weboob.build_backend(modulename, parameters)
File "/usr/lib/python2.7/site-packages/weboob/core/ouiboube.py", line 418, in build_backend
return super(Weboob, self).build_backend(module_name, params, storage, name, nofail)
File "/usr/lib/python2.7/site-packages/weboob/core/ouiboube.py", line 104, in build_backend
module = self.modules_loader.get_or_load_module(module_name)
File "/usr/lib/python2.7/site-packages/weboob/core/modules.py", line 113, in get_or_load_module
self.load_module(module_name)
File "/usr/lib/python2.7/site-packages/weboob/core/modules.py", line 159, in load_module
% (module.version, self.version))
weboob.exceptions.ModuleLoadError: Module requires Weboob 1.1, but you use Weboob 1.2. Hint: use 'weboob-config update'
.
Obviously weboob-config update
tells nothing interesting (except for the fact it fetches update over http and auto-trust an unknown keyring, both things being scary):
=== [ 0%] Getting http://updates.weboob.org/1.2/main/
The repository http://updates.weboob.org/1.2/main/ isn't trusted yet.
Fingerprint of keyring is 2358fddede5b782c80c09d4dc2e24574a6e96440
Are you sure you want to continue? (Y/n): *** ASSUMING YES ***
=== [ 0%] Keyring version 201612311841, checksum 2358fddede5b782c80c09d4dc2e24574a6e96440
=== [100%] All modules are up-to-date.
=== [ 0%] Getting http://updates.weboob.org/1.2/main/
=== [100%] All modules are up-to-date.