cryinkfly / SOLIDWORKS-for-Linux

This is a project, where I give you a way to use SOLIDWORKS on Linux!
MIT License
370 stars 36 forks source link

Install failed after selecting a distro #47

Open DeflateAwning opened 9 months ago

DeflateAwning commented 9 months ago

After selecting Linux Mint, the following error is displayed:

┌────────────────────────────────────────────────────────────────────────────┐
│ Download Winetricks                                                        │
│                                                                            │
+ chmod +x /home/user/.solidworks/bin/winetricks                             │
+ SP_LOAD_OS_PACKAGES                                                        │
+ [[ '' = \0\1 ]]                                                            │
+ [[ '' = \0\2 ]]                                                            │
+ [[ '' = \0\3 ]]─────────────────────────────────────────────────────────┐  │
+ [[ '' = \0\4 ]]                    100%                                 │  │
+ [[ '' = \0\5 ]]─────────────────────────────────────────────────────────┘  │
+ [[ '' = \0\6 ]]────────────────────────────────────────────────────────────┘
+ [[ '' = \0\7 ]]
+ [[ '' = \0\8 ]]
+ [[ '' = \9 ]]
+ [[ '' = \1\0 ]]
+ [[ '' = \1\1 ]]
+ [[ '' = \1\2 ]]
+ echo 'No Linux distribution was selected!'
No Linux distribution was selected!

It appears to be failing during or after the "Download Winetricks" stage.

Smomk8d commented 9 months ago

Had the same problem. You have to select your Linux distribution with the space bar before you confirm your selection. So navigate with the arrow keys to your Linux distribution, then select with the space bar and confirm with Enter. The "*" shows you your current selection.

DeflateAwning commented 7 months ago

It appears that a better error message should be given if the user skips the Distro selection page because they didn't understand the UI. Perhaps something along the lines of "No distribution was selected. Please re-run this script, and select a distribution by pressing the space bar on the distribution selection page."