← Back to team overview

openlp-core team mailing list archive

[Bug 598415] [NEW] Image item with no image in service manager possible

 

Public bug reported:

Hello!

1) Add a few images to the service manager.
2) Send the item live by double clicking it.
2) Click "Maintain Item" and delete all images.
3) Click "Save"

Now the image item consists of no image at all, which is odd. Of course
you can add other images to the item (but does that really makes
sense?).

When I double click the item in the service manager my command line throws the following errors:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/servicemanager.py", line 851, in makeLive
    self.serviceItems[item][u'service_item'], count)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/slidecontroller.py", line 511, in addServiceManagerItem
    self.onSlideSelected()
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/slidecontroller.py", line 772, in onSlideSelected
    frame = self.serviceItem.get_rendered_frame(row)
  File "/usr/lib/pymodules/python2.6/openlp/core/lib/serviceitem.py", line 374, in get_rendered_frame
    return {u'main':self._raw_frames[row][u'image'], u'trans':None}
IndexError: list index out of range

Debug Log: http://www.pastebin.org/357885

Cheers

** Affects: openlp
     Importance: Undecided
         Status: New


** Tags: images manager service

-- 
Image item with no image in service manager possible
https://bugs.launchpad.net/bugs/598415
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.

Status in OpenLP - Worship Presentation Software: New

Bug description:
Hello!

1) Add a few images to the service manager.
2) Send the item live by double clicking it.
2) Click "Maintain Item" and delete all images.
3) Click "Save"

Now the image item consists of no image at all, which is odd. Of course you can add other images to the item (but does that really makes sense?).

When I double click the item in the service manager my command line throws the following errors:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/servicemanager.py", line 851, in makeLive
    self.serviceItems[item][u'service_item'], count)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/slidecontroller.py", line 511, in addServiceManagerItem
    self.onSlideSelected()
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/slidecontroller.py", line 772, in onSlideSelected
    frame = self.serviceItem.get_rendered_frame(row)
  File "/usr/lib/pymodules/python2.6/openlp/core/lib/serviceitem.py", line 374, in get_rendered_frame
    return {u'main':self._raw_frames[row][u'image'], u'trans':None}
IndexError: list index out of range

Debug Log: http://www.pastebin.org/357885

Cheers





Follow ups

References