After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667662 - gnome-screenshot doesn't work with dbus
gnome-screenshot doesn't work with dbus
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.3.x
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-01-10 22:12 UTC by Olav Vitters
Modified: 2012-01-12 20:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olav Vitters 2012-01-10 22:12:16 UTC
gnome-shell 3.3.3:

Start gnome-screenshot. It'll take a while, and spit out:
** WARNING **: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11. Error: Timeout was reached

GLib-CRITICAL **: g_variant_unref: assertion `value->ref_count > 0' failed


The reason seems to be some error in gnome-shell. From ~/.xsession-errors:
    JS ERROR: !!!   Exception was: Error: Expected type utf8 for Argument 'filename' but got type 'object' 0x7f87df5ce908
    JS ERROR: !!!     lineNumber = '0'
    JS ERROR: !!!     fileName = '"gjs_throw"'
    JS ERROR: !!!     stack = '"("Expected type utf8 for Argument 'filename' but got type 'object' 0x7f87df5ce908")@gjs_throw:0
([object Array],[object _private_Gio_DBusMethodInvocation])@/usr/share/gnome-shell/js/ui/shellDBus.js:153
wrapper([object Array],[object _private_Gio_DBusMethodInvocation])@/usr/share/gjs-1.0/lang.js:167
([object _private_GjsDBus_Implementation],"Screenshot",[object _private_GLib_Variant],[object _private_Gio_DBusMethodInvocation])@/usr/share/gjs-1.0/overrides/Gio.js:311
"'
Comment 1 Olav Vitters 2012-01-10 22:18:26 UTC
From dbus-monitor:
method call sender=:1.2586 -> dest=org.gnome.Shell serial=3 path=/org/gnome/Shell; interface=org.gnome.Shell; member=Screenshot
   string "/home/olav/.cache/gnome-screenshot/scr-1622499545.png"
Comment 2 Cosimo Cecchi 2012-01-12 20:45:21 UTC
Pushed a fix for this to git master.
Turns out it was fallout from gnome-shell's GDBus migration.