conda, osx-arm64, occt7.6

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
User avatar
doia
Posts: 251
Joined: Sat May 29, 2021 5:47 am
Location: Düsseldorf

Re: conda, osx-arm64, occt7.6

Post by doia »

I tested the macOS arm64 bundle FreeCAD_0.21-29436-2022-07-10-conda-macOS-arm-py310.dmg. FC is working fine, no errors during initialization, except some not found icons for the Add-on WB's BIM and Assembly 4.
There are some minor inconveniences during install:

- after opening the DMG, the .app inside is missing the FC icon
- I can not rename the App (usually I do this to distinguish multiple daily versions). After renaming and opening the App it says "You can not open the program, as it is possibly damaged or incomplete." After renaming ist back to FreeCAD.app, FC starts just fine.
JohnOCFII
Posts: 112
Joined: Sun Sep 20, 2020 5:46 pm
Location: Minnesota, USA

Re: conda, osx-arm64, occt7.6

Post by JohnOCFII »

doia wrote: Fri Jul 15, 2022 1:41 pm - after opening the DMG, the .app inside is missing the FC icon
- I can not rename the App (usually I do this to distinguish multiple daily versions). After renaming and opening the App it says "You can not open the program, as it is possibly damaged or incomplete." After renaming ist back to FreeCAD.app, FC starts just fine.
I experienced the same. Overall, working well (at least in PartDesign and Sketcher) but did observe the same two minor issues above.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: conda, osx-arm64, occt7.6

Post by looo »

doia wrote: Fri Jul 15, 2022 1:41 pm I tested the macOS arm64 bundle FreeCAD_0.21-29436-2022-07-10-conda-macOS-arm-py310.dmg. FC is working fine, no errors during initialization, except some not found icons for the Add-on WB's BIM and Assembly 4.
There are some minor inconveniences during install:

- after opening the DMG, the .app inside is missing the FC icon
- I can not rename the App (usually I do this to distinguish multiple daily versions). After renaming and opening the App it says "You can not open the program, as it is possibly damaged or incomplete." After renaming ist back to FreeCAD.app, FC starts just fine.
not sure, but I guess the Info.plist is not correctly setup right now. Help wanted :)


In addition I see still one test failing:

Code: Select all

======================================================================
ERROR: TestFemApp (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: TestFemApp
Traceback (most recent call last):
  File "$PREFIX/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "$PREFIX/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
  File "$PREFIX/Mod/Fem/TestFemApp.py", line 33, in <module>
    from femtest.app.test_mesh import TestMeshCommon as FemTest07
  File "$PREFIX/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
  File "$PREFIX/Mod/Fem/femtest/app/test_mesh.py", line 33, in <module>
    import Fem
  File "$PREFIX/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
ImportError: dlopen($PREFIX/lib/Fem.so, 0x0002): symbol not found in flat namespace '___kmpc_critical'


----------------------------------------------------------------------
Ran 805 tests in 26.496s
jackfreecad
Posts: 53
Joined: Sun Oct 25, 2020 4:56 pm

Re: conda, osx-arm64, occt7.6

Post by jackfreecad »

Code: Select all

OS: macOS 12.4
Word size of FreeCAD: 64-bit
Version: 0.21.29899 (Git)
Build type: Release
Branch: master
Hash: 5b83b15b63dc6431a946e6d681d369ea60cc637b
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * freecad.gears-megagrants
  * fasteners 0.3.40
  * Assembly4 0.11.12
Same here
can open dmg
if renaming says file is damaged and won't open
I did not have missing icons in assembly 4
size of 0.21.29899 is 1.8GB
size of previous 29485 was 2.14 GB
Today I was making a gear with the mega grant gear work bench
went to make head fillet on a involute gear and have this message:
08:56:32 python-occ not available2d fillets not yet possiblepython-occ not available2d fillets not yet possiblepython-occ not available2d fillets not yet possible
Made a hole in gear, could not filet the hole
Went back to 29485
Issue is the same
I recently upgraded the OS to 12.4 I am afraid that is the cause of the issue
I tried 29997 on my older intel Mac, OS 10.15, issue is the same no head fillet on gear, same error message
Maybe it is in the package?
Still have 29035 on older Intel Mac OS 10.15 still work as it used to. I can do all head and foot fillet on gears
also tried 29997 on M1 Mac, Rosetta does its job
again same error message
10:26:25 python-occ not available2d fillets not yet possiblepython-occ not available2d fillets not yet possiblepython-occ not available2d fillets not yet possible
If I do a pocket and try to fillet the pocket
error is: Resulting shape is invalid
If I do another body, a simple cube, then I can do fillet and/or chamfer
I went back to 29045 on ARM Mac
head fillets on gear do work
So I am tempted to say it is the packaging some change have happened between 29045 and 29485
Hope this can help
thanks for your hard work
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: conda, osx-arm64, occt7.6

Post by looo »

jackfreecad wrote: Sun Aug 07, 2022 12:55 am

Code: Select all

OS: macOS 12.4
Word size of FreeCAD: 64-bit
Version: 0.21.29899 (Git)
Build type: Release
Branch: master
Hash: 5b83b15b63dc6431a946e6d681d369ea60cc637b
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * freecad.gears-megagrants
  * fasteners 0.3.40
  * Assembly4 0.11.12
Same here
can open dmg
if renaming says file is damaged and won't open
I did not have missing icons in assembly 4
size of 0.21.29899 is 1.8GB
size of previous 29485 was 2.14 GB
Today I was making a gear with the mega grant gear work bench
went to make head fillet on a involute gear and have this message:
08:56:32 python-occ not available2d fillets not yet possiblepython-occ not available2d fillets not yet possiblepython-occ not available2d fillets not yet possible
Made a hole in gear, could not filet the hole
Went back to 29485
Issue is the same
I recently upgraded the OS to 12.4 I am afraid that is the cause of the issue
I tried 29997 on my older intel Mac, OS 10.15, issue is the same no head fillet on gear, same error message
Maybe it is in the package?
Still have 29035 on older Intel Mac OS 10.15 still work as it used to. I can do all head and foot fillet on gears
also tried 29997 on M1 Mac, Rosetta does its job
again same error message
10:26:25 python-occ not available2d fillets not yet possiblepython-occ not available2d fillets not yet possiblepython-occ not available2d fillets not yet possible
If I do a pocket and try to fillet the pocket
error is: Resulting shape is invalid
If I do another body, a simple cube, then I can do fillet and/or chamfer
I went back to 29045 on ARM Mac
head fillets on gear do work
So I am tempted to say it is the packaging some change have happened between 29045 and 29485
Hope this can help
thanks for your hard work

thanks for testing.
I have no idea about the renaming issue. Maybe google comes up with a similar topic.

regarding the gear-workbench issue:
try to update the workbench. The python-orc dependency was removed some time ago.
jackfreecad
Posts: 53
Joined: Sun Oct 25, 2020 4:56 pm

Re: conda, osx-arm64, occt7.6

Post by jackfreecad »

Thanks
I went head and tried the latest version of freecad.gear_master
I did not earlier because at this
https://wiki.freecadweb.org/FCGear_InvoluteGear
head filet and other feature have not been added yet..., I did not look close enough
the head filet works with 29485
also works with:

Code: Select all

OS: macOS 12.4
Word size of FreeCAD: 64-bit
Version: 0.21.29899 (Git)
Build type: Release
Branch: master
Hash: 5b83b15b63dc6431a946e6d681d369ea60cc637b
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * freecad.gears-master 1.0.0
  * fasteners 0.3.40
  * Assembly4 0.11.12
Still can not rename the freeCAD.app, Mac OS say it is damaged if renamed...
BUT
looking around
It is quite possible that FreeCAD has the very best gear generator available, AND it is for free
I know for sure better than fusion 360, I have used it before
possibly better than many others
FreeCAD and FreeCAD team ROCKS
Attachments
freecad.png
freecad.png (906.59 KiB) Viewed 3423 times
Last edited by jackfreecad on Thu Aug 11, 2022 10:21 am, edited 1 time in total.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: conda, osx-arm64, occt7.6

Post by looo »

can you try again with the latest osx-arm64 bundle (30058). I didn't have an issue with renaming.

and thanks for your motivating words.
jackfreecad
Posts: 53
Joined: Sun Oct 25, 2020 4:56 pm

Re: conda, osx-arm64, occt7.6

Post by jackfreecad »

Yes It works
Thanks

Code: Select all

OS: macOS 12.4 on M1
Word size of FreeCAD: 64-bit
Version: 0.21.30058 (Git)
Build type: Release
Branch: master
Hash: cb96332a64db8ae855ca700212eebb0f5151230a
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * freecad.gears-master 1.0.0
  * fasteners 0.3.40
  * Assembly4 0.11.12
checking gear connector, fun
JohnOCFII
Posts: 112
Joined: Sun Sep 20, 2020 5:46 pm
Location: Minnesota, USA

Re: conda, osx-arm64, occt7.6

Post by JohnOCFII »

looo wrote: Thu Aug 11, 2022 8:09 am can you try again with the latest osx-arm64 bundle (30058). I didn't have an issue with renaming.

and thanks for your motivating words.
Can confirm the renaming/icon issue appears resolved for me too.

Code: Select all

OS: macOS 12.5
Word size of FreeCAD: 64-bit
Version: 0.21.30058 (Git)
Build type: Release
Branch: master
Hash: cb96332a64db8ae855ca700212eebb0f5151230a
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
edwilliams16
Veteran
Posts: 3080
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: conda, osx-arm64, occt7.6

Post by edwilliams16 »

I'm not sure that this is the right thread, but the Mac package is missing FreeCAD.Base.ProgressIndicator, as used in Curves|GordonSurface

Code: Select all

>>> FreeCAD.Base.ProgressIndicator()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: cannot create 'N4Base19ProgressIndicatorPyE' instances
>>> 

Code: Select all

OS: macOS High Sierra (10.13)
Word size of FreeCAD: 64-bit
Version: 0.21.29971 (Git)
Build type: Release
Branch: master
Hash: 29197f503dc8c802cd82c968d16f5e1356365bda
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * Curves 0.5.4
  * DynamicData 2.46.0
  * fasteners 0.3.51
  * fcgear 1.0.0
  * GDML 1.8.0
  * Help 1.0.3
  * lattice2 1.0.0
  * MeshRemodel 1.8919.0
  * toSketch
It works on other platforms I have tried.
Post Reply