Fora

Lista tematów

wrong path, programs cannot start Nowy  - Odpowiedz
Autor Odpowiedzi
Anubis Data: Piątek 25 Styczeń 2008 ŕ 19:04 - [Cytuj]
Ranga: Membre

Membre
anubis@linux-pc:~> /usr/share/playonlinux/playonlinux --run "Notepad++"

PlayOnLinux v2.0
----------------
Checking python : [ Ok ]
Notepad++: line 4: cd: /home/anubis/.PlayOnLinux/wineprefix/NotepadPlusPlus//drive_c/Program Files/Notepad++: No such file or directory
wine: could not load L"c:\\windows\\system32\
otepad++.exe": Module not found


that's normal because the path is NOT

/home/anubis/.PlayOnLinux/wineprefix/NotepadPlusPlus//drive_c/Program Files/Notepad++

but

/home/anubis/.PlayOnLinux/wineprefix/NotepadPlusPlus/drive_c/Programmi/Notepad++

anubis@linux-pc:~/.PlayOnLinux/wineprefix/NotepadPlusPlus/drive_c> ls
Programmi windows
anubis@linux-pc:~/.PlayOnLinux/wineprefix/NotepadPlusPlus/drive_c> cd Programmi
anubis@linux-pc:~/.PlayOnLinux/wineprefix/NotepadPlusPlus/drive_c/Programmi> ls
Common Files Internet Explorer Notepad++
anubis@linux-pc:~/.PlayOnLinux/wineprefix/NotepadPlusPlus/drive_c/Programmi> cd Notepad++
anubis@linux-pc:~/.PlayOnLinux/wineprefix/NotepadPlusPlus/drive_c/Programmi/Notepad++> ls
change.log langs.xml nativeLang.xml plugins SciLexer.dll uninstall.exe
config.xml license.txt notepad++.exe QuickText.ini shortcuts.xml
contextMenu.xml LINEDRAW.TTF nppcm.dll readme.txt stylers.xml

Edytowane przez Anubis

Tinou Data: Piątek 25 Styczeń 2008 ŕ 19:25 - [Cytuj]
Ranga: Admin

Admin
What version of wine are you using ?

(You are not in the right section)
Anubis Data: Sobota 26 Styczeń 2008 ŕ 13:20 - [Cytuj]
Ranga: Membre

Membre
why wrong section... it looks like a bug or not?

anyway.... 0.9.53
goku Data: Sobota 26 Styczeń 2008 ŕ 13:43 - [Cytuj]
Ranga: Membre

Membre
I think you have to edit the script launching notepad++ ( $HOME/.PlayOnLinux/configurations/installed/Notepad++ )


You have just to change the direction of the directory opened
cd "/home/user/.PlayOnLinux/wineprefix/NotepadPlusPlus//drive_c/Program Files/Notepad++"

become:
cd "/home/user/.PlayOnLinux/wineprefix/NotepadPlusPlus//drive_c/Programmi/Notepad++"

Windows de Microsoft.
Mac de Apple.
Linux du monde entier.
Tinou Data: Sobota 26 Styczeń 2008 ŕ 14:34 - [Cytuj]
Ranga: Admin

Admin
I think it is because you have an Italien version of wine. In french or in english, it is "Program Files"
Anubis Data: Sobota 26 Styczeń 2008 ŕ 19:29 - [Cytuj]
Ranga: Membre

Membre

Citation de goku:

I think you have to edit the script launching notepad++ ( $HOME/.PlayOnLinux/configurations/installed/Notepad++ )


You have just to change the direction of the directory opened
cd "/home/user/.PlayOnLinux/wineprefix/NotepadPlusPlus//drive_c/Program Files/Notepad++"

become:
cd "/home/user/.PlayOnLinux/wineprefix/NotepadPlusPlus//drive_c/Programmi/Notepad++"


infact..works
hasi Data: Sobota 26 Styczeń 2008 ŕ 22:27 - [Cytuj]
Ranga: Membre

Membre
By the way, why are there two slashes between "NotepadPlusPlus" and "drive_c"?
gnud Data: Piątek 1 Luty 2008 ŕ 5:40 - [Cytuj]
Ranga: Membre

Membre
I have this same problem, because Wine respects my systems locale settings and playonlinux does not. This prevents the launcher from working, and also breaks some install scripts.

PlayOnLinux really needs a way to specify paths like "Program Files" and "Application Data" (on my computer, the names are "Programfiler" and "Fellesfiler".

I suggest that you scrape the system.reg file in a shell file that gets .source'd by all install scripts:
PROGRAMFILES="drive_c$(grep -e \"ProgramFiles\" system.reg|tr -d \"|tr = /|cut -d/ -f2 -|cut -d: -f2)"

This will give a relative path like "drive_c\\Program Files"






juancarlospaco Data: Czwartek 22 Maj 2008 ŕ 23:05 - [Cytuj]
Ranga: Membre

Membre
Hi, im from Argentina, sorry for my english...

i have the same problem installing M$ Office 2003 Spanish Version,
POL keep searching " Program Files " but the CD install it in " Archivos de Programa ".

A Script could correct this problems...? sounds easy.
thanks for all...
GNU_Raziel Data: Piątek 23 Maj 2008 ŕ 8:45 - [Cytuj]
Ranga: Scripteur

Scripteur
we will work on a solution as soon as possible, stay tuned

Linux a un noyau, Windows a un pépin.

Si Microsoft inventait quelque chose qui ne plante pas, ca serait le clou.

http://gnuraziel.labrute.fr - Deviens mon élève petit scarabé
meloves Data: Sobota 24 Maj 2008 ŕ 20:12 - [Cytuj]
Ranga: Membre

Membre
It should be marked as SOLVED.
juancarlospaco Data: Sobota 24 Maj 2008 ŕ 21:07 - [Cytuj]
Ranga: Membre

Membre
Thanks a lot, this is REAL support.
VeauX Data: Środa 9 Lipiec 2008 ŕ 6:46 - [Cytuj]
Ranga: Membre

Membre
Same issue here. I have a spanish version of openSuse. programs install themselves in the ARCHIVOS DE PROGRAMA directory and the scrip calls PROGRAM FILES

Play on linux version 3.something .. sorry the about button don't work
OpenSuse 11 x86_64
wine 1.1.0
game Diablo 2 installed yesterday.(game works changing directory names)
meloves Data: Środa 9 Lipiec 2008 ŕ 21:23 - [Cytuj]
Ranga: Membre

Membre
I second that: "I think you have to edit the script launching notepad++ ( $HOME/.PlayOnLinux/configurations/installed/Notepad++ ) "

VeauX, you should try the same thing.

Go to $HOME/.PlayOnLinux/configurations/installed/ folder and edit your scripts (i.e. change Program files to Archivos de programa).

SOLVED
Any questions, PM me.
VeauX Data: Czwartek 10 Lipiec 2008 ŕ 1:20 - [Cytuj]
Ranga: Membre

Membre
No issue I did that and it worked like a charm. Just mentioning this as a bug because it should simply not happen... doing it each time I install somehting new is not the solution of that bug, just a countermeasure. The root cause is not solved.
Tinou Data: Niedziela 14 Grudzień 2008 ŕ 16:20 - [Cytuj]
Ranga: Admin

Admin
Since PlayOnLinux 3.1, this problem is solved.
Nowy  - Odpowiedz
Il n'y a rien à voir ici