← Back to team overview

openlp-core team mailing list archive

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

 

Public bug reported:

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

** Affects: openlp
     Importance: Undecided
         Status: New

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

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


Follow ups

References