openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #23657
[Bug 1154059] Re: OpenLP does not start due to mimetypes bug
I'm going to assume that this does not affect 2.2 as its py3 and unicode
as well as the linked bug affecting py2.7
** Changed in: openlp/trunk
Status: In Progress => Invalid
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1154059
Title:
OpenLP does not start due to mimetypes bug
Status in OpenLP - Worship Presentation Software:
Invalid
Status in OpenLP 2.0 series:
Fix Released
Status in OpenLP trunk series:
Invalid
Bug description:
OpenLP 2.0.1 on Windows using an alphabet other than Latin
This is caused by a bug in mimetypes in the Python library:
http://bugs.python.org/issue9291 and stops OpenLP from starting.
It happens when another program (appears to be mainly iTunes) creates
registry keys in another encoding other than Latin-1.
2013-03-11 19:19:09,450 root ERROR Traceback (most recent call last):
File "<string>", line 44, in <module>
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core", line 344, in main
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core", line 150, in run
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.mainwindow", line 588, in __init__
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.media.mediacontroller", line 60, in __init__
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.media.mediacontroller", line 125, in check_available_media_players
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.media.phononplayer", line 72, in __init__
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\mimetypes", line 355, in init
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\mimetypes", line 259, in read_windows_registry
File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\mimetypes", line 249, in enum_types
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)
None
See: http://support.openlp.org/issues/1911
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1154059/+subscriptions
References