← Back to team overview

openlp-core team mailing list archive

[Bug 1422761] Re: Traceback when playing media with no players available/enabled

 

** Changed in: openlp
    Milestone: None => 2.1.3

** Changed in: openlp
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1422761

Title:
  Traceback when playing media with no players available/enabled

Status in OpenLP - Worship Presentation Software:
  Fix Committed

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: ''

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


References