Autodesk-Fusion-360-for-Linux icon indicating copy to clipboard operation
Autodesk-Fusion-360-for-Linux copied to clipboard

Invalid WINEPREFIX

Open rafalou38 opened this issue 1 year ago • 2 comments

Describe the bug Install seems to work, but run and refresh fail because of empty WINEPREFIX.

To Reproduce Install and run.

Expected behavior It works

Desktop (please complete the following information):

  • Version number of Autodesk Fusion 360: 2.0.17228
  • NVIDIA GeForce RTX 2060 SUPER / proprietary drivers
  • Debian GNU/Linux trixie/sid x86_64
  • Plasma 5.27.10

Additional context

[$] echo $WINEPREFIX                                                                                                                                                                                               
/home/rafael/.wine

it is set in .profile and .zshrc

When ran:

└─[$] ./launcher.sh                                                                                                                                                                                                   [12:26:14]
--2024-04-15 12:26:20--  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:8003::154, 2606:50c0:8002::154, 2606:50c0:8000::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::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-04-15 12:26:20 (3.02 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!
mkdir: cannot create directory ‘/tmp/fusion360/logs’: File exists
EN
find: ‘’: No such file or directory
wine: invalid directory  in WINEPREFIX: not an absolute path

rafalou38 avatar Apr 15 '24 10:04 rafalou38

i think you want to set the path variable:

WP_BOX='/home/$USER/.fusion360/wineprefixes/default' . /home/$USER/.fusion360/bin/launcher.sh

...or in your case point to whereever your prefix is located

fattylipidacid avatar Apr 15 '24 18:04 fattylipidacid

The installer probrably didnt set the wineprefix correctly if you chose a custom location, just use the command above and replace the first string with your custom prefix location if you chose a custom location

BedoAkgun avatar May 17 '24 18:05 BedoAkgun

Solved.

cryinkfly avatar Aug 06 '24 12:08 cryinkfly