← Back to team overview

openlp-core team mailing list archive

[Bug 820534] Re: multiple custom slide delete causes traceback

 

I can also confirm this on Win7 1698. When you press the delete key the
confirmation dialog comes up, when you hit Yes the traceback comes up.
This Win7 computer is hooked up to a projector although the projector
was off. Here is the traceback.

Traceback (most recent call last):

  File
"D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.core.lib.mediamanageritem",
line 472, in onSelectionChange

  File
"D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.core.lib.mediamanageritem",
line 485, in onPreviewClick

  File
"D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.core.lib.mediamanageritem",
line 579, in buildServiceItem

  File
"D:\OpenLP_Code\trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.custom.lib.mediaitem",
line 236, in generateSlideData

AttributeError: 'NoneType' object has no attribute 'title'

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

Title:
  multiple custom slide delete causes traceback

Status in OpenLP - Worship Presentation Software:
  Incomplete

Bug description:
  Trunk 1699 Kubuntu

  I was deleting some Custom slides from Media Manager. I used Ctrl
  click and highlighted 3 of them and hit the delete key on the keyboard
  and got this traceback. I close the traceback  and it comes up for
  each additional delete.

  Traceback (most recent call last):
    File "/home/john/Projects/openlp/trunk/openlp/core/lib/mediamanageritem.py", line 472, in onSelectionChange
      self.onPreviewClick(True)
    File "/home/john/Projects/openlp/trunk/openlp/core/lib/mediamanageritem.py", line 485, in onPreviewClick
      serviceItem = self.buildServiceItem()
    File "/home/john/Projects/openlp/trunk/openlp/core/lib/mediamanageritem.py", line 579, in buildServiceItem
      if self.generateSlideData(serviceItem, item, xmlVersion):
    File "/home/john/Projects/openlp/trunk/openlp/plugins/custom/lib/mediaitem.py", line 236, in generateSlideData
      title = customSlide.title
  AttributeError: 'NoneType' object has no attribute 'title'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/820534/+subscriptions


References