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.78k stars 115 forks source link

Invalid WINEPREFIX #410

Open rafalou38 opened 2 months ago

rafalou38 commented 2 months ago

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):

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
fattylipidacid commented 2 months ago

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

BedoAkgun commented 1 month ago

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