← Back to team overview

openshot.bugs team mailing list archive

[Bug 1568460] [NEW] I have caused traceback in OpenShot when attempting to cut

 

Public bug reported:

Hello,
I'm on Fedora with:

openshot-1.4.3-3.fc23.noarch
ffmpeg-2.8.6-1.fc23.x86_64

Not sure if that was a trigger, but I have attempted to cut tail of last
clip after I have played it (maybe it was still playing) and that red
line which shows position was after last clip.

clip.py:1163:RenderClip:AttributeError: 'NoneType' object has no
attribute 'get_width'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/openshot/windows/MainGTK.py", line 2508, in on_hsZoom_value_changed
    self.project.Render()
  File "/usr/lib/python2.7/site-packages/openshot/classes/project.py", line 221, in Render
    self.sequences[0].Render()
  File "/usr/lib/python2.7/site-packages/openshot/classes/sequences.py", line 171, in Render
    MyTrack.Render()
  File "/usr/lib/python2.7/site-packages/openshot/classes/track.py", line 94, in Render
    MyClip.Render()
  File "/usr/lib/python2.7/site-packages/openshot/classes/clip.py", line 287, in Render
    self.RenderClip()
  File "/usr/lib/python2.7/site-packages/openshot/classes/clip.py", line 1163, in RenderClip
    pixbuf_width = pixbuf.get_width()
AttributeError: 'NoneType' object has no attribute 'get_width'

Local variables in innermost frame:
theme_settings: {'track': {'padding': 6, 'visible': {'y': 27, 'x': 7}, 'speaker': {'y': 25, 'x': 28}, 'track_name_text': {'y': 7, 'x': 8, 'font': u'<span face="Sans" foreground="#393834" size="9000">%s</span>', 'w': 160}}, 'timeline': {'ruler': {'medium_tick': {'y': 23, 'h': 16}, 'large_tick': {'y': 15, 'h': 24}, 'small_tick': {'y': 29, 'h': 10}, 'y': 0, 'x': 0, 'playhead_line': {'stroke_color': 4278190335, 'line_width': 0.5, 'y': 4, 'length_offset': -2}, 'playhead': {'y': 9, 'x': 0}, 'time_text': {'y': 3, 'x': 31, 'font': u'<span face="Sans" foreground="#c8c8c8" size="7000">%02d:%02d:%02d:%03d</span>'}, 'height': 50}, 'playhead_text': {'y': 8, 'x': 24, 'font': u'<span face="Sans" foreground="#c8c8c8" size="12000">%02d:%02d:%02d:%03d</span>'}}, 'transition': {'transition_name_text': {'y': 2, 'x': 8, 'font': u'<span face="Sans" foreground="#ffffff" size="8000">%s</span>', 'font_resize': u'<span face="Sans" foreground="#ffffff" size="8000">%s|%s</span>'}, 'collapse_pixel_threshold_thumbnail': 32, 'thumbnail': {'y': 15, 'x': 8}, 'rectangle': {'stroke_color_rgba': 177, 'line_width': 1.0, 'h': 40, 'y': 20, 'fill_color_rgba': 177}, 'collapse_pixel_threshold_text': 20}, 'clip': {'clip_name_text': {'y': 6, 'x': 72, 'font': u'<span face="Sans" foreground="#393834" size="8000">%s</span>', 'font_resize': u'<span face="Sans" foreground="#393834" size="8000">%s (%s - %s)</span>', 'collapsed_x': 8}, 'effect': {'y': 18, 'x': 108}, 'visible': {'y': 20, 'x': 72}, 'speaker': {'y': 18, 'x': 90}, 'collapse_pixel_threshold': 102, 'thumbnail': {'y': 6, 'x': 6, 'w': 57, 'h': 44}, 'rectangle': {'stroke_color_rgba': 3431792895, 'line_width': 0.85}}}
imgTrack_Left: <gtk.Image object at 0x7faad7a531e0 (GtkImage at 0x561471835660)>
has_regular_images: False
imgTrack_Left_Width: 9
self: <classes.clip.clip instance at 0x7faad7af1ab8>
theme: u'fresher'
pixbuf_x: 0.0
Size_Of_Middle: -17.29444444444553
GroupClip: <goocanvas.Group object at 0x7faad7a53460 (GooCanvasGroup at 0x56146ef03160)>
imgTrack_Left_Height: 55
pixbuf: None
imgTrack_Right: <gtk.Image object at 0x7faad7a53280 (GtkImage at 0x561471835710)>
imgTrack_Middle: <gtk.Image object at 0x7faad7a53550 (GtkImage at 0x5614718355b0)>
middlePixBuf: <gtk.gdk.Pixbuf object at 0x7faad7a53690 (GdkPixbuf at 0x56146e452580)>
imgTrack_Right_Width: 12
_: <bound method project.translate of <classes.project.project instance at 0x7faad7b181b8>>
pixbuf_list: [None]
canvas_right: <goocanvas.Canvas object at 0x7faadd476500 (GooCanvas at 0x56146c6d17b0)>
has_small_images: False
item: None
y_offset: 0
x_offset: 0
y: 8
x: 21110.66666666667
pixels_per_second: 33.333333333333336
total_pixel_length: -1
root_right: <goocanvas.Group object at 0x7faad7a535f0 (GooCanvasGroup at 0x56146dd78480)>

** Affects: openshot
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenShot
Bugs, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1568460

Title:
  I have caused traceback in OpenShot when attempting to cut

Status in OpenShot Video Editor:
  New

Bug description:
  Hello,
  I'm on Fedora with:

  openshot-1.4.3-3.fc23.noarch
  ffmpeg-2.8.6-1.fc23.x86_64

  Not sure if that was a trigger, but I have attempted to cut tail of
  last clip after I have played it (maybe it was still playing) and that
  red line which shows position was after last clip.

  clip.py:1163:RenderClip:AttributeError: 'NoneType' object has no
  attribute 'get_width'

  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/openshot/windows/MainGTK.py", line 2508, in on_hsZoom_value_changed
      self.project.Render()
    File "/usr/lib/python2.7/site-packages/openshot/classes/project.py", line 221, in Render
      self.sequences[0].Render()
    File "/usr/lib/python2.7/site-packages/openshot/classes/sequences.py", line 171, in Render
      MyTrack.Render()
    File "/usr/lib/python2.7/site-packages/openshot/classes/track.py", line 94, in Render
      MyClip.Render()
    File "/usr/lib/python2.7/site-packages/openshot/classes/clip.py", line 287, in Render
      self.RenderClip()
    File "/usr/lib/python2.7/site-packages/openshot/classes/clip.py", line 1163, in RenderClip
      pixbuf_width = pixbuf.get_width()
  AttributeError: 'NoneType' object has no attribute 'get_width'

  Local variables in innermost frame:
  theme_settings: {'track': {'padding': 6, 'visible': {'y': 27, 'x': 7}, 'speaker': {'y': 25, 'x': 28}, 'track_name_text': {'y': 7, 'x': 8, 'font': u'<span face="Sans" foreground="#393834" size="9000">%s</span>', 'w': 160}}, 'timeline': {'ruler': {'medium_tick': {'y': 23, 'h': 16}, 'large_tick': {'y': 15, 'h': 24}, 'small_tick': {'y': 29, 'h': 10}, 'y': 0, 'x': 0, 'playhead_line': {'stroke_color': 4278190335, 'line_width': 0.5, 'y': 4, 'length_offset': -2}, 'playhead': {'y': 9, 'x': 0}, 'time_text': {'y': 3, 'x': 31, 'font': u'<span face="Sans" foreground="#c8c8c8" size="7000">%02d:%02d:%02d:%03d</span>'}, 'height': 50}, 'playhead_text': {'y': 8, 'x': 24, 'font': u'<span face="Sans" foreground="#c8c8c8" size="12000">%02d:%02d:%02d:%03d</span>'}}, 'transition': {'transition_name_text': {'y': 2, 'x': 8, 'font': u'<span face="Sans" foreground="#ffffff" size="8000">%s</span>', 'font_resize': u'<span face="Sans" foreground="#ffffff" size="8000">%s|%s</span>'}, 'collapse_pixel_threshold_thumbnail': 32, 'thumbnail': {'y': 15, 'x': 8}, 'rectangle': {'stroke_color_rgba': 177, 'line_width': 1.0, 'h': 40, 'y': 20, 'fill_color_rgba': 177}, 'collapse_pixel_threshold_text': 20}, 'clip': {'clip_name_text': {'y': 6, 'x': 72, 'font': u'<span face="Sans" foreground="#393834" size="8000">%s</span>', 'font_resize': u'<span face="Sans" foreground="#393834" size="8000">%s (%s - %s)</span>', 'collapsed_x': 8}, 'effect': {'y': 18, 'x': 108}, 'visible': {'y': 20, 'x': 72}, 'speaker': {'y': 18, 'x': 90}, 'collapse_pixel_threshold': 102, 'thumbnail': {'y': 6, 'x': 6, 'w': 57, 'h': 44}, 'rectangle': {'stroke_color_rgba': 3431792895, 'line_width': 0.85}}}
  imgTrack_Left: <gtk.Image object at 0x7faad7a531e0 (GtkImage at 0x561471835660)>
  has_regular_images: False
  imgTrack_Left_Width: 9
  self: <classes.clip.clip instance at 0x7faad7af1ab8>
  theme: u'fresher'
  pixbuf_x: 0.0
  Size_Of_Middle: -17.29444444444553
  GroupClip: <goocanvas.Group object at 0x7faad7a53460 (GooCanvasGroup at 0x56146ef03160)>
  imgTrack_Left_Height: 55
  pixbuf: None
  imgTrack_Right: <gtk.Image object at 0x7faad7a53280 (GtkImage at 0x561471835710)>
  imgTrack_Middle: <gtk.Image object at 0x7faad7a53550 (GtkImage at 0x5614718355b0)>
  middlePixBuf: <gtk.gdk.Pixbuf object at 0x7faad7a53690 (GdkPixbuf at 0x56146e452580)>
  imgTrack_Right_Width: 12
  _: <bound method project.translate of <classes.project.project instance at 0x7faad7b181b8>>
  pixbuf_list: [None]
  canvas_right: <goocanvas.Canvas object at 0x7faadd476500 (GooCanvas at 0x56146c6d17b0)>
  has_small_images: False
  item: None
  y_offset: 0
  x_offset: 0
  y: 8
  x: 21110.66666666667
  pixels_per_second: 33.333333333333336
  total_pixel_length: -1
  root_right: <goocanvas.Group object at 0x7faad7a535f0 (GooCanvasGroup at 0x56146dd78480)>

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1568460/+subscriptions