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 707308 - Recording does not work – "Shell.Recorder is not a constructor"
Recording does not work – "Shell.Recorder is not a constructor"
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 705786 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-09-02 20:19 UTC by Mantas Mikulėnas (grawity)
Modified: 2013-09-05 00:13 UTC
See Also:
GNOME target: 3.10
GNOME version: ---


Attachments
build: Fix building introspection for ShellRecorder (910 bytes, patch)
2013-09-03 00:55 UTC, Florian Müllner
committed Details | Review

Description Mantas Mikulėnas (grawity) 2013-09-02 20:19:53 UTC
In latest gnome-shell git, attempting to activate screen recording only prints this error message:

(gnome-shell:3214441): Gjs-WARNING **: JS ERROR: TypeError: Shell.Recorder is not a constructor
  ScreencastService<._ensureRecorderForSender@/usr/share/gnome-shell/js/ui/screencast.js:56
  wrapper@/usr/share/gjs-1.0/lang.js:213
  ScreencastService<.ScreencastAsync@/usr/share/gnome-shell/js/ui/screencast.js:110
  wrapper@/usr/share/gjs-1.0/lang.js:213
  _handleMethodCall@/usr/share/gjs-1.0/overrides/Gio.js:315
  @/usr/share/gjs-1.0/overrides/Gio.js:346

gnome-shell 3.9.90.r126.g938628a
Comment 1 Giovanni Campagna 2013-09-02 20:21:25 UTC
The shell recorder is optional, was it enabled at build time?

(We should probably catch this better, still...)
Comment 2 Mantas Mikulėnas (grawity) 2013-09-02 20:31:44 UTC
It should have been; I build gnome-shell the same way, and it just stopped working very recently. (And I don't see a ./configure option for it either...)

(Anyway, checked config.log, and it says it found GStreamer, and has
  BUILD_RECORDER_TRUE=''
  BUILD_RECORDER_FALSE='#'
which ./configure only writes when it's set to "true". libgnome-shell itself is linked to libgstreamer and libgstbase; gnome-control-center also has lists the recorder keyboard shortcut.)
Comment 3 Florian Müllner 2013-09-03 00:55:10 UTC
Created attachment 253912 [details] [review]
build: Fix building introspection for ShellRecorder

This is a regression from commit 21a85832b3f, which resulted in
shell-recorder.[ch] not being included in gir generation.
Comment 4 Giovanni Campagna 2013-09-03 11:27:00 UTC
Review of attachment 253912 [details] [review]:

Looks good
Comment 5 Florian Müllner 2013-09-03 11:54:03 UTC
Attachment 253912 [details] pushed as 56179d8 - build: Fix building introspection for ShellRecorder
Comment 6 Matthias Clasen 2013-09-05 00:13:06 UTC
*** Bug 705786 has been marked as a duplicate of this bug. ***