Exception when playing a mpg file with webkit

Bug #1431476 reported by Oliver Wieland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Low
Tomas Groth

Bug Description

Kubuntu 14.10, OpenLP r2523

1. Start OpenLP
2. Play a mpeg2 video live
3. --> Exception

Traceback (most recent call last):
  File "/home/oli/Programmierung/openlp/trunk/openlp/core/common/openlpmixin.py", line 58, in wrapped
    raise e
  File "/home/oli/Programmierung/openlp/trunk/openlp/core/common/openlpmixin.py", line 54, in wrapped
    return func(*args, **kwargs)
  File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/media/mediacontroller.py", line 202, in media_state
    self.current_media_players[source].update_ui(display)
  File "/home/oli/Programmierung/openlp/trunk/openlp/core/ui/media/webkitplayer.py", line 380, in update_ui
    controller.seek_slider.setMaximum(length)
TypeError: QAbstractSlider.setMaximum(int): argument 1 has unexpected type 'NoneType'

This doesn't happen when playing a mp4 file. Also this happens only with webkit, not with vlc.

Related branches

Revision history for this message
Tomas Groth (tomasgroth) wrote :

I can't reproduce this crash, but I attempted a fix anyway. Could you test if my branch at https://code.launchpad.net/~tomasgroth/openlp/bugfixes17 fixes the issue?

Changed in openlp:
assignee: nobody → Tomas Groth (tomasgroth)
status: New → In Progress
Revision history for this message
Oliver Wieland (oliwee) wrote :

Your branch fixed this bug for me.

Tomas Groth (tomasgroth)
Changed in openlp:
importance: Undecided → Low
milestone: none → 2.1.4
Tim Bentley (trb143)
Changed in openlp:
status: In Progress → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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