Add ons manager - development and bugs topic

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Add ons manager - development and bugs topic

Post by mnesarco »

sgrogan wrote: Fri May 22, 2020 11:04 pm
mnesarco wrote: Thu May 21, 2020 7:33 pm I hope you like it.
I was able to install the WB using Addons-manager. When activating the Extension Manager WB is empty.
Capture.PNG
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21189 (Git)
Build type: Release
Branch: master
Hash: 0d416c807bfb12e27806e375c432a3ed08ba8701
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Hi sgrogan, Thank you for testing. I have not tested yet in windows environment because i have not finished yet. It should be some path related thing or something like that but I will check it later. I am trying to make it on par with current AddonManager usecases in my local environment, then i will fix portability issues.

BTW my environment is:

OS: Linux Mint 19.2 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21125 (Git) AppImage
Build type: Release
Branch: master
Hash: 40600a55c2fe71ff589be677f6e427ccc937d003
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)


BTW, have you restarted FreeCAD after install?
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Add ons manager - development and bugs topic

Post by mnesarco »

I have tried to run FreeCAD 0.19 on windows without any success:

Windows 10, 64Bits dev image provided by Microsoft on VirtualBox6

FreeCAD_0.19.21125-Win-Conda_vc14.x-x86_64.7z

- Downloaded the .7z
- Extracted
- Run freecad.exe in bin dir
- Splash appears, then just disappear. No start
- No errors in console
- No errors in debug.log


FreeCAD_0.19.21189_x64_LP_12.1.6_PY3QT5-WinVS2015.7z

- Downloaded the .7z
- Extracted
- Run FreeCAD.exe in bin dir
- Splash appears, then just disappear. No start
- No errors in console
- No errors in debug.log
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Add ons manager - development and bugs topic

Post by sgrogan »

mnesarco wrote: Sat May 23, 2020 12:10 am I have tried to run FreeCAD 0.19 on windows without any success:
Two things to try;
1) run FreeCADCmd.exe
If this doesn't work try installing the vcredist. https://support.microsoft.com/en-us/hel ... -downloads
2) in the bin folder rename openglsw.dll to opengl.exe and run FreeCAD.exe
mnesarco wrote: Fri May 22, 2020 11:14 pm It should be some path related thing or something like that
I agree and will also look myself. I have restarted FreeCAD after installation of your WB.
"fight the good fight"
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Add ons manager - development and bugs topic

Post by Syres »

sgrogan wrote: Sat May 23, 2020 2:54 pm 2) in the bin folder rename openglsw.dll to opengl.exe and run FreeCAD.exe
I think you mean:

2) in the bin folder rename the file opengl32sw.dll to opengl32.dll and run FreeCAD.exe
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Add ons manager - development and bugs topic

Post by mnesarco »

Syres wrote: Sat May 23, 2020 3:20 pm
sgrogan wrote: Sat May 23, 2020 2:54 pm 2) in the bin folder rename openglsw.dll to opengl.exe and run FreeCAD.exe
I think you mean:

2) in the bin folder rename the file opengl32sw.dll to opengl32.dll and run FreeCAD.exe
Yes, this worked.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Add ons manager - development and bugs topic

Post by sgrogan »

Syres wrote: Sat May 23, 2020 3:20 pm I think you mean:
mnesarco wrote: Sat May 23, 2020 4:30 pm Yes, this worked.
Thanks @Syres!
"fight the good fight"
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Add ons manager - development and bugs topic

Post by mnesarco »

It looks like the blank screen on windows problem is not related to path issues.

It appears to be related with qt packaging in the windows distribution. I need to investigate it more:

https://stackoverflow.com/questions/385 ... on-windows
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Add ons manager - development and bugs topic

Post by mnesarco »

sgrogan wrote: Fri May 22, 2020 11:04 pm I was able to install the WB using Addons-manager. When activating the Extension Manager WB is empty.
Capture.PNG
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21189 (Git)
Build type: Release
Branch: master
Hash: 0d416c807bfb12e27806e375c432a3ed08ba8701
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
it was a Path issue after all :mrgreen:
Workspace 1_123.png
Workspace 1_123.png (165.31 KiB) Viewed 1243 times

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21189 (Git)
Build type: Release
Branch: master
Hash: 0d416c807bfb12e27806e375c432a3ed08ba8701
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)


I will push a fixed version in few hours
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Add ons manager - development and bugs topic

Post by mnesarco »

Hi Friends,
Last commit fixed the windows path problem. It runs on windows now, needs a lot of testing of course, but at least you can try it.

https://github.com/mnesarco/FreeCAD_ExtMan

Cheers,

Frank.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Add ons manager - development and bugs topic

Post by Syres »

mnesarco wrote: Sat May 23, 2020 8:42 pm It runs on windows now, needs a lot of testing of course, but at least you can try it.
This is what I had to hack https://github.com/mnesarco/FreeCAD_Ext ... 16:patch-1 to get the Wb to start using:

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21189 (Git)
Build type: Release
Branch: master
Hash: 0d416c807bfb12e27806e375c432a3ed08ba8701
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)

The macro that tripped up the start phase was https://wiki.freecadweb.org/Macro_FC_Convert_Lines I'm sure there's a much cleaner solution but at least you know where there's differences between your fresh Win 10 and my several years old Win 7 setup.
Post Reply