openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #27298
[Bug 1491998] Re: Playing file with unicode chars in filename with VLC on windows causes traceback
** Branch linked: lp:~tomasgroth/openlp/bugfixes24
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1491998
Title:
Playing file with unicode chars in filename with VLC on windows causes
traceback
Status in OpenLP:
In Progress
Bug description:
First reported on the forum: http://forums.openlp.org/discussion/2715/unicode-causes-crash
Confirmed on windows 8.1.
The traceback:
Traceback (most recent call last):
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\lib\mediamanageritem.py", line 490, in on_preview_click
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 779, in add_service_item
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 896, in _process_item
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 1359, in on_media_start
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\media\mediacontroller.py", line 395, in video
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\media\mediacontroller.py", line 533, in _check_file_type
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\media\vlcplayer.py", line 199, in load
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\media\vendor\vlc.py", line 1536, in media_new_path
File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\media\vendor\vlc.py", line 63, in str_to_bytes
UnicodeEncodeError: 'mbcs' codec can't encode characters in position 0--1: invalid character
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1491998/+subscriptions
References