[Pkg-games-ubuntu] [Bug 490287] Re: programs in "Microsoft Office 2007" don't start
Aymeric PETIT
os2mule at gmail.com
Mon Sep 13 17:29:24 UTC 2010
Hi,
This is a know bug found in older release of PlayOnLinux <3.8.1.
We had started to fix this bug with POL 3.7.3, and this is fully fixed
on PlayOnLinux git and so will be fixed with the next release (3.8.2).
I recommend you to always use the last version of PlayOnLinux.
And sorry for long time before answering.
Aymeric.
** Also affects: playonlinux
Importance: Undecided
Status: New
** Changed in: playonlinux
Status: New => Fix Committed
--
programs in "Microsoft Office 2007" don't start
https://bugs.launchpad.net/bugs/490287
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to playonlinux in ubuntu.
Status in PlayOnLinux: Fix Committed
Status in “playonlinux” package in Ubuntu: New
Bug description:
Binary package hint: playonlinux
lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
apt-cache policy playonlinux
playonlinux:
Installed: 3.6-1
Candidate: 3.6-1
Version table:
*** 3.6-1 0
500 http://ftp.crihan.fr karmic/multiverse Packages
100 /var/lib/dpkg/status
I expect, when I type: playonlinux --run "Microsoft Office Word 2007"
to get a word window
Instead, I get the error message:
wine: cannot find '/WINWORD.EXE'
Idem for all the programs of the suite.
After looking at the different scripts, I found that all scripts in directory
$HOME/.PlayOnLinux/configurations/installed
are completely wrong:
How can somebody make 3 so big errors in a 8-line script, errors that
prevent the program to start:
============================================================================
cd "$HOME/.PlayOnLinux/wineprefix/Office2007/drive_c/Program Files/Microsoft Office/Office12"
docname=${1##*/}
docpath=${1%/*}
cd "$docpath"
wine "/POWERPNT.EXE" "$docname"
============================================================================
1/ the / in the wine command explains the error message
2/ After removing the /, when giving an argument in the call, the 2nd
"cd" command cancels the 1st one, which gives the error:
wine: could not load L"C:\\windows\\system32\\POWERPNT.EXE": Module not found
3/ even after correcting these 2 errors, i.e replacing the last 4 lines by just:
wine "POWERPNT.EXE" $1
it works only if the given file is in the same directory as the .EXE
to make it to work, the correct script is:
================================================================================
#!/bin/bash
PATH="$HOME/.PlayOnLinux/WineVersions/1.1.33/usr/bin/:$PATH"
export WINEPREFIX="$HOME/.PlayOnLinux/wineprefix/Office2007"
export WINEDEBUG="-all"
EXE="$HOME/.PlayOnLinux/wineprefix/Office2007/drive_c/Program Files/Microsoft Office/Office12"
wine "${EXE}/POWERPNT.EXE" $1
================================================================================
ProblemType: Bug
Architecture: i386
Date: Mon Nov 30 11:57:56 2009
DistroRelease: Ubuntu 9.10
Package: playonlinux 3.6-1
PackageArchitecture: all
ProcEnviron:
LC_TIME=fr_FR
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/ksh
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: playonlinux
Uname: Linux 2.6.31-15-generic i686
More information about the Pkg-games-ubuntu
mailing list