← Back to team overview

openlp-core team mailing list archive

[Bug 686122] Re: Theme change main area font color error

 

** Changed in: openlp
       Status: Fix Committed => Fix Released

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

Title:
  Theme change main area font color error

Status in OpenLP - Worship Presentation Software:
  Fix Released

Bug description:
  Trying to change the main area font color of a theme causes the following error at finish:
Traceback (most recent call last):
File "C:\Projects\openlp\openlp\core\ui\themeform.py", line 639, in accept
if self.thememanager.saveTheme(self.theme, saveFrom, saveTo):
File "C:\Projects\openlp\openlp\core\ui\thememanager.py", line 646, in saveTheme
theme_pretty_xml = theme.extract_formatted_xml()
File "C:\Projects\openlp\openlp\core\lib\theme.py", line 419, in extract_formatted_xml
self._build_xml_from_attrs()
File "C:\Projects\openlp\openlp\core\lib\theme.py", line 580, in _build_xml_from_attrs
self.font_main_shadow_size)
File "C:\Projects\openlp\openlp\core\lib\theme.py", line 328, in add_font
self.child_element(background, u'color', color)
File "C:\Projects\openlp\openlp\core\lib\theme.py", line 398, in child_element
child.appendChild(self.theme_xml.createTextNode(value))
File "C:\python26\Lib\xml\dom\minidom.py", line 1611, in createTextNode
raise TypeError, "node contents must be a string"
TypeError: node contents must be a string


log file says
C:\Users\albert\AppData\Roaming\openlp>more openlp.log
2010-12-06 12:37:12,349 presentations.presentationplugin
ERROR    Failed to import openlp.plugins.presentations.lib.powerpointcontroller
on path C:\Projects\openlp\openlp\plugins\presentations\lib\powerpointcontroller
.py
Traceback (most recent call last):
  File "C:\Projects\openlp\openlp\plugins\presentations\presentationplugin.py",
line 125, in checkPreConditions
    __import__(modulename, globals(), locals(), [])
  File "C:\Projects\openlp\openlp\plugins\presentations\lib\powerpointcontroller
.py", line 33, in <module>
    import win32ui
  File "C:\python26\Lib\win32ui.py", line 12, in <module>
    __load()
  File "C:\python26\Lib\win32ui.py", line 10, in __load
    mod = imp.load_dynamic(__name__, path)
ImportError: DLL load failed: The specified module could not be found.

Testing on a windows 7 64bit system, still getting environment fixed.
testing a fix to import version 1 databases





References