← Back to team overview

openlp-core team mailing list archive

[Bug 1438563] Re: Saving theme with unicode letters in the name causes traceback

 

** 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/1438563

Title:
  Saving theme with unicode letters in the name causes traceback

Status in OpenLP - Worship Presentation Software:
  Fix Released

Bug description:
  Found on windows in current trunk (2524 ~ beta3) 
  Create/copy/rename a theme, enter a name which contains special characters, eg "test 愛 theme", and this traceback occurs:

  Traceback (most recent call last):
    File "<string>", line 44, in <module>
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\__init__.py", line 377, in main
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\__init__.py", line 142, in run
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\common\registry.py", line 137, in execute
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\thememanager.py", line 144, in bootstrap_initialise
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\thememanager.py", line 448, in load_first_time_themes
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\thememanager.py", line 649, in _write_theme
  UnicodeEncodeError: 'cp950' codec can't encode character '\u8ba4' in position 74: illegal multibyte sequence

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1438563/+subscriptions


References