Traceback when playing media with no players available/enabled

Bug #1422761 reported by Tomas Groth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Tomas Groth

Bug Description

Found in OpenLP 2.1.2 build bzr2497, and reported in the support tracker.

When media is in the mediamanager, but no players is available (webkit isn't available on windows, VLC not installed and phonon not enabled), and media is played, this traceback pops up:

Traceback (most recent call last):
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\lib\mediamanageritem.py", line 464, in on_double_clicked
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\lib\mediamanageritem.py", line 489, in on_preview_click
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 58, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 54, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\ui\slidecontroller.py", line 779, in add_service_item
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\ui\slidecontroller.py", line 892, in _process_item
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 58, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 54, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\ui\slidecontroller.py", line 1342, in on_media_start
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 58, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\common\openlpmixin.py", line 54, in wrapped
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\ui\media\mediacontroller.py", line 395, in video
  File "D:\OpenLP_Development\OpenLP_Code\openlp\openlp\core\ui\media\mediacontroller.py", line 523, in _check_file_type
KeyError: ''

Related branches

Tomas Groth (tomasgroth)
Changed in openlp:
assignee: nobody → Tomas Groth (tomasgroth)
status: New → In Progress
Phill (phill-ridout)
Changed in openlp:
importance: Undecided → Medium
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.1.3
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.