Managing application with non-latin name

Автор Replies
fenixk19 Friday 30 April 2010 at 16:59

I've created application shortcut in POL, but POL can't manage it(run configuration, install patches, etc.) if its name contains non-latin(cyrillic in my case) letters.
fenixk19 Friday 30 April 2010 at 17:01

Here is POL output:

~> playonlinux
PlayOnLinux v3.7.3

Checking python :                     [ Ok ]
Running configuration of Метро 2033
Traceback (most recent call last):
File "/usr/share/playonlinux/python/mainwindow.py", line 371, in Configure
os.system("bash \\""+Variables.playonlinux_env+"/bash/polconfigurator\\" \\""+game_exec+"\\"&")
UnicodeEncodeError: 'ascii' codec can't encode characters in position 52-56: ordinal not in range(128)
Метро 2033

Edited by fenixk19

NSLW Friday 30 April 2010 at 17:27

That's also problem for any non-standard latin letter (e.g. Polish letters). I think that this is an task for developer of POL.
LeSnake Monday 28 March 2011 at 23:00

I had this problem too when trying to install a .pol file.
The message was
Traceback (most recent call last):
File "/usr/share/playonlinux/python/file.py", line 91, in Next
UnicodeEncodeError: 'ascii' codec can't encode character u'\\xe9' in position 14: ordinal not in range(128)

I opened the file, went to line 91, which is
, as expected.

I just changed it to

And everything ran fine.

Hope this will help.


Edited by LeSnake

Вы находитесь здесь: Index > General discussion > Managing application with non-latin name

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com