App crashes when copy-pasting groupped clips. Python exception in logs
steps to reproduce: 0. run pitivi from console
- create new project
- add some video file to the timeline
- split clip somehow
- group result clips
- copy selected group
- paste group
- observe many AttributeError and OverflowError in console logs
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 1435, in _start_changed_cb
self.update_position()
File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 1320, in update_position
layer.move(self, x, y)
OverflowError: 9384734533021 not in range -2147483648 to 2147483647
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/undo/undo.py", line 158, in started
yield
File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 2112, in __paste_clips_cb
self.timeline.selection.select(pasted_group.children)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 162, in select
self.set_selection(objs, SELECT)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 119, in set_selection
obj.selected.selected = selected
AttributeError: 'Group' object has no attribute 'selected'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 1435, in _start_changed_cb
self.update_position()
File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 1320, in update_position
layer.move(self, x, y)
OverflowError: 9384734533021 not in range -2147483648 to 2147483647
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/undo/undo.py", line 158, in started
yield
File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 2112, in __paste_clips_cb
self.timeline.selection.select(pasted_group.children)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 162, in select
self.set_selection(objs, SELECT)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 119, in set_selection
obj.selected.selected = selected
AttributeError: 'Group' object has no attribute 'selected'
... (the same exception repeated many times) ...
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 1476, in _child_removed_cb
self.update_position()
File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 1320, in update_position
layer.move(self, x, y)
OverflowError: 9384734533004 not in range -2147483648 to 2147483647
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/undo/undo.py", line 158, in started
yield
File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 2112, in __paste_clips_cb
self.timeline.selection.select(pasted_group.children)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 162, in select
self.set_selection(objs, SELECT)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 119, in set_selection
obj.selected.selected = selected
AttributeError: 'Group' object has no attribute 'selected'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 1476, in _child_removed_cb
self.update_position()
File "/usr/lib/pitivi/python/pitivi/timeline/elements.py", line 1320, in update_position
layer.move(self, x, y)
OverflowError: 9384734533038 not in range -2147483648 to 2147483647
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/undo/undo.py", line 158, in started
yield
File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 2112, in __paste_clips_cb
self.timeline.selection.select(pasted_group.children)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 162, in select
self.set_selection(objs, SELECT)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 119, in set_selection
obj.selected.selected = selected
AttributeError: 'Group' object has no attribute 'selected'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 524, in _duration_changed_cb
self.layout.update_width()
File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 303, in update_width
self.layers_vbox.props.width_request = width
OverflowError: 9384734534312 not in range -2147483648 to 2147483647
/usr/lib/pitivi/python/pitivi/project.py:1785: Warning: value "-121551010417303469" of type 'gint64' is invalid or out of range for property 'duration' of type 'gint64'
GES.Timeline.commit(self.ges_timeline)
sys:1: Warning: value "-121550988783970141" of type 'gint64' is invalid or out of range for property 'duration' of type 'gint64'
/usr/lib/pitivi/python/pitivi/project.py:1785: Warning: value "-121550988783970141" of type 'gint64' is invalid or out of range for property 'duration' of type 'gint64'
GES.Timeline.commit(self.ges_timeline)
Traceback (most recent call last):
File "/usr/lib/pitivi/python/pitivi/timeline/timeline.py", line 2112, in __paste_clips_cb
self.timeline.selection.select(pasted_group.children)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 162, in select
self.set_selection(objs, SELECT)
File "/usr/lib/pitivi/python/pitivi/utils/timeline.py", line 119, in set_selection
obj.selected.selected = selected
AttributeError: 'Group' object has no attribute 'selected'
ERROR 22:52:55 pipeline pitivi+utils+pipeline+pipeline0 _handle_error_message: error from <__gi__.NleComposition object at 0x7f7d35163400 (NleComposition at 0x5609d9fc2310)>: gst-stream-error-quark: The NleComposition structure is not valid (1) (../gstreamer/subprojects/gst-editing-services/plugins/nle/nlecomposition.c(2928): _relink_children_recursively (): /pitivi+utils+pipeline+Pipeline:pitivi+utils+pipeline+pipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/NleComposition:video_nlecomposition0:
Operation <mixing-operation> has no child objects to be connected to current toplevel seek: seek event: 0x5609dadb4ae0, time 99:99:99.999999999, seq-num 5028, GstEventSeek, rate=(double)1, format=(GstFormat)time, flags=(GstSeekFlags)GST_SEEK_FLAG_FLUSH+GST_SEEK_FLAG_ACCURATE, cur-type=(GstSeekType)set, cur=(gint64)21366666663, stop-type=(GstSeekType)set, stop=(gint64)21366666663, trickmode-interval=(guint64)0;) (../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:487)
ERROR 22:52:55 pipeline pitivi+utils+pipeline+pipeline0 _recover: Resetting pipeline because error detected during playback. Try 1 (../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:473)
/usr/lib/pitivi/python/pitivi/utils/pipeline.py:580: Warning: value "-121550988783970141" of type 'gint64' is invalid or out of range for property 'duration' of type 'gint64'
return GES.Pipeline.do_change_state(self, state)
/usr/lib/pitivi/python/pitivi/utils/pipeline.py:580: Warning: value "-121551010417303469" of type 'gint64' is invalid or out of range for property 'duration' of type 'gint64'
return GES.Pipeline.do_change_state(self, state)
ERROR 22:53:00 pipeline pitivi+utils+pipeline+pipeline0 _async_done_not_received_cb: Async operation timed out after 5 seconds, aborting: set_simple_state: <enum GST_STATE_PAUSED of type Gst.State> (../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:301)
ERROR 22:53:00 pipeline pitivi+utils+pipeline+pipeline0 _recover: Resetting pipeline because error detected during playback. Try 2 (../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:473)
ERROR 22:53:05 pipeline pitivi+utils+pipeline+pipeline0 _async_done_not_received_cb: Async operation timed out after 5 seconds, aborting: set_simple_state: <enum GST_STATE_PAUSED of type Gst.State> (../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:301)
ERROR 22:53:05 pipeline pitivi+utils+pipeline+pipeline0 _recover: Resetting pipeline because error detected during playback. Try 3 (../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:473)
ERROR 22:53:10 pipeline pitivi+utils+pipeline+pipeline0 _async_done_not_received_cb: Async operation timed out after 5 seconds, aborting: set_simple_state: <enum GST_STATE_PAUSED of type Gst.State> (../../../usr/lib/pitivi/python/pitivi/utils/pipeline.py:301)