openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #16975
[Bug 1046587] [NEW] ASCII characters in default service name cause error
Public bug reported:
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)
** Affects: openlp
Importance: Undecided
Status: New
** Tags: service unicode
** Tags added: service
** Tags added: unicode
--
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:
ASCII characters in default service name cause error
Status in OpenLP - Worship Presentation Software:
New
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
Follow ups
-
[Bug 1046587] Re: Non-ASCII characters in default service name cause error
From: Tim Bentley, 2012-09-15
-
[Bug 1046587] Re: Non-ASCII characters in default service name cause error
From: matysek, 2012-09-15
-
[Bug 1046587] Re: Non-ASCII characters in default service name cause error
From: matysek, 2012-09-14
-
Re: [Bug 1046587] Re: Non-ASCII characters in default service name cause error
From: Raoul Snyman, 2012-09-14
-
[Bug 1046587] Re: Non-ASCII characters in default service name cause error
From: Erik Lundin, 2012-09-13
-
[Bug 1046587] Re: Non-ASCII characters in default service name cause error
From: matysek, 2012-09-13
-
[Bug 1046587] Re: Non-ASCII characters in default service name cause error
From: matysek, 2012-09-13
-
[Bug 1046587] Re: Non-ASCII characters in default service name cause error
From: Erik Lundin, 2012-09-05
-
[Bug 1046587] Re: ASCII characters in default service name cause error
From: Raoul Snyman, 2012-09-05
-
[Bug 1046587] [NEW] ASCII characters in default service name cause error
From: Erik Lundin, 2012-09-05
References