openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #28397
[Bug 1533280] Re: Songs with linked audio cause traceback
affects also Linux Debian Jessie 64 Bit
Traceback (most recent call last):
File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 1466, in on_make_live
self.make_live()
File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 1482, in make_live
self.live_controller.add_service_manager_item(self.service_items[item]['service_item'], child)
File "/usr/share/openlp/openlp/core/ui/slidecontroller.py", line 808, in add_service_manager_item
self._process_item(item, slide_num)
File "/usr/share/openlp/openlp/core/ui/slidecontroller.py", line 849, in _process_item
self.display.audio_player.add_to_playlist(self.service_item.background_audio)
File "/usr/share/openlp/openlp/core/ui/maindisplay.py", line 646, in add_to_playlist
self.playlist.addMedia(QtCore.QUrl(file_name))
TypeError: arguments did not match any overloaded call:
QMediaPlaylist.addMedia(QMediaContent): argument 1 has unexpected type 'QUrl'
QMediaPlaylist.addMedia(list-of-QMediaContent): argument 1 has unexpected type 'QUrl'
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1533280
Title:
Songs with linked audio cause traceback
Status in OpenLP:
New
Bug description:
Trunk revision n. 2605 / Win 64 bit python
If song has linked audio, it triggers the following
traceback instead of going live:
Traceback (most recent call last):
File "E:\bzr\openlp\trunk\openlp\core\lib\mediamanageritem.py", line 459, in on_double_clicked
self.on_live_click()
File "E:\bzr\openlp\trunk\openlp\core\lib\mediamanageritem.py", line 500, in on_live_click
self.go_live()
File "E:\bzr\openlp\trunk\openlp\core\lib\mediamanageritem.py", line 527, in go_live
self.live_controller.add_service_item(service_item)
File "E:\bzr\openlp\trunk\openlp\core\ui\slidecontroller.py", line 779, in add_service_item
self._process_item(item, slide_no)
File "E:\bzr\openlp\trunk\openlp\core\ui\slidecontroller.py", line 849, in _process_item
self.display.audio_player.add_to_playlist(self.service_item.background_audio)
File "E:\bzr\openlp\trunk\openlp\core\ui\maindisplay.py", line 646, in add_to_playlist
self.playlist.addMedia(QtCore.QUrl(file_name))
TypeError: arguments did not match any overloaded call:
QMediaPlaylist.addMedia(QMediaContent): argument 1 has unexpected type 'QUrl'
QMediaPlaylist.addMedia(list-of-QMediaContent): argument 1 has unexpected type 'QUrl'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1533280/+subscriptions
References