openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #17115
Re: [Bug 1046587] Re: Non-ASCII characters in default service name cause error
But how do you differentiate between each part? For instance, I don't
like spaces in my file names, so I always replace the space with another
hyphen.
Maybe we need to pull the individual % placeholders out and run them
through strftime?
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1046587
Title:
Non-ASCII characters in default service name cause error
Status in OpenLP - Worship Presentation Software:
Confirmed
Bug description:
When using non-ASCII characters in the default service name (for instance Swedish "Körschema"), there is an error when saving the service.
Additionally, the service name preview in the settings (where configuring the service name template) says "Syntax error" when using non-ASCII characters.
OS: Xubuntu 12.04
OpenLP: revision 2051 of branch http://bazaar.launchpad.net/~openlp-core/openlp/trunk
Traceback (most recent call last):
File "/home/erik/dator/utveckling/openlp/openlp/core/ui/servicemanager.py", line 470, in saveFile
return self.saveFileAs()
File "/home/erik/dator/utveckling/openlp/openlp/core/ui/servicemanager.py", line 624, in saveFileAs
default_filename = time.strftime(default_pattern)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 1: ordinal not in range(128)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1046587/+subscriptions
References