Microsoft Office 2010 #1076 on Scripts
Test
Added by linux87 on 2012-07-11 11:12:27 - Comment or update this ticket
Statut:
Fixed
Priority:
Low
Assigned to:
Last update:
2012-07-27 18:05:29
Description, steps to reproduce:
Hi everyone, the name of my document have space in it, such as "hello world.docx", so that I cannot open with microsoft word 2010, the error dialog so that "hello", "world.docx" file not found. Could you give any recommend or suggestion, please? I install office 2010 with playonlinux. (I can open with file doesn't contain space in its name).
History
Update by petch on 2012-07-11 13:34:52
What version of PlayOnLinux?
Update by Hìr0 on 2012-07-24 20:15:33
It is really a bore the fact that I have to registered to be able to leave a comment. Any guest should be able to do that.
Anyway if I remeber well this is an old bug and still have low priority. Some year ago I gave up with PlayOnLinux just for this problem. It is a stupid bug fix but still exists and for those users that don't give a shit game but would like to use POL for other purposes it is annoying waiting release and release and see that this bug is still there.
However I don't want to seems polemical (I'm aware everything is done for passion and for free) but I would like that the developers will pay attention also at these "stupid" defects that sometimes make the entire project unusable.
For linux87 the workaround is easy (1day work for a newbie like me:-D):
you should modify the last line in all the files Microsoft contained in .PlayOnLinux/shortcuts
from:
POL_Wine X.EXE $@
to:
POL_Wine X.EXE "$@"
Hope it will solve your problem.
Hìr0
Update by Hìr0 on 2012-07-24 20:42:50
while mainwindow.py crashes if the file name contains special fonts like à
Update by Hìr0 on 2012-07-24 20:44:07
I'm using 4.1.3
Update by Quentin PÂRIS on 2012-07-24 23:14:50
@ hiro
1 - Registration is compulsery to prevent people from spamming our bug tracker (and sometimes, we really think that we should discourage more people when we see reports)
2 - The quote problem has been fixed for a while (lib/scripts.lib, line 317)
echo "POL_Wine \"$Binaire\" $SpecialArg \"\$@\"" >> "$REPERTOIRE/shortcuts/$NOMICONE_"
. However, shortcuts made with a previous version can't be fixed automatically.
3 - For the special characters, we are trying to fix them as we can, but it's really a pain with python. If PlayOnLinux crashes, report a full bug (new ticket) with the exact steps to reproduce it. If we are able to reproduce a bug easily, you can be sure that it will be fixed on the week
4 - If you have problems,
report bugs. Don't expect them to be fixed if you don't report anything
Update by petch on 2012-07-24 23:57:35
@Tinou: there's an issue with the arguments editor, that later remove those quotes.
Example of shortcut just after creation:
Terminal output:
$ cat ~/.PlayOnLinux/shortcuts/The\ Witcher\ 2:\ Assassins\ of\ Kings\ EE
#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export WINEPREFIX="/home/petchema/.PlayOnLinux//wineprefix/TheWitcher2_gog"
export WINEDEBUG="-all"
#POL_Log=The Witcher 2 Enhanced Edition (GoG release)
cd "/home/petchema/.PlayOnLinux//wineprefix/TheWitcher2_gog/drive_c/./Program Files/GOG.com/The Witcher 2 Enhanced Edition/bin"
POL_Wine "witcher2.exe" "$@"
After opening the Configure window on this shortcut, changing nothing manually:
Terminal output:
$ cat ~/.PlayOnLinux/shortcuts/The\ Witcher\ 2:\ Assassins\ of\ Kings\ EE
#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export WINEPREFIX="/home/petchema/.PlayOnLinux//wineprefix/TheWitcher2_gog"
export WINEDEBUG="-all"
#POL_Log=The Witcher 2 Enhanced Edition (GoG release)
cd "/home/petchema/.PlayOnLinux//wineprefix/TheWitcher2_gog/drive_c/./Program Files/GOG.com/The Witcher 2 Enhanced Edition/bin"
POL_Wine witcher2.exe $@
Update by Hìr0 on 2012-07-25 09:54:19
Dear Petch and Quentin,
Thanks for your reply (for the special character I will open another ticket). The version i'm using has already the bug fixed in script.lib. I'm using the ppa so I have the latest version.
The problem, as reported by petch is when configure menu is open.
I have modified the line 404 in playonlinux.py in python/lib as follow:
from:
new_string = new_string+" $@"
to:
new_string = new_string+' "$@"'
Seems to work fine but please let me know if this fix may cause some other problem.
Update by Quentin PÂRIS on 2012-07-27 18:00:55
Fix comitted. Thank you
Update by Quentin PÂRIS on 2012-07-27 18:04:26
Update by Quentin PÂRIS on 2012-07-27 18:05:29