← Back to team overview

openlp-core team mailing list archive

[Bug 661965] Re: Preview/Going Live of video fails in build 1093

 

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

-- 
Preview/Going Live of video fails in build 1093
https://bugs.launchpad.net/bugs/661965
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.

Status in OpenLP - Worship Presentation Software: Fix Released

Bug description:
When previewing video on Ubuntu 10.10, I get this error 

Traceback (most recent call last):
  File "/home/wesley/Projects/openlp/trunk/openlp/core/lib/mediamanageritem.py", line 448, in onPreviewClick
    self.parent.previewController.addServiceItem(service_item)
  File "/home/wesley/Projects/openlp/trunk/openlp/core/ui/slidecontroller.py", line 510, in addServiceItem
    self._processItem(item, slideno)
  File "/home/wesley/Projects/openlp/trunk/openlp/core/ui/slidecontroller.py", line 588, in _processItem
    label.setPixmap(QtGui.QPixmap.fromImage(frame[u'image']))
TypeError: QPixmap.fromImage(QImage, Qt.ImageConversionFlags flags=Qt.AutoColor): argument 1 has unexpected type 'unicode'

When going live with video I get this:


Traceback (most recent call last):
  File "/home/wesley/Projects/openlp/trunk/openlp/core/ui/servicemanager.py", line 953, in makeLive
    self.serviceItems[item][u'service_item'], count)
  File "/home/wesley/Projects/openlp/trunk/openlp/core/ui/slidecontroller.py", line 531, in addServiceManagerItem
    self._processItem(item, slideno)
  File "/home/wesley/Projects/openlp/trunk/openlp/core/ui/slidecontroller.py", line 588, in _processItem
    label.setPixmap(QtGui.QPixmap.fromImage(frame[u'image']))
TypeError: QPixmap.fromImage(QImage, Qt.ImageConversionFlags flags=Qt.AutoColor): argument 1 has unexpected type 'unicode'

I also get the same errors on a n Arch LInux setup.





References