Not adding an image to a new theme causes a traceback

Bug #1051971 reported by John Cegalis
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Raoul Snyman

Bug Description

RC 3 This happens in Win7 and Kubuntu.

Create a new theme and choose "Image" from Background type. Do not add an image and proceed through the next steps to the end. When you click finish this traceback comes up. Expected result would be a notification that an image has not been selected either at the very end or when the person clicks the Next button leaving the image selection page.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openlp/core/ui/themeform.py", line 627, in accept
    self.thememanager.saveTheme(self.theme, saveFrom, saveTo)
  File "/usr/lib/pymodules/python2.7/openlp/core/ui/thememanager.py", line 675, in saveTheme
    ImageSource.Theme, QtGui.QColor(theme.background_border_color))
  File "/usr/lib/pymodules/python2.7/openlp/core/lib/imagemanager.py", line 225, in updateImageBorder
    image = self._cache[(path, source)]
KeyError: (u'', 2)

Related branches

Changed in openlp:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Raoul Snyman (raoul-snyman)
milestone: none → 2.0
Revision history for this message
Phill (phill-ridout) wrote :

Same bug as #1039221

Changed in openlp:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.