Autodesk-Fusion-360-for-Linux
Autodesk-Fusion-360-for-Linux copied to clipboard
Fusion 360 unable to launch via terminal
Describe the bug Fusion360 cannot be launched
To Reproduce Steps to reproduce the behavior:
- Change directory to
/home/eccomi/.local/share/applications/wine/Programs/Autodesk/Fusion360/custom/fusion360.desktop
- Execute
fusion360.desktop
withgtk-launch fusion360.desktop
- Error:
gtk-launch: no such application fusion360.desktop
- Change directory to
/home/eccomi/.fusion360/bin/launcher.sh
- Execute
launcher.sh
withsh launcher.sh
- Launcher opens and fetches update
- GTK Fails to load modules, Launcher is stuck on connecting to server at 100%
- press ok
- Error:
ld.so: object '/usr/lib/libswmhack.so.0.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
- Error:
wine: invalid directory in WINEPREFIX: not an absolute path
Expected behavior fusion360 should launch
Desktop (please complete the following information):
- Version number of Autodesk Fusion 360: Online Build-Version: 2.0.13168
- Graphics card: ROG-STRIX-GTX1080TI-O11G-GAMING + Graphics card driver: Nvidia (Version number: 515.57)
- Operating system: Arch Linux x86_64 (Kernel: 5.18.11-arch1-1)
- Desktop environment: spectrwm
- DXVK- or OpenGL-Mode: Can't tell
Additional context Pastebin console output
I have since removed the GTK warnings by installing kde-gtk-config
but that wasn't a real concern to me to begin with
i read the contents of the desktop file, it looks like it executes ~/.fusion360/wineprefixes/default/box-run.sh
, which the contents are:
#!/bin/bash
WP_BOX='/home/user/.fusion360/wineprefixes/default' . /home/user/.fusion360/bin/launcher.sh
I ran it, and I didn't get your 10th step anymore, it now runs wine, but stops eventually: here are the logs, https://pastebin.com/MiYiA7G4
OS: Fedora 36 DE/WM: Gnome 42 Graphics card: GTX 1650 (nvidia 515.57)
trying to reinstall the program gives me this Error:
./install.sh: line 828: /tmp/fusion360/logs/wineprefixes.log: Not a directory
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
mv: cannot stat 'Fusion360installer.exe': No such file or directory
rmdir: failed to remove '/drive_c/users/eccomi/Downloads/Fusion360installer.exe': No such file or directory
cp: cannot create regular file '/drive_c/users/eccomi/Downloads': No such file or directory
ERROR: ld.so: object '/usr/lib/libswmhack.so.0.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: invalid directory in WINEPREFIX: not an absolute path
./install.sh: line 403: kill: (7946) - No such process
ERROR: ld.so: object '/usr/lib/libswmhack.so.0.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: invalid directory in WINEPREFIX: not an absolute path
./install.sh: line 414: kill: (8151) - No such process
It seems to me that it has something to do with wineprefixes for me...
@solarft looking at the wineprefixes
folder in ~/.fusion360/wineprefixes
reveals that it is empty for me. I am so lost...
trying to reinstall the program gives me this Error:
./install.sh: line 828: /tmp/fusion360/logs/wineprefixes.log: Not a directory wget: missing URL Usage: wget [OPTION]... [URL]... Try `wget --help' for more options. mv: cannot stat 'Fusion360installer.exe': No such file or directory rmdir: failed to remove '/drive_c/users/eccomi/Downloads/Fusion360installer.exe': No such file or directory cp: cannot create regular file '/drive_c/users/eccomi/Downloads': No such file or directory ERROR: ld.so: object '/usr/lib/libswmhack.so.0.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. wine: invalid directory in WINEPREFIX: not an absolute path ./install.sh: line 403: kill: (7946) - No such process ERROR: ld.so: object '/usr/lib/libswmhack.so.0.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. wine: invalid directory in WINEPREFIX: not an absolute path ./install.sh: line 414: kill: (8151) - No such process
It seems to me that it has something to do with wineprefixes for me... @solarft looking at the
wineprefixes
folder in~/.fusion360/wineprefixes
reveals that it is empty for me. I am so lost...
I have also got that before, what works for me is removing ~/.fusion360
and /tmp/fusion360
, desktop files and then executing the install script again.
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/usr/bin/sudo' as the super user
Authenticating as: eccomi
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ====
Error executing command as another user: Not authorized
Cannot even do that right anymore because apparently i do not know my own password. (I do i triple checked) Something is fucked, maybe it has to do with arch because arch changed the structure of its wxwidget stuff but thats a pure assumption
It seems to me that it has something to do with wineprefixes for me... @solarft looking at the
wineprefixes
folder in~/.fusion360/wineprefixes
reveals that it is empty for me. I am so lost...I have also got that before, what works for me is removing
~/.fusion360
and/tmp/fusion360
, desktop files and then executing the install script again.
I was having the same WINEPREFIX error and this did the trick for me; I ran the Fusion 360 install for the first time on a vanilla wine without any extra dependencies so everything was fetched and set up on the first install. The second time only installed Fusion per se, and I was able to run it without problems
Hi, I'm running into the same issue, could you provide some more details on what you did to get it working @lggomez? What did you do to only install fusion360 the second time?
Here's what I'm getting from trying to run the box-run.sh script:
>> ./wineprefixes/default/box-run.sh
--2024-01-29 23:51:38-- https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/bin/build-version.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8000::154, 2606:50c0:8003::154, 2606:50c0:8002::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8000::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20 [text/plain]
Saving to: ‘/tmp/fusion360/build-version.txt’
build-version.txt 100%[==============================>] 20 --.-KB/s in 0s
Last-modified header missing -- time-stamps turned off.
2024-01-29 23:51:38 (1.12 MB/s) - ‘/tmp/fusion360/build-version.txt’ saved [20/20]
Online Build-Version: 2.0.17228
Online Insider-Build-Version: 2.0.17228
The version.txt file not exist!
EN
wine: could not open working directory L"unix\\home\\dario\\.fusion360\\", starting in the Windows directory.
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.