cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!

Home Page:https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid WINEPREFIX *solved*

rafalou38 opened this issue · 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

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

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