http://bugs.winehq.org/show_bug.cgi?id=13326
Summary: the cannot manipulate linux path with spaces in the directory name. Product: Wine Version: 1.0-rc1 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: berg.foss@gmail.com
the cannot manipulate linux path with spaces in the directory name. the executable with space in the names works fine. see this test. I created a directory named "install " with a space at end (install\ ) and directory "test" without space. plus a renamed a executable with spaces "networkview3.60setup.exe" (/networkview\ 3.60\ setup.exe) and other without "networkview3.60.without.space.exe".
cd myloginz@stable-laptop:~$ cd install\ / myloginz@stable-laptop:~/install $ wine networkview\ 3.60\ setup.exe Warning: could not find DOS drive for current working directory '/home/myloginz/install ', starting in the Windows directory. wine: could not load L"c:\windows\system32\networkview 3.60 setup.exe": Module not found myloginz@stable-laptop:~/install $ cd .. myloginz@stable-laptop:~$ cd test/ myloginz@stable-laptop:~/test$ wine networkview3.60.without.space.exe fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 24/02/2008, dlt (d/m/y): 2/11/2008 fixme:reg:GetNativeSystemInfo (0x33fea0) using GetSystemInfo() fixme:advapi:CheckTokenMembership ((nil) 0x132198 0x33fe18) stub! err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination fixme:sfc:SfcIsFileProtected ((nil), L"C:\Arquivos de programas\NetworkView36\unins000.exe") stub fixme:shell:IPersistFile_fnGetCurFile (0x16c290) fixme:shell:IPersistFile_fnGetCurFile (0x16be70) fixme:shell:IPersistFile_fnGetCurFile (0x16c290) fixme:shell:DllCanUnloadNow stub fixme:shell:DllCanUnloadNow stub fixme:shell:DllCanUnloadNow stub fixme:shell:DllCanUnloadNow stub myloginz@stable-laptop:~/test$ cp ../install\ /networkview\ 3.60\ setup.exe . myloginz@stable-laptop:~/test$ wine networkview\ 3.60\ setup.exe fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 24/02/2008, dlt (d/m/y): 2/11/2008 fixme:reg:GetNativeSystemInfo (0x33fea0) using GetSystemInfo() fixme:advapi:CheckTokenMembership ((nil) 0x132138 0x33fe18) stub! err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination err:richedit:ReadStyleSheet ReadStyleSheet: skipping optional destination myloginz@stable-laptop:~/test$ cd .. myloginz@stable-laptop:~$ cd install\ / myloginz@stable-laptop:~/install $ cp ../test/networkview3.60.without.space.exe . myloginz@stable-laptop:~/install $ wine networkview3.60.without.space.exe Warning: could not find DOS drive for current working directory '/home/myloginz/install ', starting in the Windows directory. wine: could not load L"c:\windows\system32\networkview3.60.without.space.exe": Module not found myloginz@stable-laptop:~/install $ pwd /home/myloginz/install
"/home/myloginz/install "
http://bugs.winehq.org/show_bug.cgi?id=13326
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Austin English austinenglish@gmail.com 2008-05-20 11:01:59 --- Wine doesn't handle linux paths. Use winepath for that.
http://bugs.winehq.org/show_bug.cgi?id=13326
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |WONTFIX
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2008-05-20 11:05:32 --- (In reply to comment #1)
Wine doesn't handle linux paths. Use winepath for that.
This has nothing to do with winepath.
The real problem is that Windows doesn't support trailing spaces in filenames, so Wine doesn't either. I doubt that can be fixed. Do you really need trailing spaces?
http://bugs.winehq.org/show_bug.cgi?id=13326
berg.foss berg.foss@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |LATER
--- Comment #3 from berg.foss berg.foss@gmail.com 2008-05-22 19:09:34 --- (In reply to comment #2)
The real problem is that Windows doesn't support trailing spaces in filenames, so Wine doesn't either. I doubt that can be fixed. Do you really need trailing spaces?
:) No I dont need. these spaces were typo errors. but if the linux accept and wine will start executable at linux filesystem , IMHO , wine should be able to manipulate this problem. ( space at directory and filename )
http://bugs.winehq.org/show_bug.cgi?id=13326
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|LATER |WONTFIX
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2008-05-23 05:34:04 --- Resolution is not LATER, we won't be able to change the Windows API, now or later.
http://bugs.winehq.org/show_bug.cgi?id=13326
--- Comment #5 from berg.foss berg.foss@gmail.com 2008-05-23 21:39:03 --- (In reply to comment #4)
Resolution is not LATER, we won't be able to change the Windows API, now or later.
soory if I am understanding wrong or cannot tell you correctly but....
the space at the end is at linux file system ( ext3 accept - linux -> not Windows)
then I sugest detect this wrong sintax for a windows path and shown a message box inform this incompability and gracefully exit.
Actually it dont teach how to fix this and only abort , seems a wine's bug that block wine to run a compatible executable.
I know there is a small ( very small ) probability this exist ( space at end ) but a probability exist and IMHO could be handle
http://bugs.winehq.org/show_bug.cgi?id=13326
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2008-05-24 05:23:45 --- It is handled, you get a (reasonably clear IMO) error message. I don't think it's necessary to implement a message box for such an unlikely error.
http://bugs.winehq.org/show_bug.cgi?id=13326
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2008-09-17 08:51:41 --- Closing WONTFIX.