Media items cause issues throughout OpenLP

Bug #1791532 reported by Simon Hanna
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenLP
Fix Committed
Critical
Tim Bentley

Bug Description

This is all happening in trunk...

When sending a media item to either of the controllers, a traceback is shown:

Traceback (most recent call last):
  File "/home/sim/dev/openlp/trunk/openlp/core/lib/mediamanageritem.py", line 493, in on_preview_click
    self.preview_controller.add_service_item(service_item)
  File "/home/sim/dev/openlp/trunk/openlp/core/ui/slidecontroller.py", line 807, in add_service_item
    self._process_item(item, slide_no)
  File "/home/sim/dev/openlp/trunk/openlp/core/ui/slidecontroller.py", line 920, in _process_item
    self.preview_widget.replace_service_item(self.service_item, width, slide_no)
  File "/home/sim/dev/openlp/trunk/openlp/core/widgets/views.py", line 197, in replace_service_item
    pixmap = QtGui.QPixmap(frame['image'])
TypeError: QPixmap(): argument 1 has unexpected type 'QIcon'

I applied a one-line fix by adding the HasThumbnails capability to the media items, but that only produced another error. My fix might be wrong, or more changes need to be made...

Tim Bentley (trb143)
Changed in openlp:
assignee: nobody → Tim Bentley (trb143)
status: New → Confirmed
importance: Undecided → Critical
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.9.1
status: Confirmed → Fix Committed
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.