The forum

Problems with file associations if non-Latin letters are in filenames.

MS Word 2010 can't open files if filename contains letters of some alphabets.

Author Replies
MiAl Saturday 21 July 2012 at 9:21
MiAlAnonymous

Hi there!

My configuration

PlayOnLinux: 4.1.3 (deb)

OS: Linux Mint Mate

 

I've installed MS Office 2010. Everything is working fine. I tuned .docx-files to be opened by PlayOnLinux. If filename contains only Latin letters (for instance, file.docx) it is opened without any problems. But if filename contains letters of other alphabet (Russian and so on, for instance, «файл.docx»), then nothing happens.

Can I fix it myself? Or fix it in next versions, please.

Quentin PÂRIS Sunday 22 July 2012 at 0:01
Quentin PÂRISAnonymous

Can you run the command

playonlinux файл.docx and tell me what the terminal answers?
MiAl Sunday 22 July 2012 at 20:00
MiAlAnonymous

mial@mial-VirtualBox ~ $ playonlinux файл.docx
[main] Message: PlayOnLinux (4.1.3) is starting
[clean_tmp] Message: Cleaning temp directory
[Check_OpenGL] Message: 32bits direct rendering is enabled
[install_plugins] Message: Checking plugin: Offline PlayOnLinux...
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
[Check_OpenGL] Message: 64bits direct rendering is enabled
[install_plugins] Message: Checking plugin: Capture...
[main] Message: Filesystem is compatible
[install_plugins] Message: Checking plugin: Transgaming Cedega...
Traceback (most recent call last):
  File "mainwindow.py", line 1170, in <module>
    app = PlayOnLinuxApp(redirect=False)
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "mainwindow.py", line 1011, in OnInit
    self.MacOpenFile(f)
  File "mainwindow.py", line 1155, in MacOpenFile
    playonlinux.open_document(filename,file_extension.lower())
  File "/usr/share/playonlinux/python/lib/playonlinux.py", line 29, in open_document
    os.system("bash "+Variables.playonlinux_env+"/bash/run_app \\""+script+"\\" \\""+winpath(script,path)+"\\"&")
  File "/usr/share/playonlinux/python/lib/playonlinux.py", line 22, in winpath
    return(os.popen("env WINEPREFIX='"+os.environ["POL_USER_ROOT"]+"/wineprefix/"+pref.encode("utf-8","replace")+"/' '"+os.environ["POL_USER_ROOT"]+"/wine/"+Variables.os_name+"-"+arch+"/"+ver+"/bin/wine' winepath -w '"+path.encode("utf-8","replace")+"'").read().replace("\\n","").replace("\\r",""))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 11: ordinal not in range(128)
Exception TypeError: 'join() takes exactly 2 arguments (1 given)' in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
/usr/share/playonlinux/playonlinux: строка 89: python2.6: команда не найдена
mial@mial-VirtualBox ~ $ [install_plugins] Message: Checking plugin: WineImport...
[install_plugins] Message: Checking plugin: Wine Look...
[install_plugins] Message: Checking plugin: ScreenCap...
[install_plugins] Message: Checking plugin: PlayOnLinux Vault...
mial@mial-VirtualBox ~ $ 

MiAl Thursday 26 July 2012 at 17:47
MiAlAnonymous

Hi! It seems, that with PlayOnLinux v. 4.1.4-7 the problem has gone! Thanks for your good job!

Edited by MiAl

Marouli Wednesday 16 January 2013 at 12:57
MarouliAnonymous

Hi! It seems, that with PlayOnLinux v. 4.1.4-7 the problem has gone! Thanks for your good job!

Quote from MiAl


I have the same problem with greek letters and i'm using the latest version of playonlinux. Any ideas?
Marouli Wednesday 16 January 2013 at 13:01
MarouliAnonymous

seems i was wrong. WORKS GREAT!
the version directly from this page was in fact, more recent than the one i installed from the sofware manager of linux Mint Cinnamon.

Edited by Marouli

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 dmcayonlinux.com