[Solved, only Q&D] Gmsh Task Panel Misbehavior

About the development of the FEM module/workbench.

Moderator: bernd

UR_
Posts: 1176
Joined: Tue Jan 03, 2017 8:42 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by UR_ » Sat Sep 28, 2019 6:12 pm

Since 0.19.18351 (win 10 conda) shiboken/pyside2 bug reappeared.


Commit https://github.com/FreeCAD/FreeCAD/comm ... 29f7fd473f
seems to fail.

So I had to reapply my nasty patch to CMakeLists.txt

Code: Select all

set(PYSIDE_INCLUDE_DIR "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/include/PySide2")
set(SHIBOKEN_INCLUDE_DIR "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/include/shiboken2")
set(PYSIDE_LIBRARY "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/lib/pyside2.cp37-win_amd64.lib")
set(SHIBOKEN_LIBRARY "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/lib/shiboken2.cp37-win_amd64.lib")
looo wrote: :bell:

version:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18351 (Git)
Build type: Release
Branch: master
Hash: fb7a03a04d04e770305f96a31b608d6951d927c8
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
User avatar
looo
Posts: 3197
Joined: Mon Nov 11, 2013 5:29 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by looo » Sat Sep 28, 2019 8:32 pm

UR_ wrote:
Sat Sep 28, 2019 6:12 pm
Since 0.19.18351 (win 10 conda) shiboken/pyside2 bug reappeared.


Commit https://github.com/FreeCAD/FreeCAD/comm ... 29f7fd473f
seems to fail.

So I had to reapply my nasty patch to CMakeLists.txt
Should be fixed with (already in master)
https://github.com/FreeCAD/FreeCAD/pull ... 1add3af76f
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
UR_
Posts: 1176
Joined: Tue Jan 03, 2017 8:42 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by UR_ » Sun Sep 29, 2019 2:16 am

looo wrote:
Sat Sep 28, 2019 8:32 pm
Should be fixed with (already in master)

Sorry, my build 0.19.18351 (!! - after mentioned commit) is buggy.


BTW, your latest azure build


https://anaconda.org/freecad/freecad/0. ... 54.tar.bz2


suffers from same behavior :shock:
User avatar
looo
Posts: 3197
Joined: Mon Nov 11, 2013 5:29 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by looo » Sun Sep 29, 2019 10:06 am

UR_ wrote:
Sun Sep 29, 2019 2:16 am
looo wrote:
Sat Sep 28, 2019 8:32 pm
Should be fixed with (already in master)

Sorry, my build 0.19.18351 (!! - after mentioned commit) is buggy.


BTW, your latest azure build


https://anaconda.org/freecad/freecad/0. ... 54.tar.bz2


suffers from same behavior :shock:
I test the libshiboken linking with assembly3 and this works on linux and windows. How to reproduce?
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
UR_
Posts: 1176
Joined: Tue Jan 03, 2017 8:42 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by UR_ » Sun Sep 29, 2019 10:16 am

looo wrote:
Sun Sep 29, 2019 10:06 am
How to reproduce?

workflow how to reproduce (threads first post)


https://forum.freecadweb.org/viewtopic. ... 93#p331833


anigif to show consequences


https://forum.freecadweb.org/viewtopic. ... 93#p331956
User avatar
looo
Posts: 3197
Joined: Mon Nov 11, 2013 5:29 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by looo » Sun Sep 29, 2019 10:54 am

Ok, yes I can reproduce this on linux.

so this means we also have to link against libpyside2 library? Our conclusion here: https://github.com/FreeCAD/FreeCAD/pull/2510 was that we have to link only against libshiboken.

So lets try to link also against libpyside2:
https://github.com/looooo/freecad-feeds ... rary.patch
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
User avatar
looo
Posts: 3197
Joined: Mon Nov 11, 2013 5:29 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by looo » Mon Sep 30, 2019 7:20 am

looo wrote:
Sun Sep 29, 2019 10:54 am
so this means we also have to link against libpyside2 library? Our conclusion here: https://github.com/FreeCAD/FreeCAD/pull/2510 was that we have to link only against libshiboken.
:x No, linking to libpyside2 wasn't enough. I now simply set all of the variables @_UR mentioned and this finally did the trick. The gmsh problem is solved for the latest build on freecad/label/dev channel.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
User avatar
looo
Posts: 3197
Joined: Mon Nov 11, 2013 5:29 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by looo » Sun Oct 06, 2019 9:13 am

looo wrote:
Mon Sep 30, 2019 7:20 am
looo wrote:
Sun Sep 29, 2019 10:54 am
so this means we also have to link against libpyside2 library? Our conclusion here: https://github.com/FreeCAD/FreeCAD/pull/2510 was that we have to link only against libshiboken.
:x No, linking to libpyside2 wasn't enough. I now simply set all of the variables @_UR mentioned and this finally did the trick. The gmsh problem is solved for the latest build on freecad/label/dev channel.
Oh no, still a problem on windows: https://forum.freecadweb.org/viewtopic.php?f=4&t=39861
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests