[Bug 7114] Quicken 2006 fails on startup when it tries to open wrong data file

Wine Bugs wine-bugs at winehq.org
Fri Apr 27 06:18:05 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=7114





------- Additional Comments From focht at gmx.net  2007-27-04 06:18 -------
Hello,

the error message with missing file name part is nice .. sloppy devs :)
It's due to GetShortPathNameA() with a path containing a symlink failing.

WINEDEBUG=+file

--- snip ---
...
trace:file:GetShortPathNameA "c:\\windows\\profiles\\focht\\My Documents\\test7.QDB"
trace:file:GetShortPathNameW L"c:\\windows\\profiles\\focht\\My
Documents\\test7.QDB"
trace:file:FindFirstFileExW L"c:\\windows\\profiles\\focht\\My Documents" 0
0x349474 0 (nil) 0
trace:file:RtlDosPathNameToNtPathName_U (L"c:\\windows\\profiles\\focht\\My
Documents",0x348be4,0x348bec,(nil))
trace:file:RtlGetFullPathName_U (L"c:\\windows\\profiles\\focht\\My Documents"
520 0x348934 0x348bec)
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\profiles\\focht\\" ->
"/home/focht/.wine/dosdevices/c:/windows/profiles/focht/"
trace:file:NtQueryDirectoryFile (0x234 (nil) (nil) (nil) 0x348bd4 0x33f51b0
0x00002000 0x00000003 0x00000000 L"My Documents" 0x00000001
trace:file:read_directory_stat trying optimisation for file L"My Documents"
trace:file:append_entry long L"My Documents" short L"MY_D~D41" mask L"My Documents"
trace:file:match_filename (L"My Documents", L"My Documents")
trace:file:read_directory_stat returning 0
trace:file:NtQueryDirectoryFile => 0 (120)
trace:file:FindNextFileW 0x33f5170 0x349474
trace:file:wine_nt_to_unix_file_name L"\\??\\C:\\windows\\profiles\\focht\\My
Documents" -> "/home/focht/.wine/dosdevices/c:/windows/profiles/focht/My Documents"
warn:file:check_dir_symlink suppressing dir symlink
L"\\??\\C:\\windows\\profiles\\focht\\My Documents" pointing to parent "/home/focht"
trace:file:NtQueryDirectoryFile (0x234 (nil) (nil) (nil) 0x348b34 0x33f51b0
0x00002000 0x00000003 0x00000000 L"My Documents" 0x00000000
trace:file:read_directory_stat trying optimisation for file L"My Documents"
trace:file:read_directory_stat returning 0
trace:file:NtQueryDirectoryFile => 80000006 (0)
trace:file:FindFirstFileExW L"c:\\windows\\profiles\\focht\\My Documents" not found
trace:file:GetShortPathNameW not found!
...
--- snip ---

"warn:file:check_dir_symlink suppressing dir symlink" is the culprit.

To temporarily work around this, use the standard path without symlink.
E.g. if your "My Documents" directory symmlinks to "/home/<username", browse to
"/home/<username>" and create/open the file there.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list