Bug#756111: gnome-shell: gnome shell not starting due to missing API after update

Giovanni P gpanepinto at gmx.com
Sat Jul 26 11:34:24 UTC 2014


Package: gnome-shell
Version: 3.4.2-11
Severity: important

Dear Maintainer,

After the latest upgrade of the system (and gnome-shell), the following occurs:

At startup, gnome-shell throws this error and doesn't start:

JS ERROR: !!!   Exception was: Error: No signal 'notify-resume' on object 'UpClient'


Chaging the line 168  of /usr/share/gnome-shell/js/ui/dateMenu.js

from

        // https://bugzilla.gnome.org/show_bug.cgi?id=655129
        this._upClient = new UPowerGlib.Client();
        this._upClient.connect('notify-resume', Lang.bind(this, this._updateClockAndDate));
to

        // https://bugzilla.gnome.org/show_bug.cgi?id=655129
        this._upClient = new UPowerGlib.Client();
        this._upClient.connect('notify::resume', Lang.bind(this, this._updateClockAndDate));

works around the issue, and leads to this other error message:

(gnome-shell:2073): Gvc-WARNING **: Failed to connect context: Connection refused
    JS ERROR: !!!   Exception was: TypeError: this._upClient.get_can_suspend is not a function
    JS ERROR: !!!     message = '"this._upClient.get_can_suspend is not a function"'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/userMenu.js"'
    JS ERROR: !!!     lineNumber = '582'
    JS ERROR: !!!     stack = '"()@/usr/share/gnome-shell/js/ui/userMenu.js:582
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/js/ui/userMenu.js:669
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/js/ui/userMenu.js:492
wrapper()@/usr/share/gjs-1.0/lang.js:204
start()@/usr/share/gnome-shell/js/ui/main.js:234
@<main>:1
"'

Seems like that API is gone, so i changed line 582 of /usr/share/gnome-shell/js/ui/userMenu.js

from

        this._haveSuspend = this._upClient.get_can_suspend();
to

        this._haveSuspend = false;

in this way gnome-shell starts but I loose some functionalities in the suspend button.





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

Kernel: Linux 3.14-1-amd64 (SMP w/1 CPU core)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.20.0-2
ii  gconf-service                                3.2.6-2
ii  gir1.2-accountsservice-1.0                   0.6.37-2
ii  gir1.2-caribou-1.0                           0.4.13-1
ii  gir1.2-clutter-1.0                           1.10.8-2
ii  gir1.2-folks-0.6                             0.9.7.1-1
ii  gir1.2-freedesktop                           1.40.0-2
ii  gir1.2-gconf-2.0                             3.2.6-2
ii  gir1.2-gcr-3                                 3.12.2-1
ii  gir1.2-gkbd-3.0                              3.6.0-1
ii  gir1.2-glib-2.0                              1.40.0-2
ii  gir1.2-gmenu-3.0                             3.8.0-2
ii  gir1.2-gnomebluetooth-1.0                    3.8.1-3
ii  gir1.2-gtk-3.0                               3.12.2-1+b1
ii  gir1.2-mutter-3.0                            3.4.1-7+b1
ii  gir1.2-networkmanager-1.0                    0.9.10.0-1
ii  gir1.2-pango-1.0                             1.36.3-1
ii  gir1.2-polkit-1.0                            0.105-6.1
ii  gir1.2-soup-2.4                              2.46.0-2
ii  gir1.2-telepathyglib-0.12                    0.24.0-1
ii  gir1.2-telepathylogger-0.2                   0.8.0-3
ii  gir1.2-upowerglib-1.0                        0.99.0-3
ii  gjs                                          1.32.0-5+b1
ii  gnome-bluetooth                              3.8.1-3
ii  gnome-icon-theme-symbolic                    3.12.0-1
ii  gnome-settings-daemon                        3.4.2+git20121218.7c1322-6+b2
ii  gnome-shell-common                           3.4.2-11
ii  gnome-themes-standard                        3.12.0-1
ii  gsettings-desktop-schemas                    3.4.2-3
ii  libatk1.0-0                                  2.12.0-1
ii  libc6                                        2.19-7
ii  libcairo-gobject2                            1.12.16-2
ii  libcairo2                                    1.12.16-2
ii  libcanberra0                                 0.30-2
ii  libclutter-1.0-0                             1.10.8-2
ii  libcogl-pango0                               1.10.2-7
ii  libcogl9                                     1.10.2-7
ii  libcroco3                                    0.6.8-2
ii  libdbus-1-3                                  1.8.6-1
ii  libdbus-glib-1-2                             0.102-1
ii  libebook-1.2-13                              3.4.4-4
ii  libecal-1.2-11                               3.4.4-4
ii  libedataserver-1.2-16                        3.4.4-4
ii  libedataserverui-3.0-1                       3.4.4-4
ii  libfolks25                                   0.9.7.1-1
ii  libgck-1-0                                   3.12.2-1
ii  libgconf-2-4                                 3.2.6-2
ii  libgcr-base-3-1                              3.12.2-1
ii  libgcr-ui-3-1                                3.12.2-1
ii  libgdk-pixbuf2.0-0                           2.30.7-1
ii  libgee2                                      0.6.8-1
ii  libgirepository-1.0-1                        1.40.0-2
ii  libgjs0b [libgjs0-libmozjs185-1.0]           1.32.0-5+b1
ii  libgl1-mesa-glx [libgl1]                     10.2.4-1
ii  libglib2.0-0                                 2.40.0-3
ii  libgnome-keyring0                            3.4.1-1
ii  libgnome-menu-3-0                            3.8.0-2
ii  libgstreamer0.10-0                           0.10.36-1.2
ii  libgtk-3-0                                   3.12.2-1+b1
ii  libical0                                     0.48-2
ii  libjson-glib-1.0-0                           1.0.2-1
ii  libmozjs185-1.0                              1.8.5-1.0.0+dfsg-4+b1
ii  libmutter0                                   3.4.1-7
ii  libnm-glib4                                  0.9.10.0-1
ii  libnm-util2                                  0.9.10.0-1
ii  libnspr4                                     2:4.10.6-1
ii  libnspr4-0d                                  2:4.10.6-1
ii  libp11-kit0                                  0.20.2-5
ii  libpango-1.0-0                               1.36.3-1
ii  libpangocairo-1.0-0                          1.36.3-1
ii  libpolkit-agent-1-0                          0.105-6.1
ii  libpolkit-gobject-1-0                        0.105-6.1
ii  libpulse-mainloop-glib0                      5.0-2
ii  libpulse0                                    5.0-2
ii  libsoup2.4-1                                 2.46.0-2
ii  libstartup-notification0                     0.12-3
ii  libtelepathy-glib0                           0.24.0-1
ii  libtelepathy-logger2                         0.4.0-1
ii  libx11-6                                     2:1.6.2-2
ii  libxcomposite1                               1:0.4.4-1
ii  libxdamage1                                  1:1.1.4-2
ii  libxext6                                     2:1.3.2-1
ii  libxfixes3                                   1:5.0.1-2
ii  libxi6                                       2:1.7.2-1
ii  libxml2                                      2.9.1+dfsg1-4
ii  python                                       2.7.8-1
ii  telepathy-mission-control-5                  1:5.16.2-1

Versions of packages gnome-shell recommends:
pn  gkbd-capplet            <none>
pn  gnome-contacts          <none>
ii  gnome-control-center    1:3.4.3.1-5+b1
pn  gnome-session-fallback  <none>
ii  gnome-user-guide        3.12.2-1
ii  unzip                   6.0-12

gnome-shell suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list