← Back to team overview

openlp-core team mailing list archive

[Bug 719102] Re: editing author after editing song causes traceback

 

this is from trunk 1309

Traceback (most recent call last):
  File "/home/john/openlp/openlp/plugins/songs/lib/mediaitem.py", line 202, in onSongListLoad
    item = self.buildServiceItem(self.editItem)
  File "/home/john/openlp/openlp/core/lib/mediamanageritem.py", line 509, in buildServiceItem
    if self.generateSlideData(serviceItem, item, xmlVersion):
  File "/home/john/openlp/openlp/plugins/songs/lib/mediaitem.py", line 335, in generateSlideData
    item_id = self._getIdOfItemToGenerate(item, self.remoteSong)
  File "/home/john/openlp/openlp/core/lib/mediamanageritem.py", line 540, in _getIdOfItemToGenerate
    item_id = (item.data(QtCore.Qt.UserRole)).toInt()[0]
RuntimeError: underlying C/C++ object has been deleted


** Description changed:

- Linux trunk 1301, windows build 1274 xp and windows 7
+ Linux trunk 1309, windows build 1274 xp and windows 7
  Right click any song and edit. You don't have to change anything and then save it, click on the edit author button up top, open an author and then save it and that is where I get the traceback.
  Jon reported this way: I tried using authors with only display names and that seems to work in reproducing.
  
  http://pastebin.com/MSecJghN

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

Title:
  editing author after editing song causes traceback

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Linux trunk 1309, windows build 1274 xp and windows 7
  Right click any song and edit. You don't have to change anything and then save it, click on the edit author button up top, open an author and then save it and that is where I get the traceback.
  Jon reported this way: I tried using authors with only display names and that seems to work in reproducing.

  http://pastebin.com/MSecJghN





References