cryinkfly / SOLIDWORKS-for-Linux

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

Installer hangs on Serial Number #10

Open LikDev-256 opened 2 years ago

LikDev-256 commented 2 years ago

I was trying to install Solidworks but the installer hanged up on Serial numbers. And Don't have any kind log or information about the issue if you have a way please request. Screenshot_20210921_001243

Duedot43 commented 2 years ago

Should just be able to go to another window and come back it should unfreeze if that does not work X out and hit no when it says do you want to exit

cryinkfly commented 2 years ago

Bildschirmfoto_2021-09-21_07-49-18

LikDev-256 commented 2 years ago

That technique did work on others but at the serial numbers the windows is not even selected as the active windows the close button is grayed out. Only the minimize button works

And I didn't get any clue from the screenshot @cryinkfly Do you mean that I have to install it buy myself. I have the installer of Solidworks iso but it doesn't seem to work. If I got it wrong please explain this to me

cryinkfly commented 2 years ago

@Lik3Hackdev If you have tested this:

You must change to another window (Filebrowser, ...) and come back to the installation window! And this repeat more as one time!

That is what I meant. 😀

... and the serial numbers you can input manual or with the Keyboard shortcut: "Strg + V" into this box.

But in any case you always have to leave the window and come back to make a change in the installation window!

Duedot43 commented 2 years ago

Installer ISO? What are you talking about?

Duedot43 commented 2 years ago

What distro are you using so I can maybe help debug

smithandreas commented 2 years ago

i have the same problem here with manjaro KDE. After i enter the key (from student Version) the window is Frozen. It dit not help, to minimize the window and come back (like by the other stapes before...) Thanks for your help

LikDev-256 commented 2 years ago

I am using the bash script in the stable branch solidworks-install.sh it is the only thing working. I tried using the Solidworks iso which I used to install in my Windows 10 system but it doesn't seem to work. @Duedot43 Hence I am using this script.

My distro is Kali Linux (Debian based) @Duedot43

My problem is that the solidworks installer window is selected as the active window and all options for closing the window is grayed out I can't use the technique told by @cryinkfly.

When I click the X inside the installer it blacks out the window behind it for a second and returns.

The main problem is that I can't get passed the serial numbers

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

I tried the development-branch script and I got a problem like this

Executing load_vcrun2019 
------------------------------------------------------
warning: Checksum for /home/likdev/.var/app/org.winehq.flatpak-proton-68-ge-1/cache/winetricks/vcrun2019/vc_redist.x86.exe did not match, retrying download
------------------------------------------------------
Executing cd /home/likdev/.var/app/org.winehq.flatpak-proton-68-ge-1/cache/winetricks/vcrun2019
Downloading https://aka.ms/vs/16/release/vc_redist.x86.exe to /home/likdev/.var/app/org.winehq.flatpak-proton-68-ge-1/cache/winetricks/vcrun2019
--2021-09-22 20:39:37--  https://aka.ms/vs/16/release/vc_redist.x86.exe
Resolving aka.ms (aka.ms)... 23.51.133.4
Connecting to aka.ms (aka.ms)|23.51.133.4|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.visualstudio.microsoft.com/download/pr/221ed2ae-1269-497b-a962-e113045001fa/1ACD8D5EA1CDC3EB2EB4C87BE3AB28722D0825C15449E5C9CEEF95D897DE52FA/VC_redist.x86.exe [following]
--2021-09-22 20:39:43--  https://download.visualstudio.microsoft.com/download/pr/221ed2ae-1269-497b-a962-e113045001fa/1ACD8D5EA1CDC3EB2EB4C87BE3AB28722D0825C15449E5C9CEEF95D897DE52FA/VC_redist.x86.exe
Resolving download.visualstudio.microsoft.com (download.visualstudio.microsoft.com)... 192.229.232.200, 2606:2800:147:ff8:129b:22eb:20b:1347
Connecting to download.visualstudio.microsoft.com (download.visualstudio.microsoft.com)|192.229.232.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13782872 (13M) [application/octet-stream]
Saving to: ‘vc_redist.x86.exe’

vc_redist.x86.exe                    100%[======================================================================>]  13.14M  53.8KB/s    in 2m 12s  

2021-09-22 20:41:57 (102 KB/s) - ‘vc_redist.x86.exe’ saved [13782872/13782872]

Executing cd /home/likdev
------------------------------------------------------
warning: sha256sum mismatch! Rename /home/likdev/.var/app/org.winehq.flatpak-proton-68-ge-1/cache/winetricks/vcrun2019/vc_redist.x86.exe and try again.
------------------------------------------------------

Sorry for putting two issues in the same If it is confusing I think you got me now ......

Duedot43 commented 2 years ago

So thank you for giving me all that info i will install Kali in a VM when i can. the error you got with the dev branch is an issue with an older version of winetricks i haven't figured out how to get past that issue yet since flatpak wont run a command in sudo to update winetricks. how long did you leave the window frozen for in my situations depending on the speed of your computer if you leave it for a little bit it should come back to life like i said i will try to install it on your distro when i can.

LikDev-256 commented 2 years ago

@Duedot43 I don't think you need to test specifically on this distro any debian based distro will be matching it.

LikDev-256 commented 2 years ago

I can debug anything about bash scripts but I don't think there is any problem with it. I think this a problem with winetricks and others

Duedot43 commented 2 years ago

I understand that i don't need to test it with the specific distro but i have nothing better to do and i did not get this error on my Ubuntu install.

Duedot43 commented 2 years ago

Another question: How long did you leave it to just sit there before you killed it?

LikDev-256 commented 2 years ago

I think I left it for about 30 min but in the process manager I could see that it was still using about 7% of cpu.

Why the window is not marked as the active window ???!!

cryinkfly commented 2 years ago

problem here with manjaro KDE.

I use xfce as the desktop environment on my system. @LikDev-256 Witch desktop environment did you use?

LikDev-256 commented 2 years ago

I'm using KDE but I also have XFCE I'll test in it also and leave a comment if it worked or not

LikDev-256 commented 2 years ago

Screenshot_20210923_130920-1

LikDev-256 commented 2 years ago

In XFCE In here I can't even get past the starting

cryinkfly commented 2 years ago

Your screenshot is very interesting! 🧐 But I don't know why it's so at the moment. ⚙️

LikDev-256 commented 2 years ago

I think this explains better, this one is in KDE

https://user-images.githubusercontent.com/81100289/134483127-0efbbc83-ab8f-4c00-93de-0afde7c41760.mov

And I also found something interesting

┌──(likdev㉿kali)-[~/.wineprefixes/solidworks/solidworksdownload]
└─$ wine setup.exe
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.17 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0080:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0080:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00c4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00c4:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0080:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
00c4:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0080:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
00c4:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0080:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
00c4:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0134:fixme:ver:GetCurrentPackageId (0066FE94 00000000): stub
LikDev-256 commented 2 years ago

But when I ran it using the script the close option appears This is a recording using the script sorry for the annoying updates and upgrades

here is the screen capture of the script

I can't upload it here so I put a google drive link

LikDev-256 commented 2 years ago

Another question: How long did you leave it to just sit there before you killed it?

Now I ran it for 2 hours still no response and when I click inside the windows the active windows blacks for a second you'll be able to see it on the recordings too.

cryinkfly commented 2 years ago

@LikDev-256 Very nice workaround for this problem! :+1:

Even if it still doesn't go any further in the end. But hats off! 👌

cryinkfly commented 2 years ago

So I test another way to solving some problems with VBA 7.1 and other things: https://github.com/cryinkfly/SOLIDWORKS-Linux-Wine-Version-/issues/3#issuecomment-925773033

LikDev-256 commented 2 years ago

OK, it means that these are the same issue ???!

cryinkfly commented 2 years ago

As with my system, I don't have this issue, I just get stuck at the point with the VBA 7.1 installation. I just wanted to draw your attention to the fact that I am now going into or examining the whole VBA story in more detail.

LikDev-256 commented 2 years ago

Was @Duedot43 able to get any clue ?!!?

Duedot43 commented 2 years ago

Kali when I tried to install it just blanked out and never went through

LikDev-256 commented 2 years ago

It does I can help you but not here this issue is more getting like a chat now so .... @Duedot43

LikDev-256 commented 2 years ago

Does this help a portable version of Solidworks won't have any of these issues ??!?? 🤔

A random article

Sorry if I am not helping in any kind

I'm trying this also

smithandreas commented 2 years ago

after one more try it worked (till VBA 7.1 installation), the only thing i have changed was that i run the script with sudo. Perhaps that helps you?
The portal version (also from your link) i tried with Lutris did not worked because the license server don't run.

cryinkfly commented 2 years ago

Everybody they will get a place to discuss also another things they can do that here now: https://github.com/cryinkfly/SOLIDWORKS-Linux-Wine-Version-/discussions

cryinkfly commented 2 years ago

Please check this issue: https://github.com/cryinkfly/SOLIDWORKS-Linux-Wine-Version-/issues/3#issuecomment-932793744

Then it's solved!!!!!!!