conda build win 10 stopped working since Link merge

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: conda build win 10 stopped working since Link merge

Post by sgrogan »

UR_ wrote: Sat Sep 14, 2019 11:33 amThat's it.
Powered by Conda! I had to "Boost_NO_BOOST_CMAKE=TRUE"

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18516 (Git)
Build type: Release
Branch: master
Hash: 867a09f731926bf75695e8a6f063cbc9c1033b40
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
"fight the good fight"
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: conda build win 10 stopped working since Link merge

Post by Syres »

sgrogan wrote: Sat Oct 12, 2019 6:27 pm
Powered by Conda! I had to "Boost_NO_BOOST_CMAKE=TRUE"

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18516 (Git)
Build type: Release
Branch: master
Hash: 867a09f731926bf75695e8a6f063cbc9c1033b40
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
I downloaded and extracted FreeCAD_0.19.18516_x64_Conda_Py3QT5-WinVS2015.7z this morning in order to try something with Python 3.7 but unfortunately FreeCAD crashed during the load sequence. Below is the last part of the log and attached is the Debug.log file generated if it is of use:

Code: Select all

Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done
Log: Qt WebEngine ICU data not found at C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library/resources. Trying parent directory...
Log: Qt WebEngine ICU data not found at C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library. Trying application directory...
Log: Qt WebEngine ICU data not found at E:/Data/My Downloads/FreeCAD_0.19.18516_x64_Conda_Py3QT5-WinVS2015/FreeCAD_0.19.18516_x64_Conda_Py3QT5-WinVS2015/bin. Trying fallback directory... The application MAY NOT work.
Log: Installed Qt WebEngine locales directory not found at location C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library/translations\qtwebengine_locales. Trying application directory...
Log: Qt WebEngine locales directory not found at location E:/Data/My Downloads/FreeCAD_0.19.18516_x64_Conda_Py3QT5-WinVS2015/FreeCAD_0.19.18516_x64_Conda_Py3QT5-WinVS2015/bin\qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Attachments
debug.log
(5.15 KiB) Downloaded 129 times
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: conda build win 10 stopped working since Link merge

Post by sgrogan »

Syres wrote: Sun Oct 13, 2019 8:49 am I downloaded and extracted FreeCAD_0.19.18516_x64_Conda_Py3QT5-WinVS2015.7z this morning in order to try something with Python 3.7 but unfortunately FreeCAD crashed during the load sequence.
Should be fixed now.
"fight the good fight"
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: conda build win 10 stopped working since Link merge

Post by Syres »

sgrogan wrote: Sun Oct 13, 2019 1:33 pm Should be fixed now.
Sorry, but with the FreeCAD_0.19.18522_x64_Conda_Py3QT5-WinVS2015.7z download, it looks to be the same:

Code: Select all

Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done
Log: Qt WebEngine ICU data not found at C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library/resources. Trying parent directory...
Log: Qt WebEngine ICU data not found at C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library. Trying application directory...
Log: Qt WebEngine ICU data not found at E:/Data/My Downloads/FreeCAD_0.19.18522_x64_Conda_Py3QT5-WinVS2015/FreeCAD_0.19.18522_x64_Conda_Py3QT5-WinVS2015/bin. Trying fallback directory... The application MAY NOT work.
Log: Installed Qt WebEngine locales directory not found at location C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library/translations\qtwebengine_locales. Trying application directory...
Let me know if there's any other info you need.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: conda build win 10 stopped working since Link merge

Post by sgrogan »

Syres wrote: Sun Oct 13, 2019 2:12 pm Let me know if there's any other info you need.
Your info is great.
I got rid of the hard coded paths in qt.conf and added the resorses directory.
Can you try again? Can you post the log even if it succeeds?
"fight the good fight"
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: conda build win 10 stopped working since Link merge

Post by Syres »

sgrogan wrote: Mon Oct 14, 2019 10:05 pm I got rid of the hard coded paths in qt.conf and added the resorses directory.
Can you try again? Can you post the log even if it succeeds?
No success I'm afraid:

Code: Select all

Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done
Log: Qt WebEngine ICU data not found at C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library/resources. Trying parent directory...
Log: Qt WebEngine ICU data not found at C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library. Trying application directory...
Log: Qt WebEngine ICU data not found at E:/Data/My Downloads/FreeCAD_0.19.18533_x64_Conda_Py3QT5-WinVS2015/FreeCAD_0.19.18533_x64_Conda_Py3QT5-WinVS2015/bin. Trying fallback directory... The application MAY NOT work.
Log: Installed Qt WebEngine locales directory not found at location C:/Users/Chris/Miniconda3/envs/freecad-dev123/Library/translations\qtwebengine_locales. Trying application directory...
UR_
Veteran
Posts: 1354
Joined: Tue Jan 03, 2017 8:42 pm

Re: conda build win 10 stopped working since Link merge

Post by UR_ »

Just downloaded: FreeCAD_0.19.18533_x64_Conda_Py3QT5-WinVS2015.7z

fixed qt.conf to

Code: Select all

[Paths] 
TargetSpec = win32-msvc
HostSpec = win32-msvc
Prefix = ..
Headers = include/qt

launching FreeCAD.exe by this shortcut

Screenshot 001.png
Screenshot 001.png (24.15 KiB) Viewed 1329 times

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

Re: conda build win 10 stopped working since Link merge

Post by Syres »

UR_ wrote: Tue Oct 15, 2019 10:58 am Just downloaded: FreeCAD_0.19.18533_x64_Conda_Py3QT5-WinVS2015.7z

fixed qt.conf to

Code: Select all

[Paths] 
TargetSpec = win32-msvc
HostSpec = win32-msvc
Prefix = ..
Headers = include/qt

launching FreeCAD.exe by this shortcut
@UR_, thanks for the workaround, I can confirm it worked so at least I can do my testing.

@sgrogan, if I just amend qt.conf to @UR_'s suggestion but keep the file structure as I prefer in E:\Data\My Downloads, I get the following at the end of the log:

Code: Select all

Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done
Log: Installed Qt WebEngine locales directory not found at location E:/Data/My Downloads/FreeCAD_0.19.18533_x64_Conda_Py3QT5-WinVS2015/FreeCAD_0.19.18533_x64_Conda_Py3QT5-WinVS2015/translations\qtwebengine_locales. Trying application directory...
Log: Loading GUI of Part module... done
Log: Loading Sketcher module... done
Log: Loading GUI of Sketcher module... done
Log: Init: Showing main window
Log: Main window restored
Log: Show main window
Log: Toolbars restored
Log: 3Dconnexion device not attached.
Log: Init: Entering event loop
Log: Init: Processing command line files
Log: Hide main window
Log: Finish: Event loop left
Log: Destruct Gui::Application
Log: FreeCAD terminating...
Log: Saving system parameter...
Log: Saving system parameter...done
Log: Saving user parameter...
Log: Saving user parameter...done
Resulting in a GUI being displayed, preferences such as Stylesheet are correct but others such as the Start Wb aren't open as expected. Hopefully both of our feedback can assist in a fully portable package, thanks for the efforts.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: conda build win 10 stopped working since Link merge

Post by sgrogan »

Syres wrote: Tue Oct 15, 2019 11:40 am Resulting in a GUI being displayed, preferences such as Stylesheet are correct but others such as the Start Wb aren't open as expected. Hopefully both of our feedback can assist in a fully portable package, thanks for the efforts.
Thanks for the feed back, this helps a lot.
For the qt.conf, I was making similar fixes as @UR_, but then overwriting the fixes with the hardcoded paths :oops:
I think the Headers directory should not be needed as this path is not included in the bundle (it's not needed in the LP_12.1.2 version).

@Syres, is your default WB Part, maybe with a custom toolbar that adds Sketcher?
Can you try making Start the default WB? Maybe it will crash and give some good info in the log.
"fight the good fight"
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: conda build win 10 stopped working since Link merge

Post by Syres »

sgrogan wrote: Tue Oct 15, 2019 9:08 pm @Syres, is your default WB Part, maybe with a custom toolbar that adds Sketcher?
Can you try making Start the default WB? Maybe it will crash and give some good info in the log.
Nope, the default Wb has been Start for months now which then switches to Sketcher after I've clicked a recent file or Create New.. as per screenshot:
StartSettings.jpg
StartSettings.jpg (18.85 KiB) Viewed 1289 times
Therefore that log above is with these settings.
Post Reply