[Pkg-linaro-lava-devel] Bug#872782: lava-tool: missing debpendency: python-simplejson

Riku Voipio riku.voipio at linaro.org
Mon Aug 21 08:20:38 UTC 2017


Package: lava-tool
Version: 0.21-1
Severity: important

Dear Maintainer,

Looks like a dependency on python-simplejson is needed:

$ sudo apt install lava-tool
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  python-gpg
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  python-jinja2 python-markupsafe python-xdg python-zmq
Suggested packages:
  python-jinja2-doc
The following NEW packages will be installed:
  lava-tool python-jinja2 python-markupsafe python-xdg python-zmq
...
lava-tool auth-add https://me@youknowwhere.org/RPC2/
ERROR:root:Unable to load command: job-output
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 74, in import_commands
    command_cls = entrypoint.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/lava_scheduler_tool/commands.py", line 42, in <module>
    from lava_dashboard_tool.commands import DataSetRenderer, _get_pretty_renderer
  File "/usr/lib/python2.7/dist-packages/lava_dashboard_tool/commands.py", line 36, in <module>
    import simplejson
ImportError: No module named simplejson

After installing python-simplejson no errors are thrown.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 4.12.0-trunk-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lava-tool depends on:
ii  python             2.7.13-2
ii  python-jinja2      2.8-1
ii  python-requests    2.12.4-1
ii  python-setuptools  33.1.1-1
ii  python-xdg         0.25-4
ii  python-yaml        3.12-1
ii  python-zmq         16.0.2-2
ii  python2.7          2.7.13-2

Versions of packages lava-tool recommends:
ii  ca-certificates  20161130+nmu1

lava-tool suggests no packages.

-- no debconf information



More information about the Pkg-linaro-lava-devel mailing list