← Back to team overview

openlp-core team mailing list archive

[Bug 790303] [NEW] IndexError for empty service manager

 

Public bug reported:

Ubuntu 11.04
OpenLP v1.9.5

I was trying to add a service to the live view, but I didn't have any
services (I had since saved one or two to files).  So of course an
IndexError would be natural to get.  If it means anything, I had a song
in the preview (And Can it Be) and a Scripture in the live view (Gen.
13:1)

EDIT: Actually, it's a lot simpler to get than that.  One only needs to
click on the "preview" icon in the service manager pane when there are
no services in it to get the error.  The traceback is the same.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openlp/core/ui/servicemanager.py", line 1083, in makeLive
    if self.serviceItems[item][u'service_item'].is_valid:
IndexError: list index out of range

** Affects: openlp
     Importance: Undecided
         Status: New

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

Title:
  IndexError for empty service manager

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  Ubuntu 11.04
  OpenLP v1.9.5

  I was trying to add a service to the live view, but I didn't have any
  services (I had since saved one or two to files).  So of course an
  IndexError would be natural to get.  If it means anything, I had a
  song in the preview (And Can it Be) and a Scripture in the live view
  (Gen. 13:1)

  EDIT: Actually, it's a lot simpler to get than that.  One only needs
  to click on the "preview" icon in the service manager pane when there
  are no services in it to get the error.  The traceback is the same.

  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openlp/core/ui/servicemanager.py", line 1083, in makeLive
      if self.serviceItems[item][u'service_item'].is_valid:
  IndexError: list index out of range


Follow ups

References