cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
1.95k stars 121 forks source link

Fusion360 Doesn't start "ShellExecuteEx failed: File not found." *solved* #181

Closed Slushee-a closed 2 years ago

Slushee-a commented 2 years ago

Installer works perfectly fine but fusion doesn't run after installation is done

Steps to reproduce:

002c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub
0034:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.
00fc:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub
003c:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub

Expected behavior I expected fusion360 to start up

Desktop (please complete the following information):

cryinkfly commented 2 years ago

Hey @Slushee-a, can you check your fusion360 folder if all files correctly available. And can you create the log file, please. (See: https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/issues/4#issuecomment-818821369)

Slushee-a commented 2 years ago

I can't find the log file. Is it supposed to be in a .wine folder in the home directory? Because I don't have that folder.

cryinkfly commented 2 years ago

@Slushee-a You must create this log file itself. ^^

Slushee-a commented 2 years ago

I did run the command to make the log file. I was just looking at the wrong place. I thought it would spit it out in .wine or something, and I didn't think about looking at the home directory.

Here are the contents of the file:

002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
wine: failed to open "C:windowscommandstart.exe": c0000135

Many thanks!

platinum95 commented 2 years ago

Having the same issue on Manjaro Linux. The installation script finishes without error, but none of the Fusion360 files have been installed in the Wine prefix.

platinum95 commented 2 years ago

Update: Got the installer to work by deleting the wine prefix, killing all Wine processes, and re-running the install script. I think an earlier attempt to manually install Fusion360 left a zombie process running that blocked the installer from running through the script.

Fusion is running smoothly now, thanks for the script! It's incredible

Slushee-a commented 2 years ago

Just booted into arch, deleted the fusion360 folder in .wineprefixes, made sure no wine process was running and then ran the script. Nothing changed. Same error.

Borillion commented 2 years ago

I also have this Issue.

[b@bbox-arch fusion360]$ pwd /var/home/b/.wineprefixes/fusion360 [b@bbox-arch fusion360]$ find . | grep -i fusion360 ./INSTALLDIR/data/fusion360 ./INSTALLDIR/data/fusion360/Fusion360installer.exe ./INSTALLDIR/fusion360-setup-wizard.sh [b@bbox-arch fusion360]$

flomine commented 2 years ago

same issue here on ubuntu 20.04

cryinkfly commented 2 years ago

Please, check the newest version of my setup wizard!

thinkfat commented 2 years ago

Similar (same?) issue on openSUSE Tumbleweed.

002c:fixme:ver:GetCurrentPackageId (000000000061FD70 0000000000000000): stub wine: could not open working directory L"unix\home\matze\.config\fusion-360\bin\", starting in the Windows directory. 0034:fixme:ver:GetCurrentPackageId (000000000061FD70 0000000000000000): stub Application could not be started, or no application associated with the specified file.

thinkfat commented 2 years ago

In my case, issue seems to be that the launcher.sh does not find a "Fusion360.exe" in the wineprefix and thus tries to launch "nothing" (i.e. calls wine ''). Something went wrong during the installation, it seems.

cryinkfly commented 2 years ago

@thinkfat If you have added your user to the "games" group?

cryinkfly commented 2 years ago

Can you create a log file with this command:

bash install.sh &> wine.error.log

The Fusion360.exe must be located here (Standard installation):

thinkfat commented 2 years ago

@thinkfat If you have added your user to the "games" group?

openSUSE Tumbleweed doesn't have such group.

thinkfat commented 2 years ago

I'll re-run the installer and provide the log file.

cryinkfly commented 2 years ago

Please open YaST and go to „ User and Group Management“ -> „ Details Tab“ -> „ Groups …“ and there you can see it what I mean. 😅

thinkfat commented 2 years ago

Please open YaST and go to „ User and Group Management“ -> „ Details Tab“ -> „ Groups …“ and there you can see it what I mean. sweat_smile

I understand, but there's really no group "games" I could add any user to. It doesn't exist. If it should exist, which GID should it have, and what is its relevance?

Slushee-a commented 2 years ago

I used the new installer. It seems to install properly, but when I try to run the ./launcher.sh it spits out this and closes. Tried both with the staging wine and with the installed one. Wine seems to be missing tons of core packages? I'm not sure why it's doing this. I can run games with wine no problem

cryinkfly commented 2 years ago

@thinkfat So it can be very useful, especially with certain rendering programs. I myself have at least the groups: audio, video and render inside.


@Slushee-a It looks like your wine is incomplete! Then the most of these errors ...

... have something to do with your problem. So please check your wine installation again.

thinkfat commented 2 years ago

I managed to get a log from the Fusion360installer process and it seems to me that there is something broken. The installation never completes, the installer always terminates while trying to unpack a certain file in the CAM360 application:

adsk.dls.streamer.process.process - WARNING :: Exception in Deploy [Errno 2] No such file or directory: '\\?\C:\Program Files\Autodesk\webdeploy\production\50d1a2b00ac928c7781cbca6551e586a5384d498\Applications\CAM360\Data\printsettings\OCM MPRINT+ SS316L 20μm.printsetting'

I've unpacked the installer itself with 7zip and looked into the content of the packages and this file is not there. It seems there's a manifest somewhere that mentions this file but it is not in the install archive and then the installer terminates. It seems down to sheer luck if it was able to actually deploy the Fusion360.exe. If you run the installer in single-threaded mode with "-o single" it never works.

alucryd commented 2 years ago

In the same boat, no matter what I try I can't get this to work on arch linux. No more luck on the lutris side either :/

thinkfat commented 2 years ago

I've made friends with FreeCAD instead. I've given up on Fusion360, this admin installer in not supported by Autodesk it seems, it is obviously broken and there are no updated.

Diazblo commented 2 years ago

Steps to reproduce

$ sudo zypper install wine
$ mkdir -p "$HOME/.config/fusion-360/bin" && cd "$HOME/.config/fusion-360/bin" && wget -N https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/bin/install.sh && chmod +x install.sh 
$ bash install.sh &>wine.error.log

wine.error.log

Launch $ bash ~/.config/fusion-360/bin/launch.sh &> launcher.log

launcher.log

Launch with yes to update prompt $ bash ~/.config/fusion-360/bin/launch.sh &> launcherUpdate.log

launcherUpdate.log

Manual run $ wine ~/.wineprefixes/fusion360/drive_c/Program Files/Autodesk/webdeploy/production/6a0c9611291d45bb9226980209917c3d/FusionLauncher.exe

wine_fusionlauncher

Desktop: CPU: Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz GPU: Mesa Intel® HD Graphics 4000 (IVB GT2) OS: openSUSE, Kernel: 5.18.1-1-default Desktop environment: GNOME 42.1

Michal-Szczepaniak commented 2 years ago

I will add my 2 cents here. I'm running opensuse Tumbleweed, i've used the script to install it, it installed just fine, then i launch it from the .desktop file and it just removes said desktop file and doesn't launch. when i run launcher manually, i have issue described in the topic

cryinkfly commented 2 years ago

A note + video has already been published: https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/releases/tag/v7.4

cryinkfly commented 2 years ago

@thinkfat

I've made friends with FreeCAD instead. I've given up on Fusion360, this admin installer in not supported by Autodesk it seems, it is obviously broken and there are no updated.

I am using the original EXE from the Autodesk website to install Fusion 360.

https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Admin%20Install.exe

The only problem is that if Wine and Winetricks aren't installed correctly on the system or Winetricks can't install all the packages because the servers might be down right now or Wintricks is to old or Autodesk has changed something in the Fusion 360 installer EXE.

sutaburosu commented 2 years ago

or Autodesk has changed something in the Fusion 360 installer EXE.

I think this may be the root of the problem. I've noticed that whilst the installer is running all the necessary files are created, but shortly before the installer finishes it deletes the files: Fusion360.exe, Fusion 360.server.config, Fusion 360.streamer.config, FusionLauncher.exe and fusion_version.txt. I've seen more promising results by grabbing a copy of those files before the installer deletes them, and copying them back into place afterwards. (I still haven't successfully launched the app, but for different reasons unrelated to this ticket)

For reference, the installer EXE I'm using was downloaded 3-days ago and has SHA256 sum: 2c2d0b1d87c479a5a301f850ec2abe87bca44c6f6dc1cf338cbb26fd849336bc Fusion360installer.exe

cryinkfly commented 2 years ago

That's why I published a workaround for it. But since last night I fixed this error in my setup wizard as well. However, it requires the yad package instead of zenity!