[Solved] Nothing works under OpenSUSE Leap 15.1

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

[Solved] Nothing works under OpenSUSE Leap 15.1

Post by Pauvres_honteux »

Hi, anyone knows what happened to latest FreeCAD downloaded from
/science/OpenSUSE_Leap_15.1/
/science:/unstable/OpenSUSE_Leap_15.1/
(see https://build.opensuse.org/package/show ... eeCAD-test)
?

OS: openSUSE Leap 15.1 (KDE//usr/share/xsessions/default)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.Unknown
Build type: Release
Python version: 3.6.5
Qt version: 5.9.7
Coin version: 4.0.0
OCC version: 7.4.0



When opening FreeCAD and changing from WB "Start" to "PartDesign" I get this:
PartDesign_start_20200322_092627.png
PartDesign_start_20200322_092627.png (9.31 KiB) Viewed 908 times

Code: Select all

Report view:

Wizard shaft module cannot be loaded
/usr/lib64/FreeCAD/lib64/Sketcher.so: undefined symbol: _ZNK22Geom_ElementarySurface4AxisEv
Traceback (most recent call last):
  File "<string>", line 50, in Initialize


Python console:

Python 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC] on linux
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> Gui.runCommand('Std_ViewStatusBar',1)
>>> Gui.runCommand('Std_ViewStatusBar',0)
>>> Gui.runCommand('Std_Workbench',22)
>>> Gui.runCommand('Std_ViewStatusBar',1)
>>> ### Begin command Std_Workbench
>>> Gui.activateWorkbench("PartDesignWorkbench")
>>> ### End command Std_Workbench
>>> 
Switching to WB "Part" gives this:
PartDesign_start_20200322_092627.png
PartDesign_start_20200322_092627.png (9.31 KiB) Viewed 908 times

Code: Select all

Report view:

/usr/lib64/FreeCAD/lib64/Sketcher.so: undefined symbol: _ZNK22Geom_ElementarySurface4AxisEv
Traceback (most recent call last):
  File "<string>", line 43, in Initialize


Python console:

Python 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC] on linux
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> ### Begin command Std_Workbench
>>> Gui.activateWorkbench("PartWorkbench")
>>> ### End command Std_Workbench
>>> 
Switching to WB "Draft" gives this:

Code: Select all

Report view:

/usr/lib64/FreeCAD/lib64/Part.so: undefined symbol: _ZNK22Geom_ElementarySurface8PositionEvError: Initializing one or more of the Draft modules failed, Draft will not work as expected.
Unknown command 'Draft_Line'
Unknown command 'Draft_Wire'
Unknown command 'Draft_ArcTools'
Unknown command 'Draft_Circle'
Unknown command 'Draft_Ellipse'
Unknown command 'Draft_Rectangle'
Unknown command 'Draft_Polygon'
Unknown command 'Draft_BSpline'
Unknown command 'Draft_BezierTools'
Unknown command 'Draft_Point'
Unknown command 'Draft_Facebinder'
Unknown command 'Draft_Text'
Unknown command 'Draft_ShapeString'
Unknown command 'Draft_Dimension'
Unknown command 'Draft_Label'
Unknown command 'Draft_Move'
Unknown command 'Draft_Rotate'
Unknown command 'Draft_Offset'
Unknown command 'Draft_Trimex'
Unknown command 'Draft_Join'
Unknown command 'Draft_Split'
Unknown command 'Draft_Upgrade'
Unknown command 'Draft_Downgrade'
Unknown command 'Draft_Scale'
Unknown command 'Draft_Edit'
Unknown command 'Draft_SubelementHighlight'
Unknown command 'Draft_WireToBSpline'
Unknown command 'Draft_Draft2Sketch'
Unknown command 'Draft_Shape2DView'
Unknown command 'Draft_ArrayTools'
Unknown command 'Draft_Clone'
Unknown command 'Draft_Drawing'
Unknown command 'Draft_Mirror'
Unknown command 'Draft_Stretch'
Unknown command 'Draft_Line'
Unknown command 'Draft_Wire'
Unknown command 'Draft_ArcTools'
Unknown command 'Draft_Circle'
Unknown command 'Draft_Ellipse'
Unknown command 'Draft_Rectangle'
Unknown command 'Draft_Polygon'
Unknown command 'Draft_BSpline'
Unknown command 'Draft_BezierTools'
Unknown command 'Draft_Point'
Unknown command 'Draft_Facebinder'
Unknown command 'Draft_Text'
Unknown command 'Draft_ShapeString'
Unknown command 'Draft_Dimension'
Unknown command 'Draft_Label'
Unknown command 'Draft_Move'
Unknown command 'Draft_Rotate'
Unknown command 'Draft_Offset'
Unknown command 'Draft_Trimex'
Unknown command 'Draft_Join'
Unknown command 'Draft_Split'
Unknown command 'Draft_Upgrade'
Unknown command 'Draft_Downgrade'
Unknown command 'Draft_Scale'
Unknown command 'Draft_Edit'
Unknown command 'Draft_SubelementHighlight'
Unknown command 'Draft_WireToBSpline'
Unknown command 'Draft_Draft2Sketch'
Unknown command 'Draft_Shape2DView'
Unknown command 'Draft_ArrayTools'
Unknown command 'Draft_Clone'
Unknown command 'Draft_Drawing'
Unknown command 'Draft_Mirror'
Unknown command 'Draft_Stretch'
Unknown command 'Draft_Layer'
Unknown command 'Draft_Heal'
Unknown command 'Draft_FlipDimension'
Unknown command 'Draft_ToggleConstructionMode'
Unknown command 'Draft_ToggleContinueMode'
Unknown command 'Draft_Edit'
Unknown command 'Draft_Slope'
Unknown command 'Draft_SetWorkingPlaneProxy'
Unknown command 'Draft_AddConstruction'
Unknown command 'Draft_ApplyStyle'
Unknown command 'Draft_ToggleDisplayMode'
Unknown command 'Draft_AddToGroup'
Unknown command 'Draft_SelectGroup'
Unknown command 'Draft_SelectPlane'
Unknown command 'Draft_ShowSnapBar'
Unknown command 'Draft_ToggleGrid'
Unknown command 'Draft_AutoGroup'


Python console:

Python 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC] on linux
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> ### Begin command Std_Workbench
>>> Gui.activateWorkbench("DraftWorkbench")
>>> ### End command Std_Workbench
>>> 
Last edited by Pauvres_honteux on Thu May 21, 2020 10:27 am, edited 1 time in total.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Nothing works under OpenSUSE Leap 15.1

Post by triplus »

Hi @Pauvres_honteux

That looks like a packaging issue, best to contact the package maintainer.

P.S. AppImage should likely work.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Nothing works under OpenSUSE Leap 15.1

Post by Kunda1 »

Link to AppImage
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Nothing works under OpenSUSE Leap 15.1

Post by Pauvres_honteux »

Got it working after Adrian Schröter downgraded libopencascade 7 from version 7.5~pre to version 7.4.0 in repository science:unstable.
To downgrade one must do the following as a superuser in a console:

# zypper lr (Gives you the list of repositories registered on your system. If you, like me, have the repository science:unstable deactivated, you must activate it first, either via the command line or graphically via YAST)

# zypper dup --from science:unstable (read the instructions carefully)
Post Reply