http://bugs.winehq.org/show_bug.cgi?id=34851
Bug #: 34851 Summary: 64-bit Autodesk Fusion 360 installer needs kernel32 GetFinalPathNameByHandleA/W Product: Wine Version: 1.7.5 Platform: x86-64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
as the summary says... An appdb user mentioned this here: http://appdb.winehq.org/objectManager.php?sClass=version&iId=29272
Direct link to bootstrapper downloader location here (to work around browser OS/platform check):
https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Cl...
Prerequisite: 64-bit WINEPREFIX and Winver set to "Windows 7"
Download/installation is almost done when an error dialog is shown, stating: "GetFinalPathNameByHandle not available on this platform"
Log file content, mentioned in error dialog:
--- snip --- ... 2013-11-03 20:29:50,805 - adsk.dls.streamer.process - ERROR :: Exception during processing: Traceback (most recent call last): File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\process.py", line 935, in execute File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\process.py", line 910, in _execute_base_impl File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\process.py", line 771, in _config_app File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\process.py", line 463, in _executetasks File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\utils.py", line 564, in activate_configurations File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\process.py", line 1063, in activate_configurations File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\manifests.py", line 383, in walk File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\manifests.py", line 405, in _walk File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\process.py", line 1058, in _visit_file File "W:\SRC\Neutron\Installer\Streamer\src\adsk\dls\streamer\windows\platform.py", line 685, in activate_configuration File "F:\P4\Neutron\3P\PYTHON\3.3_slim_a\WIN64\lib\shutil.py", line 221, in copy File "F:\P4\Neutron\3P\PYTHON\3.3_slim_a\WIN64\lib\shutil.py", line 92, in copyfile File "F:\P4\Neutron\3P\PYTHON\3.3_slim_a\WIN64\lib\shutil.py", line 77, in _samefile File "C:\PROJECTS\Neutron3rd\PYTHON\3.3_slim_a\WIN64\lib\ntpath.py", line 661, in samefile NotImplementedError: GetFinalPathNameByHandle not available on this platform
------------------------------------------------------------------------------- 2013-11-03 20:29:50,807 - adsk.dls.streamer.process - WARNING :: Error detected, removing incomplete packages 2013-11-03 20:29:51,770 - adsk.dls.streamer.utils - WARNING :: Could not remove non-existant file: c:\users\focht\local settings\application data\autodesk\webdeploy\production\201fd6e278bda5ff82a09daf7e42854420d9b4bc\fusion 360.server.config 2013-11-03 20:29:55,568 - adsk.dls.streamer.registry - INFO :: Shutting down database connection --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364962%28v=vs.85%2...
$ sha1sum Fusion\ 360\ Client\ Downloader.exe 3621396240db11f87a1263c4593a7b760308a2d9 Fusion 360 Client Downloader.exe
$ du -sh Fusion\ 360\ Client\ Downloader.exe 5.4M Fusion 360 Client Downloader.exe
$ wine --version wine-1.7.5-251-gbcf4ded
Regards
http://bugs.winehq.org/show_bug.cgi?id=34851
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, win64 URL| |https://dl.appstreaming.aut | |odesk.com/production/instal | |lers/Fusion%20360%20Client% | |20Downloader.exe
http://bugs.winehq.org/show_bug.cgi?id=34851
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
http://bugs.winehq.org/show_bug.cgi?id=34851
--- Comment #1 from Anastasius Focht focht@gmx.net 2013-11-03 14:03:09 CST --- Hello folks,
Python 3.3 code calling this:
https://github.com/certik/python-3.3/blob/master/Lib/ntpath.py#L643
CPython implementation and usage:
http://hg.python.org/cpython/file/1feeeb8992f8/Modules/posixmodule.c#l3862
Regards
http://bugs.winehq.org/show_bug.cgi?id=34851
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2013-11-03 14:12:15 CST --- The way Python uses it looks a bit dirty, first buffer size is queried with VOLUME_NAME_NT and later path is retrieved with VOLUME_NAME_DOS. So it allocates too much and relies on later variant be shorter. Or..they workaround some API details.
https://bugs.winehq.org/show_bug.cgi?id=34851
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matyapiro31@gmail.com
--- Comment #3 from Anastasius Focht focht@gmx.net --- *** Bug 36073 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34851
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|64-bit Autodesk Fusion 360 |Multiple applications need |installer needs kernel32 |kernel32 |GetFinalPathNameByHandleA/W |GetFinalPathNameByHandleA/W | |(64-bit Autodesk Fusion | |360, Microsoft OneDrive)
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
obviously still present.
https://github.com/wine-compholio/wine-staging/tree/master/patches/kernel32-...
$ wine --version wine-1.7.35-73-g6eb4966
Regards
https://bugs.winehq.org/show_bug.cgi?id=34851
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=34851
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
obviously still present as of Wine 1.7.44
Regards
https://bugs.winehq.org/show_bug.cgi?id=34851
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/kernel32-GetFi | |nalPathNameByHandle
https://bugs.winehq.org/show_bug.cgi?id=34851
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Hi, Michael.
Are you still working on this? Patch is dated one year back.
There's one thing that I don't like - the way -A call is forwarded to -W one, clean way would be to get back required W buffer length, then get a string, try to convert to A and see if it fits. According to docs input length does not include terminating NULL, and return value doesn't too, yet there's this check "if (result < charcount)", so strict equality will not fill out A buffer.
https://bugs.winehq.org/show_bug.cgi?id=34851
rogutes@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rogutes@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34851
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #7 from Andrew Eikum aeikum@codeweavers.com --- Created attachment 53887 --> https://bugs.winehq.org/attachment.cgi?id=53887 kernel32: Implement GetFinalPathNameByHandle.
Here's a diff based on Michael's work that I think addresses all of Nikolay's feedback. I'd really like to see this function implemented upstream.
https://bugs.winehq.org/show_bug.cgi?id=34851
--- Comment #8 from Andrew Eikum aeikum@codeweavers.com --- Anyone had a chance to review this patch?
https://bugs.winehq.org/show_bug.cgi?id=34851
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- I only looked at a part I mentioned in comment 6 and it seems to be fixed.
https://bugs.winehq.org/show_bug.cgi?id=34851
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6e12aba9c7f0fef8d2b1b7202ad | |778c399e6e862 Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- Fixed with http://source.winehq.org/git/wine.git/?a=commit;h=6e12aba9c7f0fef8d2b1b7202a....
https://bugs.winehq.org/show_bug.cgi?id=34851
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.8.
https://bugs.winehq.org/show_bug.cgi?id=34851
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=34851
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #12 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.3.
https://bugs.winehq.org/show_bug.cgi?id=34851
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |banjoraine@gmail.com
--- Comment #13 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 42252 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34851
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |orwel01@gmail.com
--- Comment #14 from Anastasius Focht focht@gmx.net --- *** Bug 44541 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=34851
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://dl.appstreaming.aut |https://web.archive.org/web |odesk.com/production/instal |/20151121010901/https://dl. |lers/Fusion%20360%20Client% |appstreaming.autodesk.com/p |20Downloader.exe |roduction/installers/Fusion | |%20360%20Client%20Downloade | |r.exe