Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kresus kresus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 142
    • Issues 142
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kresusapp
  • kresuskresus
  • Issues
  • #566

Closed
Open
Created May 01, 2017 by Antoine@ZeHiroDeveloper

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
Assignee
Assign to
Time tracking