Forums

corrupted paths resulting in program crashing

Auteur Réponses
landroni Samedi 20 Mai 2017 à 18:11
landroniAnonymous

I am posting this here as, while it pertains to Microsoft Office 2007, it seems to be more of a generic issue in POL. I'm using 4.2.2 on Ubuntu 14.04.

The problem is that for some reason the installation for Office 2007 has the paths all mixed up. The Office 2007 was installed in user 'geek', and I managed to run it successfully (one or more time, don't recall). But for some reason currently the path for this installation points to user 'liv', which exists but contains no POL installation.

Naturally things end up in an error when I try to open Excel 2007 (running as 'geek'):
Microsoft Excel 2007: line 8: cd: /home/liv/.PlayOnLinux//wineprefix/Office2007/drive_c/./Program Files/Microsoft Office/Office12: No such file or directory
mkdir: cannot create directory ‘/home/liv/.PlayOnLinux//wineprefix/Office2007’: Permission denied
touch: cannot touch ‘/home/liv/.PlayOnLinux//wineprefix/Office2007/playonlinux.log’: No such file or directory
[POL_Wine] Message: Running wine- EXCEL.EXE (Working directory : /home/geek/.PlayOnLinux/shortcuts)
/usr/share/playonlinux/lib/debug.lib: line 220: /home/liv/.PlayOnLinux//wineprefix/Office2007/playonlinux.log: No such file or directory
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html
tee: /home/liv/.PlayOnLinux//wineprefix/Office2007/playonlinux.log: No such file or directory
tee: /home/liv/.PlayOnLinux//wineprefix/Office2007/playonlinux.log: No such file or directory
wine: '/home/liv/.PlayOnLinux//wineprefix' is not owned by you, refusing to create a configuration directory there
[POL_Wine] Message: Wine return: 1
[POL_SetupWindow_Init] Message: Creating new window for pid 8449
[main] Error: Microsoft Excel 2007 crashed.

I cannot even configure the Wine installation for this program:
[POL_SetupWindow_Init] Message: Creating new window for pid 8664
mkdir: cannot create directory ‘/home/liv/.PlayOnLinux/wineprefix/Office2007’: Permission denied
[POL_SetupWindow_Close] Message: Closing window for pid 8664
touch: cannot touch ‘/home/liv/.PlayOnLinux/wineprefix/Office2007/playonlinux.log’: No such file or directory
[POL_Wine] Message: Running wine- winecfg (Working directory : /usr/share/playonlinux/python)
/usr/share/playonlinux/lib/debug.lib: line 220: /home/liv/.PlayOnLinux/wineprefix/Office2007/playonlinux.log: No such file or directory
[POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html
tee: /home/liv/.PlayOnLinux/wineprefix/Office2007/playonlinux.log: No such file or directory
wine: '/home/liv/.PlayOnLinux/wineprefix' is not owned by you, refusing to create a configuration directory there
tee: /home/liv/.PlayOnLinux/wineprefix/Office2007/playonlinux.log: No such file or directory
[POL_Wine] Error: Wine seems to have crashed

As you can see, the installation is in 'geek', not 'liv':
root@liv-inspiron:/home/geek# ls -l /home/liv/.PlayOnLinux/wineprefix/
total 4
drwxrwxr-x 2 liv liv 4096 Nov 4 2016 default
root@liv-inspiron:/home/geek# ls -l /home/geek/.PlayOnLinux/wineprefix/
total 20
drwxrwxr-x 2 geek geek 4096 Apr 23 2014 default
drwxrwxr-x 4 geek geek 4096 Oct 6 2016 MozillaFirefox
drwxrwxr-x 4 geek geek 4096 May 20 17:58 Office2007
drwxrwxr-x 4 geek geek 4096 May 20 17:57 pdfxchange_viewer

This seem like a corrupted installation, for whatever reason. Any ideas how I could fix this?
landroni Samedi 20 Mai 2017 à 18:20
landroniAnonymous

One thing that I've now tried and seems to have worked was to create a `/home/liv/.PlayOnLinux/wineprefix/Office2007/` dir with appropriate permissions for user `geek`, and copy the installation from `liv` to there.

Now Excel opens up just fine. But I'm still curious how the installation could have gotten corrupted like this...

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