← Back to team overview

openlp-core team mailing list archive

[Bug 1842523] Re: trunk V2898 adding video file to Service causes errors

 

2019-09-03 19:22:40,041 MainThread openlp.core.ui.servicemanager.ServiceManager            ERROR    Exception in add_service_item : 'QIcon' object is not subscriptable
2019-09-03 19:22:40,075 MainThread openlp.core.common.registry                             ERROR    OpenLP Error trace
   File run_openlp.py at line 87 
	 called start()
   File run_openlp.py at line 83 
	 called main()
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\app.py at line 454 
	 called sys.exit(application.run(qt_args))
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\app.py at line 145 
	 called return self.exec()
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\app.py at line 80 
	 called result = QtWidgets.QApplication.exec()
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\widgets\views.py at line 335 
	 called drag.exec(QtCore.Qt.CopyAction)
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\ui\servicemanager.py at line 1589 
	 called Registry().execute('{plugin}_add_service_item'.format(plugin=plugin), replace)
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\registry.py at line 132 
	 called trace_error_handler(log)
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\__init__.py at line 101 
	 called for tb in traceback.extract_stack():
2019-09-03 19:22:40,075 MainThread openlp.core.common.registry                             ERROR    Exception for function <bound method Plugin.process_add_service_event of <openlp.plugins.media.mediaplugin.MediaPlugin object at 0x12B2A5F0>>
Traceback (most recent call last):
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\registry.py", line 127, in execute
    result = function(*args, **kwargs)
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\lib\plugin.py", line 274, in process_add_service_event
    self.media_item.on_add_click()
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\lib\mediamanageritem.py", line 576, in on_add_click
    self.add_to_service(item, position=drop_position)
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\lib\mediamanageritem.py", line 600, in add_to_service
    self.service_manager.add_service_item(service_item, replace=replace, position=position)
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\mixins.py", line 69, in wrapped
    raise e
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\mixins.py", line 62, in wrapped
    return func(*args, **kwargs)
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\ui\servicemanager.py", line 1384, in add_service_item
    self.repaint_service_list(self.drop_position, -1)
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\mixins.py", line 69, in wrapped
    raise e
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\mixins.py", line 62, in wrapped
    return func(*args, **kwargs)
  File "C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\ui\servicemanager.py", line 1249, in repaint_service_list
    child.setText(0, text[:40])
TypeError: 'QIcon' object is not subscriptable
2019-09-03 19:22:49,444 MainThread openlp.core.ui.servicemanager.ServiceManager            DEBUG    Entering make_live
2019-09-03 19:22:49,444 MainThread openlp.core.ui.servicemanager.ServiceManager            DEBUG    Entering find_service_item

** Changed in: openlp
     Assignee: (unassigned) => Tim Bentley (trb143)

** Changed in: openlp
       Status: New => Confirmed

** Changed in: openlp
   Importance: Undecided => Critical

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

Title:
  trunk V2898 adding video file to Service causes errors

Status in OpenLP:
  Confirmed

Bug description:
  Windows 10 32 bit
  trunk V2898
  Single display with custom screen 1024x768 in OpenLP settings

  I loaded a small moving background in MPG format.  I checked and the issue with not being able to edit a song is still valid.
  The media item was shown in the Library.  I used Drag and Drop to add the media item to the middle of a service with multiple items in it.  

  Error 1
  The item was displayed in the Service....Every item in the Service below where I added the media item vanished.  

  I double clicked the slide above the media item to send it to the live
  display.  The slide was displayed as expected.  Live display enabled.

  Unexpected Behavior
  I pressed the down arrow on the keyboard and the live display vanished and returned with the video playing.

  I pressed the Esc key to end the live screen and shut down OpenLP.

  Error 2
  I was not asked to save the modified Service.  When I restarted OpenLP the media items as still there, but the Service did not show the Media item...
   
  In the terminal the following information was displayed.

  Error 3?
  [16973d88] direct3d11 vout display error: Could not Create the D3D11 device. (hr=0x80004001)
  [16973d88] direct3d11 vout display error: Direct3D11 could not be opened
  [16973d88] direct3d11 vout display error: SetThumbNailClip failed: 0x800706f4
  [mpeg2video @ 16fdabc0] get_buffer() failed
  [mpeg2video @ 16fdabc0] thread_get_buffer() failed
  [mpeg2video @ 16fdabc0] get_buffer() failed (-12 00000000)
  [16973d88] direct3d9 vout display error: SetThumbNailClip failed: 0x800706f4

  I am including the OpenLP.log file as it shows a trace dump.  The
  Error.log is blank

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


References