[Pkg-sugar-devel] Bug#877812: python-jarabe: desktop does not start, requires WebKit 3.0 API, uses WebKit2 4.0 API

James Cameron quozl at laptop.org
Thu Oct 5 21:46:52 UTC 2017

Package: python-jarabe
Version: 0.110.0-5
Severity: important

Dear Maintainer,

Sugar desktop does not start, and ~/.sugar/default/logs/shell.log has

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/jarabe/main.py", line 61, in <module>
    gi.require_version('WebKit', '3.0')
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 118, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace WebKit not available

Package correctly declares dependency on WebKit2 4.0.

Source code incorrectly declares a dependency on WebKit 3.0 in
jarabe/main.py, yet uses WebKit2 4.0 in jarabe/view/viewhelp.py

Fixed upstream by removing the require_version call, and was released
in Sugar 0.111.

Workarounds are;

1.  install gir1.2-webkit-3.0, or

2.  delete the require_version call from jarabe/main.py

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-jarabe depends on:
ii  gir1.2-gconf-2.0      3.2.6-4+b1
ii  gir1.2-gdkpixbuf-2.0  2.36.11-1
ii  gir1.2-glib-2.0       1.54.1-1
ii  gir1.2-gstreamer-1.0  1.12.3-1
ii  gir1.2-gtk-3.0        3.22.24-1
ii  gir1.2-gtksource-3.0  3.24.5-1
ii  gir1.2-pango-1.0      1.40.12-1
ii  gir1.2-soup-2.4       2.60.0-1
ii  gir1.2-sugarext-1.0   0.110.0-5
ii  gir1.2-webkit2-4.0    2.18.0-2+b1
ii  gir1.2-wnck-3.0       3.24.1-1
ii  gir1.2-xkl-1.0        5.4-2
ii  metacity              1:3.26.0-1
ii  policykit-1           0.105-18
ii  python                2.7.14-1
ii  python-cairo          1.8.8-2.2
ii  python-dbus           1.2.4-1+b2
ii  python-gwebsockets    0.4-3
ii  python-sugar3         0.110.0-5
ii  python-telepathy      0.15.19-3
ii  python-xapian         1.4.4-3

Versions of packages python-jarabe recommends:
ii  avahi-autoipd                                 0.7-3
ii  dbus-user-session [default-dbus-session-bus]  1.11.20-1
ii  dbus-x11 [dbus-session-bus]                   1.11.20-1
ii  gconf2                                        3.2.6-4+b1
ii  libpam-systemd                                234-3
ii  modemmanager                                  1.6.8-1
ii  network-manager                               1.8.4-2
ii  openssh-client                                1:7.5p1-10
ii  python-carquinyol                             0.110.0-2
ii  xdg-user-dirs                                 0.15-3

Versions of packages python-jarabe suggests:
ii  sugar-session  0.110.0-5

-- no debconf information

James Cameron

More information about the pkg-sugar-devel mailing list