trunk V2898 adding video file to Service causes errors

Bug #1842523 reported by Johnthan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Confirmed
Critical
Tim Bentley

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

Revision history for this message
Johnthan (johnmfl) wrote :
Revision history for this message
Johnthan (johnmfl) wrote :

I removed OpenLP from the registry, verified that when I ran OpenLP I could edit a song. Then I captured the registry to a txt file.

Revision history for this message
Johnthan (johnmfl) wrote :

I added a video file and verified i could not edit a song. I captured the registry into another text file.

The difference between the files are under Media, "Last Directory" and "Media File=..."

Removing the "Last Directory" had no affect.

Removing the "Media File=..." fixed the issue.

I had to remove openlp from the registry between removing the last directory and removing the Media file and add a video file to make sure that removing the "Media File=" fixed the issue.

Revision history for this message
Tim Bentley (trb143) wrote :

nager object at 0x12061530>> for live_display_active
2019-09-03 19:22:52,200 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\ui\slidecontroller.py at line 1076
         called self.hide_plugin(checked)
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\mixins.py at line 62
         called return func(*args, **kwargs)
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\ui\slidecontroller.py at line 1131
         called [self.service_item, self.is_live])
   File C:\Users\Kathy\Documents\Church\source\python\openlp_trunk_2898\openlp\openlp\core\common\registry.py at line 136
         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:52,205 MainThread openlp.core.common.registry ERROR Event images_unblank called but not registered

Revision history for this message
Tim Bentley (trb143) wrote :
Download full text (3.8 KiB)

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...

Read more...

Changed in openlp:
assignee: nobody → Tim Bentley (trb143)
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Johnthan (johnmfl) wrote :

Here is the service file for the date of this bug...I hope!

I know the first time this happened I did a clean run to verify the issue, no setting and no data.

I tried it with out a service and received the same error.

Since I reported this I have found that you don't even have to view the media item, just load it and you can't edit a song.

Revision history for this message
Johnthan (johnmfl) wrote :
Revision history for this message
Johnthan (johnmfl) wrote :
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.