Update of weboob module needing to install an extra module fails
Here is what I have in my logs (bp module) :
- Update of module with ParentModule :
2017-04-30 02:40:05:893] error - poller | Error when polling accounts: Error when calling into Weboob:
- stdout: === [ 0%] Looking for module linebourse
=== [ 30%] Module linebourse is not installed yet
=== [ 20%] Downloading module...
=== [ 50%] Checking module authenticity...
=== [ 70%] Setting up module...
=== [ 90%] Downloading icon...
=== [100%] Module linebourse has been installed!
{"error_code": "UNKNOWN_WEBOOB_MODULE"}
- stderr: undefined
- JSON error: SyntaxError: Unexpected token =
at Object.parse (native)
at ChildProcess.<anonymous> (/usr/local/cozy/apps/kresus/node_modules/kresus/build/server/lib/sources/weboob.js:314:31)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:862:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5),
- error_code: undefined
- And try to update :
[2017-05-01 03:19:46:892] info - sources/weboob | stderr: Unknown error: This module depends on linebourse module but linebourse's installation failed with: The latest version of linebourse is already installed
Traceback (most recent call last):
File "./weboob/main.py", line 177, in fetch
results['values'] = self.get_accounts()
File "./weboob/main.py", line 118, in get_accounts
for account in self.backend.iter_accounts():
File "/usr/local/cozy/apps/kresus/node_modules/kresus/build/server/weboob/data/modules/1.3/bp/module.py", line 54, in iter_accounts
return self.browser.get_accounts_list()
File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/tools/backend.py", line 308, in browser
self._browser = self.create_default_browser()
File "/usr/local/cozy/apps/kresus/node_modules/kresus/build/server/weboob/data/modules/1.3/bp/module.py", line 51, in create_default_browser
return self.create_browser(self.config['login'].get(), self.config['password'].get(), weboob=self.weboob)
File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/tools/backend.py", line 344, in create_browser
browser = klass(*args, **kwargs)
File "/usr/local/cozy/apps/kresus/node_modules/kresus/build/server/weboob/data/modules/1.3/bp/browser.py", line 139, in __init__
self.linebourse = LinebourseBrowser(self.weboob, 'https://labanquepostale.offrebourse.com/', logger=self.logger, responses_dirname=dirname)
File "/usr/local/lib/python2.7/dist-packages/weboob-1.3-py2.7.egg/weboob/browser/browsers.py", line 905, in __new__
raise ModuleInstallError('This module depends on %s module but %s\'s installation failed with: %s' % (cls.PARENT, cls.PARENT, err))
ModuleInstallError: This module depends on linebourse module but linebourse's installation failed with: The latest version of linebourse is already installed