Theme change main area font color error

Bug #686122 reported by Albert Steiner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
High
Tim Bentley

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

Related branches

Tim Bentley (trb143)
Changed in openlp:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Tim Bentley (trb143)
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
Changed in openlp:
milestone: none → 1.9.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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