Development version: You need a shiboken-based type.

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
xhalo32
Posts: 7
Joined: Fri May 04, 2018 4:22 am
Location: Espoo, Finland
Contact:

Development version: You need a shiboken-based type.

Post by xhalo32 »

When opening FreeCAD I get the following error:

During initialization the error "You need a shiboken-based type." occurred in /tmp/.mount_FreeCAaArigZ/usr/Mod/Tux/InitGui.py
Please look into the log file for further information
connect failed: No such file or directory


And once I open the draft workbench I get:

Error: 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_Fillet'
Unknown command 'Draft_Circle'
Unknown command 'Draft_ArcTools'
Unknown command 'Draft_Ellipse'
Unknown command 'Draft_Polygon'
Unknown command 'Draft_Rectangle'
Unknown command 'Draft_Text'
Unknown command 'Draft_Dimension'
Unknown command 'Draft_BSpline'
Unknown command 'Draft_Point'
Unknown command 'Draft_ShapeString'
...

There are no draft tools available in the menu...

OS: Arch Linux (i3//usr/share/xsessions/i3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18353 (Git) AppImage
Build type: Release
Branch: master
Hash: 5de6763ed5889bfec76994e77d9c71b362448790
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Development version: You need a shiboken-based type.

Post by Kunda1 »

There were some commits recently done for cmake and pyside2, this may be a regression caused by them. Thanks for reporting.
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
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Development version: You need a shiboken-based type.

Post by vocx »

xhalo32 wrote: Mon Sep 30, 2019 7:47 am Version: 0.19.18353 (Git) AppImage
This seems like a packaging error for the AppImage. The program compiled from sources seems to work well, and has all files.

Code: Select all

OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18356 (Git)
Build type: Release
Branch: master
Hash: 12335c7d52376c140c5328d57902d2c0afdeb588
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Maybe you can do the file system extraction described in AppImage, and report if all files seem to be in the appropriate directories Mod/Tux and Mod/Draft.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
ezzieyguywuf
Posts: 656
Joined: Tue May 19, 2015 1:11 am

Re: Development version: You need a shiboken-based type.

Post by ezzieyguywuf »

Kunda1 wrote: Mon Sep 30, 2019 12:38 pm There were some commits recently done for cmake and pyside2, this may be a regression caused by them. Thanks for reporting.
Thanks for the ping, but at a glance this doesn’t appear to be a cmake issue. I’ll take a deeper look at home, but I doubt it’s related to the cmake changes.

If anyone else discovers otherwise please feel free to ping me again.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Development version: You need a shiboken-based type.

Post by looo »

Looking at the date of the first post, I guess this should be solved already.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Development version: You need a shiboken-based type.

Post by Kunda1 »

xhalo32 wrote: Mon Sep 30, 2019 7:47 am
Can you still reproduce? If not, please make it a habit to mark your threads [Solved]. Thanks!
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
Post Reply