OVH Cloud OVH Cloud

Wine ne marche pas

3 réponses
Avatar
Clément Plantier
Bonsoir,

Quand je lance une appli avec wine, peu importe laquelle, j'obtiens le
message suivant :

------------------------------------------------------------------------
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible. Warning: could not find DOS drive for current working
directory '/home/clement/.wine/fake_windows', starting in the Windows
directory. wine: cannot open (null)
Wine failed with return code 1
------------------------------------------------------------------------

Ou de manière plus détaillée en mode debug... (l'appli lancée est Setup.exe)

------------------------------------------------------------------------
warn:file:wine_nt_to_unix_file_name L"windows" not found in /home/clement/.wine/dosdevices/c:
warn:ntdll:NtQueryFullAttributesFile L"\\??\\C:\\windows" not found (c0000034)
Warning: the specified Windows directory L"c:\\windows" is not accessible.
warn:file:wine_nt_to_unix_file_name L"windows\\system32" not found in /home/clement/.wine/dosdevices/c:
warn:ntdll:NtQueryFullAttributesFile L"\\??\\C:\\windows\\system32" not found (c000003a)
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/home/clement/.wine/fake_windows', starting in the Windows directory.
warn:file:wine_nt_to_unix_file_name L"windows" not found in /home/clement/.wine/dosdevices/c:
warn:ntdll:NtCreateFile L"\\??\\C:\\windows" not found (c0000034)
warn:file:wine_nt_to_unix_file_name L"windows\\system32\\Setup.exe" not found in /home/clement/.wine/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"windows\\system\\Setup.exe" not found in /home/clement/.wine/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"windows\\Setup.exe" not found in /home/clement/.wine/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"windows\\system32\\Setup.exe" not found in /home/clement/.wine/dosdevices/c:
warn:ntdll:NtCreateFile L"\\??\\C:\\windows\\system32\\Setup.exe" not found (c000003a)
warn:file:CreateFileW Unable to create file L"c:\\windows\\system32\\Setup.exe" (status c000003a)
wine: cannot open (null)
Wine failed with return code 1
------------------------------------------------------------------------

Mon wine est a priori bien configuré, j'utilise winesetup, je crée un
fake_windows, rien de bien spécial. J'ai déjà utilisé wine auparavant
sur d'autres distros, sans trop de problèmes, mais là je sèche...

Ci dessous la config complète, pour les motivés, mais je ne pense pas
que ce soit dedans qu'il faille chercher.

------------------------------------------------------------------------
WINE REGISTRY Version 2
[Drive C]
"Path" = "/home/clement/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/clement/.wine/fake_windows"
"Filesystem" = "win95"

[Drive X]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"

[Drive Y]
"Path" = "%HOME%"
"Type" = "network"
"Label" = "Home"
"Filesystem" = "win95"

[Drive Z]
"Path" = "/"
"Type" = "hd"
"Label" = "Root"
"Filesystem" = "win95"

[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Profile" = ""
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;X:\\test;Y:\\"
"GraphicsDriver" = "x11drv"
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

"SymbolTableFile" = "wine.sym"

# [wineconf]

[Version]
"Windows" = "winxp"
[DllOverrides]
"oleaut32" = "builtin, native"
"ole32" = "builtin, native"
"commdlg" = "builtin, native"
"comdlg32" = "builtin, native"
"shell" = "builtin, native"
"shell32" = "builtin, native"
"shfolder" = "builtin, native"
"shlwapi" = "builtin, native"
"shdocvw" = "builtin, native"
"advapi32" = "builtin, native"
"msvcrt" = "native, builtin"
"mciavi.drv" = "native, builtin"
"mcianim.drv" = "native, builtin"
"msi" = "native, builtin"
"*" = "builtin, native"

[x11drv]
"PrivateColorMap" = "N"
"PerfectGraphics" = "N"
;;"ScreenDepth" = "16"
;;"Display" = ":0.0"
"TextCP" = "0"
;; "XVideoPort" = "43"
;;"Synchronous" = "Y"
"Managed" = "Y"
"Desktop" = "N"
"DesktopDoubleBuffered" = "Y"
"UseDGA" = "Y"
"UseXShm" = "N"
"DXGrab" = "N"
"AllocSystemColors" = "100"
[fonts]
;Read the Fonts topic in the Wine User Guide before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

; the TrueType font dirs you want to make accessible to wine

[FontDirs]
;"dir1" = "/usr/X11R6/lib/X11/fonts/TrueType"
;"dir2" = "/usr/share/fonts/truetype"
;"dir3" = "/usr/X11R6/lib/X11/fonts/TT"
;"dir4" = "/usr/share/fonts/TT"

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"

[parallelports]
"Lpt1" = "/dev/lp0"

[ppdev]
;; key: io-base of the emulated port
;; value : parport-device{,timeout}
;; timeout for auto closing an open device ( not yet implemented)
;"378" = "/dev/parport0"
;"278" = "/dev/parport1"
;"3bc" = "/dev/parport2"

[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
;"write" = "0x779,0x379,0x280-0x2a0"

[Debug]
;"RelayExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"RelayInclude" = "user32.CreateWindowA"
;"RelayFromExclude" = "user32;x11drv"
;"RelayFromInclude" = "sol.exe"
;"SnoopExclude" = "RtlEnterCriticalSection;RtlLeaveCriticalSection"
;"SpyExclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Where to find the global registries
;"GlobalRegistryDir" = "/etc";
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
;; this has *nothing* to do with the windows version Wine returns:
;; set the "Windows" value in the [Version] section if you want that.
"WineLook" = "Win98"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files

[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[WinMM]
; Uncomment the "Drivers" line matching your sound setting.

"Drivers" = "wineoss.drv" ; default for most common configurations
;"Drivers" = "winearts.drv" ; for KDE
;"Drivers" = "winealsa.drv" ; for ALSA users
;"Drivers" = "winejack.drv" ; for Jack sound server
;"Drivers" = "winenas.drv" ; for NAS sound system
;"Drivers" = "wineaudioio.drv" ; for Solaris machines
;"Drivers" = "" ; to disable sound
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

[dsound]
;; HEL only: Number of waveOut fragments ahead to mix in new buffers.
;"HELmargin" = "5"
;; HEL only: Number of waveOut fragments ahead to queue to driver.
;"HELqueue" = "5"
;; Max number of fragments to prebuffer
;"SndQueueMax" = "28"
;; Min number of fragments to prebuffer
;"SndQueueMin" = "12"
;; Forces emulation mode (using wave api)
;"HardwareAcceleration" = "Emulation"
;; Sets default playback device (0 - number of devices - 1)
;"DefaultPlayback" = "0" ; use first device (/dev/dsp)
;"DefaultPlayback" = "1" ; use second device (/dev/dsp1)
;"DefaultPlayback" = "2" ; use third device (/dev/dsp2)
;; Sets default capture device (0 - number of devices - 1)
;"DefaultCapture" = "0" ; use first device (/dev/dsp)
;"DefaultCapture" = "1" ; use second device (/dev/dsp1)
;"DefaultCapture" = "2" ; use third device (/dev/dsp2)

[Network]
;; Use the DNS (Unix) host name always as NetBIOS "ComputerName" (boolean, default "Y").
;; Set to N if you need a persistent NetBIOS ComputerName that possibly differs
;; from the Unix host name. You'll need to set ComputerName in
;; HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ComputerName\ComputerName, too.
;"UseDnsComputerName" = "N"

#########################################
# Application dependent sections follow #
#########################################

[AppDefaults\\_INS5576._MP\\x11drv]
; Lotus Notes R5 installer
; I'm quite not sure this will run on some other machine than mine, but it
; can't hurt
"Managed" = "N"
"Desktop" = "N"

[AppDefaults\\nlnotes.exe\\x11drv]
"Desktop" = "800x600"

[AppDefaults\\explorer.exe\\x11drv]
"Desktop" = "800x600"

[AppDefaults\\notes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nlnotes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nhldaemn.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"
------------------------------------------------------------------------

--
Clément Plantier


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

3 réponses

Avatar
Gaëtan PERRIER
Le Tue, 18 Oct 2005 23:18:51 +0200
Clément Plantier a écrit:

Bonsoir,

Quand je lance une appli avec wine, peu importe laquelle, j'obtiens
le message suivant :

------------------------------------------------------------------------
Warning: the specified Windows directory L"c:windows" is not
accessible. Warning: the specified System directory L"c:windows
system32" is not accessible. Warning: could not find DOS drive for
current working directory '/home/clement/.wine/fake_windows',
starting in the Windows directory. wine: cannot open (null)
Wine failed with return code 1
------------------------------------------------------------------------





Salut,

L'avant dernière version, celle du 30/08 était bugguée. Celle du
30/09 fonctionne. Laquelle as-tu?

Gaëtan
Avatar
Clément Plantier
Le Wed, 19 Oct 2005 00:00:20 +0200, Gaëtan PERRIER a écrit :

Salut,

L'avant dernière version, celle du 30/08 était bugguée. Celle du
30/09 fonctionne. Laquelle as-tu?

Gaëtan



30/09, je suis toujours à jour.
Merci quand même...

--
Clément Plantier


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Clément Plantier
Ok, ça marche un petit peu mieux maintenant, mais bon, quand je lance mon
programme d'installation, au moment de choisir de repertoire destination,
il me repond "Le nom du dossier est invalide", même si je met un truc
tout simple du style c:a. J'obtiens un max de messages en mode debug,
tels que :

warn:file:wine_nt_to_unix_file_name L"user32.dll" not found in /home/clement/.wi ne/dosdevices/c:/Windows/is-D1J0O.tmp
warn:file:wine_nt_to_unix_file_name L"user32.dll" not found in /home/clement/.wi ne/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"??C:windowssystem32user32.dll" - > "/home/clement/.wine/dosdevices/c:/Windows/System32/user32.dll" required a cas e-insensitive search
warn:file:wine_nt_to_unix_file_name L"gdi32.dll" not found in /home/clement/.win e/dosdevices/c:/Windows/is-D1J0O.tmp
warn:file:wine_nt_to_unix_file_name L"gdi32.dll" not found in /home/clement/.win e/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"??C:windowssystem32gdi32.dll" -> "/home/clement/.wine/dosdevices/c:/Windows/System32/gdi32.dll" required a case- insensitive search
warn:file:wine_nt_to_unix_file_name L"kernel32.dll" not found in /home/clement/. wine/dosdevices/c:/Windows/is-D1J0O.tmp
warn:file:wine_nt_to_unix_file_name L"kernel32.dll" not found in /home/clement/. wine/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"??C:windowssystem32kernel32.dll" -> "/home/clement/.wine/dosdevices/c:/Windows/System32/kernel32.dll" required a case-insensitive search
warn:file:wine_nt_to_unix_file_name L"kernel32.dll" not found in /home/clement/. wine/dosdevices/c:/Windows/is-D1J0O.tmp
warn:file:wine_nt_to_unix_file_name L"kernel32.dll" not found in /home/clement/. wine/dosdevices/c:
warn:file:wine_nt_to_unix_file_name L"??C:windowssystem32kernel32.dll" -> "/home/clement/.wine/dosdevices/c:/Windows/System32/kernel32.dll" required a case-insensitive search
warn:file:wine_nt_to_unix_file_name L"??C:windowswin.ini" -> "/home/clem ent/.wine/dosdevices/c:/Windows/win.ini" required a case-insensitive search
warn:file:wine_nt_to_unix_file_name L"??C:windowswin.ini" -> "/home/clem ent/.wine/dosdevices/c:/Windows/win.ini" required a case-insensitive search
warn:file:wine_nt_to_unix_file_name L"??C:windowswin.ini" -> "/home/clem ent/.wine/dosdevices/c:/Windows/win.ini" required a case-insensitive search
warn:file:wine_nt_to_unix_file_name L"??C:windowswin.ini" -> "/home/clem ent/.wine/dosdevices/c:/Windows/win.ini" required a case-insensitive search
warn:file:wine_nt_to_unix_file_name L"??C:windowswin.ini" -> "/home/clem ent/.wine/dosdevices/c:/Windows/win.ini" required a case-insensitive search

Une idée ?

From: Jean-Damien Durand
To:
CC: Clément Plantier
Subject: Re: Wine ne marche pas
Date: Wed, 19 Oct 2005 09:38:33 +0200

C.f http://www.winehq.com/docs/wine-user.html#CONFIG-DRIVE-SECTIONS

Donc par example:

mkdir -p ~/.wine/dosdevices
cd ~/.wine/dosdevices
ln -s ~/.wine/fake_windows c:
ln -s /mnt/floppy a:
ln -s /dev/fd0 a::
ln -s /dev/ttyS0 com1
ln -s /dev/lp0 lpt1

Le prog que tu veux lancer doit etre dans un des directoires cites dans
~/.wine/dosdevices;

wine /tmp/prog.exe ne marchera pas, au lieu de ca faire:

mv /tmp/prog.exe ~/.wine/fake_windows/Temp
wine ~/.wine/fake_windows/Temp/prog.exe

A+, JD.

On Wednesday 19 October 2005 00:09, Clément Plantier wrote:
CP > Le Wed, 19 Oct 2005 00:00:20 +0200, Gaëtan PERRIER a écrit :
CP >
CP > > Salut,
CP > >
CP > > L'avant dernière version, celle du 30/08 était bugguée. Celle du
CP > > 30/09 fonctionne. Laquelle as-tu?
CP > >
CP > > Gaëtan
CP >
CP > 30/09, je suis toujours à jour.
CP > Merci quand même...
CP >
CP > --
CP > Clément Plantier
CP >
CP >

--
Jean-Damien Durand CERN/IT/ADC/CA - Geneva, Switzerland
PGP PUBLIC KEY: http://home.cern.ch/~jdurand/public_key.asc
This mail is signed using CERN CA, please use my PGP key otherwise
CERN CA root certificate: http://cern.ch/service-grid-ca/crt/root_crt.html




--
Clément Plantier


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact