AppImages of v0.18 release builds

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
chrisb
Posts: 17515
Joined: Tue Mar 17, 2015 9:14 am

Re: AppImages of v0.18 release builds

Postby chrisb » Wed May 01, 2019 8:47 pm

After download it seems to be ok, alas the language change crash is still there:
Preferences->General->Change Language
Crash on confirmation.
triplus
Posts: 8605
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImages of v0.18 release builds

Postby triplus » Wed May 01, 2019 10:27 pm

looo wrote:
Wed May 01, 2019 9:17 am
After some tests it really seems like pip-tools were causing the crash.
Good to hear that.
still some exceptions are printed, but I couldn't reproduce the crashes when running the tests in gui.

Code: Select all

+ exception thrown
Unhandled unknown exception caught in GUIApplication::notify.
Can you test two things. First install one of my modules, like for example Autoload (Addon manager). Restart FreeCAD and test if crashing starts to occur again or not. Both when changing the workbenches manually and when running tests. You should see an Accessories menu entry listed in the global menu bar. In the second test copy and paste the code snippet in FreeCAD Python console:

Code: Select all

p = App.ParamGet("User parameter:BaseApp/Preferences/MainWindow")
p.SetBool("ClearMenuBar", True)
Any changes detected regarding the above mentioned issues "Unhandled unknown exception caught"? After doing the tests make sure you remove the parameter:

Code: Select all

p = App.ParamGet("User parameter:BaseApp/Preferences/MainWindow")
p.RemBool("ClearMenuBar")
As it might affect future testing.
looo
Posts: 2741
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImages of v0.18 release builds

Postby looo » Thu May 02, 2019 6:30 am

chrisb wrote:
Wed May 01, 2019 8:47 pm
After download it seems to be ok, alas the language change crash is still there:
Preferences->General->Change Language
Crash on confirmation.
Is there any 3rd party module installed?
looo
Posts: 2741
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImages of v0.18 release builds

Postby looo » Thu May 02, 2019 8:50 am

@triplus:

1. test: installing autoload: I don't see any differences (no crash, but same exceptions occure on tests)
2. test: adding

Code: Select all

p = App.ParamGet("User parameter:BaseApp/Preferences/MainWindow")
p.SetBool("ClearMenuBar", True)
Also with this I don't see much differences.
chrisb
Posts: 17515
Joined: Tue Mar 17, 2015 9:14 am

Re: AppImages of v0.18 release builds

Postby chrisb » Thu May 02, 2019 4:41 pm

looo wrote:
Thu May 02, 2019 6:30 am
chrisb wrote:
Wed May 01, 2019 8:47 pm
After download it seems to be ok, alas the language change crash is still there:
Preferences->General->Change Language
Crash on confirmation.
Is there any 3rd party module installed?
Yes, I will test after deinstalling
- Curves
- Fasteners
- FCGear
- IconThemes
- Manipulator
- SheetMetal

With the AddonManager I can reinstall them as needed.
chrisb
Posts: 17515
Joined: Tue Mar 17, 2015 9:14 am

Re: AppImages of v0.18 release builds

Postby chrisb » Thu May 02, 2019 4:44 pm

I still have the crash on language change. But I should note, that stability seems to have increased already before deleting the addons. It's hard to say, because the crashes where not reproducible - except the language change.
chrisb
Posts: 17515
Joined: Tue Mar 17, 2015 9:14 am

Re: AppImages of v0.18 release builds

Postby chrisb » Thu May 02, 2019 4:54 pm

There is something else which is cumbersome with the new version:
Almost evrything moved one level down to the Resources folder:

Current structure of FreeCAD 0.19.16540:

Code: Select all

ls FreeCAD.app/Contents/
Info.plist	MacOS		Resources

maccb:Desktop cb$ ls FreeCAD.app/Contents/Resources/
Ext			data			libexec			qml			translations
Mod			doc			man			qt.conf
bin			freecad-doc.icns	mkspecs			sbin
cmake			freecad.icns		phrasebooks		share
conda-meta		lib			plugins			ssl
maccb:Desktop cb$ 
Old structure in FreeCAD 0.18.15525 (similar to current Linux):

Code: Select all

ls FreeCAD18.app/Contents/
Ext		Info.plist	MacOS		Mod		Resources	data		doc		lib
maccb:Desktop cb$ 
triplus
Posts: 8605
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImages of v0.18 release builds

Postby triplus » Thu May 02, 2019 10:12 pm

looo wrote:
Thu May 02, 2019 8:50 am
@triplus:

1. test: installing autoload: I don't see any differences (no crash, but same exceptions occure on tests)
Thanks for confirming.
Also with this I don't see much differences.
OK therefore whatever is causing "exceptions" likely isn't related anymore to the mentioned (menu) bug in Qt 5.6.2. Qt 5.9 therefore isn't an option for now, as PySide 2 packages for Qt 5.9 are still missing.

Now if i understand the situation correctly macOS users can now start and use FreeCAD? Or it still crashes all too often and randomly to be usable? Crash on applying different language from Preferences is therefore still an issue. Is that just language change related or applying other settings from preferences can cause a crash too? And just to make sure, when temporary renaming the FreeCAD (Preferences) folder to FreeCADTemp and starting FreeCAD, the language change related crash still persists?
chrisb
Posts: 17515
Joined: Tue Mar 17, 2015 9:14 am

Re: AppImages of v0.18 release builds

Postby chrisb » Fri May 03, 2019 12:41 am

The crashes persist, and the only repeatable use case with the language change crashes even on a plain vanilla install.

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16540 (Git)
Build type: Release
Branch: master
Hash: 554985dede771f9a6694baba2372cc60db86f17b
Python version: 3.7.3
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
looo
Posts: 2741
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImages of v0.18 release builds

Postby looo » Fri May 03, 2019 4:36 am

I can't reproduce the language-change crash. Also no crash after running the tests.

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16110 (Git)
Build type: Release
Branch: (HEAD detached at 0.18.1)
Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

OS: macOS 10.13
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16540 (Git)
Build type: Release
Branch: master
Hash: 554985dede771f9a6694baba2372cc60db86f17b
Python version: 3.7.3
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)