AttributeError: 'NoneType' object has no attribute 'set_property' when starting capture

Bug #1192967 reported by jacek_grabowski
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Kazam Screencaster
New
Undecided
Unassigned

Bug Description

I read #1080636 but it seems like the bug is still occurs.

jaca@dELL:~$ kazam --version
kazam 1.4.2-0ubuntu1 'NCC-2000

jaca@dELL:~$ kazam --debug
DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: LinuxMint 14
DEBUG Kazam - Kazam version: 1.4.2-0ubuntu1 NCC-2000
DEBUG Kazam - Starting new instance ...
DEBUG Constants - Getting hardware specs
DEBUG Constants - Getting Video sources.
DEBUG Constants - Found 2 monitor(s).
DEBUG Constants - Monitor 0 - X: 0, Y: 312, W: 1366, H: 768
DEBUG Constants - Monitor 1 - X: 1366, Y: 0, W: 1920, H: 1080
DEBUG Constants - Combined screen - X: 0, Y: 0, W: 3286, H: 1080
DEBUG Prefs - XDG_PICTURES is a directory and accessible
DEBUG Main - Gstreamer version detected: 1.0.5.0
DEBUG Main - Setting variables.
DEBUG PulseAudio - Starting mainloop.
DEBUG PulseAudio - Getting API.
DEBUG PulseAudio - Setting context.
DEBUG PulseAudio - Set state callback.
DEBUG PulseAudio - Connecting to server.
DEBUG PulseAudio - Start mainloop.
DEBUG PulseAudio - State connected.
DEBUG Main - Connecting indicator signals.
DEBUG Main - Starting in silent mode: False
DEBUG Indicator - Indicatior silent: False
ERROR Kazam - Could not find any typelib for Keybinder
INFO Indicator - Unable to import Keybinder, hotkeys not available.
DEBUG Main - Main Window UI setup.
DEBUG Main - Unable to get name for '<Adjustment object at 0x2841820 (GtkAdjustment at 0x28ed940)>'

(kazam:12642): Gtk-WARNING **: Can't set a parent on widget which has a parent

(kazam:12642): Gtk-WARNING **: Can't set a parent on widget which has a parent

DEBUG Prefs - Getting Audio sources.
DEBUG PulseAudio - get_audio_sources() called.
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 0
DEBUG PulseAudio - Name: b'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
DEBUG PulseAudio - Desc: b'Monitor of Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_input.pci-0000_00_1b.0.analog-stereo'
DEBUG PulseAudio - Desc: b'Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs - Device found:
DEBUG Prefs - - 0
DEBUG Prefs - - alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG Prefs - - Monitor of Built-in Audio Analog Stereo
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG Prefs - - Built-in Audio Analog Stereo
DEBUG Main - Capture cursor: True.
DEBUG Main - Capture cursor_pic: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Start delay now: 3
DEBUG Main - Area ON.
DEBUG Window Select - Initializing select window.
DEBUG Window Select - Compositing window manager detected.
DEBUG Main - Area mode clicked.
DEBUG Window Select - Move to X: 1366 Y: 0
DEBUG Window Select - Move to X: 0 Y: 312
DEBUG Window Select - Selected coords: 326 581 897 872
DEBUG Main - Area selected: SX: 326, SY: 269, EX: 897, EY: 560
DEBUG Main - Area selected: GX: 326, GY: 581, GX: 897, GY: 872
DEBUG Window Select - Move to X: 0 Y: 312
DEBUG Main - Start recording selected.
<kazam.backend.prefs.Prefs object at 0x25e52d0>
DEBUG GStreamer - Audio_source : None
DEBUG GStreamer - Audio2_source : None
DEBUG GStreamer - Video_source: {'y': 312, 'x': 0, 'height': 768, 'width': 1366}
DEBUG GStreamer - Xid: None
DEBUG GStreamer - Area: (326, 581, 897, 872, 571, 291)
DEBUG GStreamer - Capture Cursor: True
DEBUG GStreamer - Framerate : 16.0
DEBUG GStreamer - Capturing area.
DEBUG GStreamer - Coordinates SX: 326 SY: 581 EX: 897 EY: 872
DEBUG GStreamer - testing for xid: None
Traceback (most recent call last):
  File "/usr/local/lib/python3.2/dist-packages/kazam/app.py", line 550, in cb_start_request
    self.run_counter()
  File "/usr/local/lib/python3.2/dist-packages/kazam/app.py", line 791, in run_counter
    prefs.xid if self.record_mode == MODE_WIN else None)
  File "/usr/local/lib/python3.2/dist-packages/kazam/backend/gstreamer.py", line 94, in setup_sources
    self.setup_video_source()
  File "/usr/local/lib/python3.2/dist-packages/kazam/backend/gstreamer.py", line 163, in setup_video_source
    self.videosrc.set_property("startx", startx)
AttributeError: 'NoneType' object has no attribute 'set_property'

Way to reproduce:
Run kazam like above. Select recording area.

OS: LInux Mint 14
Extra info: External monitor plug in. (2 monitors)

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Do you have the privative codecs installed?

I confirm this issue recording in "RAw Avi" mode on Ubuntu 13.10 beta.

Regards.

Revision history for this message
Scott Anderson (scott-ohava) wrote :

Receiving same error as above on version 1.4.3: (Debug Outpt attached)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.