← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~googol/openlp/bug-1014684 into lp:openlp

 

Yes, I was not able to reproduce this error myself, but this was enough for me to guess what the problem is:

[andreas@andypc ~]$ python2
Python 2.7.3 (default, Apr 24 2012, 00:06:13) 
[GCC 4.7.0 20120414 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from tempfile import gettempdir
>>> type(gettempdir())
<type 'str'>
>>> import os
>>> os.path.join('ä', u'openlp')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/posixpath.py", line 71, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
>>> os.path.join(u'ä', u'openlp')
u'\xe4/openlp'
>>> 
-- 
https://code.launchpad.net/~googol/openlp/bug-1014684/+merge/110862
Your team OpenLP Core is subscribed to branch lp:openlp.


References