← Back to team overview

openlp-core team mailing list archive

[Bug 694148] Re: importing theme produces errors

 

Trying to duplicate this problem, I found another problem. Not sure if it is related or not. Same system.
Right click theme, rename it, image of theme is gone and background is black. Edit black theme and put image back in, and it asks to name it even though I chose that named theme to edit. 

Before I tested, I exported the theme. When I imported it again,
background was black. The jpg did not export and is not in the export
file.

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

Title:
  importing theme produces errors

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  OpenLP 1.9.3 build bzr1163
Importing new themes produces the following error

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 378, in onImportTheme
    self.unzipTheme(file, self.path)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 516, in unzipTheme
    self.generateAndSaveImage(dir, themename, theme)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 699, in generateAndSaveImage
    frame = self.generateImage(theme)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 721, in generateImage
    return self.parent.renderManager.generate_preview(themeData, forcePage)
  File "/usr/lib/pymodules/python2.6/openlp/core/lib/rendermanager.py", line 217, in generate_preview
    self.image_manager.del_image(self.theme_data.theme_name)
AttributeError: 'NoneType' object has no attribute 'theme_name'

This Theme did import before. also and this may be related in trying to rename an installed theme, that produce an error also as follows

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 157, in contextMenu
    self.onRenameTheme()
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 236, in onRenameTheme
    self.cloneThemeData(oldThemeData, newThemeName)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 264, in cloneThemeData
    self.saveTheme(themeData, saveFrom, saveTo)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 665, in saveTheme
    self.generateAndSaveImage(self.path, name, theme)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 699, in generateAndSaveImage
    frame = self.generateImage(theme)
  File "/usr/lib/pymodules/python2.6/openlp/core/ui/thememanager.py", line 721, in generateImage
    return self.parent.renderManager.generate_preview(themeData, forcePage)
  File "/usr/lib/pymodules/python2.6/openlp/core/lib/rendermanager.py", line 217, in generate_preview
    self.image_manager.del_image(self.theme_data.theme_name)
AttributeError: 'NoneType' object has no attribute 'theme_name'





References