flathub / org.freecadweb.freecad Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://flathub.org/apps/details/org.freecadweb.FreeCAD
Home Page: https://flathub.org/apps/details/org.freecadweb.FreeCAD
The FreeCAD About dialog currently will list AppImage or Snap but not flatpak:
Shall we add it ?
Couldn't install FreeCAD 0.19 from Flathub beta repository. Only after manual installation of a runtime from Flathub Stable repository.
FreeCAD Version: 0.19_pre-22670
Flathub Beta repository
OS: Fedora Silverblue 33
Hi,
The Assembly 4 workbench has an "Export Files" function (accessible from toolbar and Assembly menu) but this requires the anytree python library which isn't currently a dependency for the FreeCAD flatpak.
Without anytree installed, attempts to use those functions present a warning in the Python Console indicating the library is missing. The relevant Assembly 4 source file for this feature (for reference purposes) is "exportFiles.py".
I understand if there's reluctance to include arbitrary dependencies into the flatpak but this does affect Assembly 4 functionality.
TIA,
Neil
I have a SpaceNavigator 3D mouse. In Blender (installed without Flatpak) it works just fine, but in FreeCAD from FlatHub it doesn't seem to work. Additionally, I don't see the "Spaceball" tabs in the settings that should be there according to https://www.freecadweb.org/wiki/3Dconnexion_input_devices#Setting_up_FreeCAD.
Is this a Flatpak permission issue? It seems that libspnav is being built by the package...
Seen: 2023-08-07T13:13 UTC
FreeCAD version: 0.21.0 rev 33675
OS: Debian 12.1 Stable
Actions taken:
Create a new file.
Select the Techdraw workbench
Select Insert Page using Template
Expected: A file selector showing the available drawing templates in the FLatpak directory.
Observed: A file selector pointing to the directory where my project was saved.
Work around:
Find the templates by hand with:
find . -name Templates /var/lib/flatpak |grep TechDraw
Then navigate to that location.
Hello, since I upgraded to 0.19, when i try to use the FEM workbench, I get the following output :
23:08:58 Traceback (most recent call last):
File "/app/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/app/freecad/Mod/Fem/femguiutils/migrate_gui.py", line 161, in exec_module
return self.load_module(module)
File "/app/freecad/Mod/Fem/femguiutils/migrate_gui.py", line 235, in load_module
import femviewprovider.view_result_mechanical
File "/app/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/app/freecad/Mod/Fem/femviewprovider/view_result_mechanical.py", line 36, in <module>
from femtaskpanels import task_result_mechanical
File "/app/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/app/freecad/Mod/Fem/femtaskpanels/task_result_mechanical.py", line 39, in <module>
import matplotlib.pyplot as plt
File "/app/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/app/lib/python3.8/site-packages/matplotlib/pyplot.py", line 36, in <module>
import matplotlib.colorbar
File "/app/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/app/lib/python3.8/site-packages/matplotlib/colorbar.py", line 44, in <module>
import matplotlib.contour as contour
File "/app/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/app/lib/python3.8/site-packages/matplotlib/contour.py", line 17, in <module>
import matplotlib.text as text
File "/app/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in<class 'ModuleNotFoundError'>: No module named 'PIL'
I am not able to set material either, getting the following output :
23:11:04 choose_material in FEM material task panel:
/app/share/Mod/Material/StandardMaterial/CalculiX-Steel.FCMat
23:11:04
23:11:05 Traceback (most recent call last):
File "/app/freecad/Mod/Fem/femtaskpanels/task_material_common.py", line 210, in accept
if checkunits(self.material) is True:
File "/app/freecad/Mod/Material/materialtools/cardutils.py", line 614, in check_mat_units
known_quantities = get_known_material_quantity_parameter()
File "/app/freecad/Mod/Material/materialtools/cardutils.py", line 335, in get_known_material_quantity_parameter
template_data = get_material_template()
File "/app/freecad/Mod/Material/materialtools/cardutils.py", line 225, in get_material_template
import yaml
File "/app/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'yaml'
Do you think this can be solved by adding the missing modules to the flatpak ?
Thank you for your work,
Guilhaume
Hi there,
I enjoy using the flatpak of freecad but wonder why collada/pycollada has been disabled? Would you accept a PR to enable it?
thanks
Simon
could you please publish the 0.20 in beta branch ?
OS: Ubuntu18.04
After I installed FreeCAD using flatpak and started the application, I got errors below:
Gtk-Message: 11:27:24.604: Failed to load module "canberra-gtk-module" Gtk-Message: 11:27:24.604: Failed to load module "canberra-gtk-module" Program received signal SIGSEGV, Segmentation fault. #0 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x385e0) [0x7fc4740035e0] #1 /usr/lib/x86_64-linux-gnu/GL/nvidia-418-56/lib/libnvidia-glcore.so.418.56(+0xdcd0ba) [0x7fc466a000ba] #2 /usr/lib/x86_64-linux-gnu/GL/nvidia-418-56/lib/libnvidia-glcore.so.418.56(+0xdcec74) [0x7fc466a01c74] #3 /usr/lib/x86_64-linux-gnu/GL/nvidia-418-56/lib/libGLX_nvidia.so.0(+0x52ad1) [0x7fc467af5ad1]
Can someone fix it?
I want to use the addon CfdOF. But the addon ask for OpenFOAM executable.
Does OpenFOAM need to be include in the FreeCAD flatpak manifest or it can be done separately?
Even though v0.20 will still support min version of Qt 5.9 I just wanted to put on the radar that the team is discussing support for Qt6, FWIW
Hello @hfiguiere I am now officially part of the FreeCAD maintainers team and we want to get this package verified on flathub. From what I understand we can do it as things are right now but I would feel more comfortable if we (as in the FreeCAD team) were in direct control of who has write access to this repo, do you know how we should proceed to get that? Is it possible? In any case I would like to have at least one more person from our team with write access here in case of my absence
first encountered in the Nixpkgs package,
i had initially opened a FreeCAD issue because a friend of mine reproduced the problem on linux mint with flatpak
however there we failed to reproduce it on windows, ubuntu and in the appimage
therefore i filed a Nixpkgs issue
and am opening this issue
the issues linked above have more details and outline steps to reproduce the problem
a similar issue occurs in the Nix package for KiCad, but not in the flatpak package for KiCad
I noticed that I can't boot FreeCAD successfully from my application menu. This while I can successfully boot it by running:
flatpak run org.freecadweb.FreeCAD
The Exec from the .desktop file:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=freecad --file-forwarding org.freecadweb.FreeCAD @@ %F @@
When I run this in the Terminal I get:
bwrap: execvp freecad: No such file or directory
I noticed that when I remove the --command=freecad
it does boot successfully.
--command=freecad
I'm on elementary OS 5.0 Juno (Built on Ubuntu 18.04.2 LTS)
Flatpak version: 1.3.1
FreeCAD version: 0.18.13500
I'm unable to use the raytracing workbench, because I can't access the external raytracers. I'm also unsure how to make it work, using raytracers installed by my distros packet manager.
FreeCAD supports the automatic generation of information about available Python modules, classes and functions of FreeCAD (see https://wiki.freecad.org/Std_PythonHelp).
The documentation can be opened via the menu item "Help -> Automatic python modules documentation" or via the Python console the command "Gui.runCommand('Std_PythonHelp',0)".
This feature works without any issue in the distribution packages but, unfortunately, not in the flatpak version.
Tracking FreeCAD packages across different distros over at this thread in the FreeCAD forum. Is there a badge that can track this package ?
FreeCAD has transitioned from freecadweb.org to freecad.org (redirects are in place from freecadweb.org to freecad.org) and users are requested to use the freecad.org domain for accessing online resources. Perhaps this project should be renamed to be consistent with this change?
If I open up the Sketcher WB all dimensional text is truncated.
If I turn of units in preferences, the text is still truncated. This is only with the Flatpak beta, when I use the weekly AppImage version it looks OK.
[code]
OS: KDE Flatpak runtime (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33038 (Git)
Build type: Release
Branch: (HEAD detached at b3b30e9)
Hash: b3b30e951b46e4dbfe0643934a0b27fb59e9bf32
Python 3.10.6, Qt 5.15.9, Coin 4.0.0, Vtk 8.2.0, OCC 7.7.1
Locale: English/United Kingdom (en_GB)
Installed mods:
When I run FreeCAD using Flatpak, I can not access any of the network shares mounted using Nautilus. There is no access to the hosts /run/user/$UID/gvfs/
directory.
If I understand flatpak/flatpak#2900 (comment) correctly, adding this line
- --filesystem=xdg-run/gvfs # needed to make GnomeVFS accessible
would fix the issue.
FreeCAD 0.18, Libs: 0.18R14555 (Git shallow)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Cannot find icon: Draft_Line
Cannot find icon: Draft_Wire
Cannot find icon: Draft_Circle
Cannot find icon: Draft_Arc
Cannot find icon: Draft_Ellipse
Cannot find icon: Draft_Polygon
Cannot find icon: Draft_Rectangle
Program received signal SIGSEGV, Segmentation fault.
#0 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x39690) [0x7f0e1d6a3690]
#1 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x164528) [0x7f0e1d7ce528]
#2 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x202f44) [0x7f0e1dc51f44]
#3 0x7f0e1dc3a3bb in QFileDevice::readData(char*, long long) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x7b
#4 0x7f0e1dc41959 in QIODevicePrivate::read(char*, long long, bool) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#5 0x7f0e1dc425b4 in QIODevice::readAll() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2a4
#6 0x7f0e1f3d37da in Gui::BitmapFactoryInst::loadPixmap(QString const&, QPixmap&) const from /app/freecad/lib/libFreeCADGui.so+0x12a
#7 0x7f0e1f3d3f72 in Gui::BitmapFactoryInst::pixmap(char const*) const from /app/freecad/lib/libFreeCADGui.so+0x5f2
#8 0x7f0e1f3d46b0 in Gui::BitmapFactoryInst::iconFromTheme(char const*, QIcon const&) from /app/freecad/lib/libFreeCADGui.so+0x80
#9 0x7f0e1f43db5b in Gui::PythonCommand::createAction() from /app/freecad/lib/libFreeCADGui.so+0x11b
#10 0x7f0e1f43c4e6 in Gui::Command::addTo(QWidget*) from /app/freecad/lib/libFreeCADGui.so+0x36
#11 0x7f0e1f4405ee in Gui::CommandManager::addTo(char const*, QWidget*) from /app/freecad/lib/libFreeCADGui.so+0x1ce
#12 0x7f0e1f728808 in Gui::ToolBarManager::setup(Gui::ToolBarItem*, QToolBar*) const from /app/freecad/lib/libFreeCADGui.so+0x248
#13 0x7f0e1f728f54 in Gui::ToolBarManager::setup(Gui::ToolBarItem*) from /app/freecad/lib/libFreeCADGui.so+0x3f4
#14 0x7f0e1f732e89 in Gui::Workbench::activate() from /app/freecad/lib/libFreeCADGui.so+0x39
#15 0x7f0e1f734438 in Gui::WorkbenchManager::activate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) from /app/freecad/lib/libFreeCADGui.so+0x28
#16 0x7f0e1f39af32 in Gui::Application::activateWorkbench(char const*) from /app/freecad/lib/libFreeCADGui.so+0x742
#17 0x7f0e1f3b8438 in Gui::Application::sActivateWorkbenchHandler(_object*, _object*) from /app/freecad/lib/libFreeCADGui.so+0x68
#18 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyMethodDef_RawFastCallKeywords+0x2c9) [0x7f0e1e7d43e9]
#19 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyCFunction_FastCallKeywords+0x28) [0x7f0e1e7d44a8]
#20 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(+0x6c9c6) [0x7f0e1e7749c6]
#21 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x5e78) [0x7f0e1e77a928]
#22 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalCodeWithName+0x8eb) [0x7f0e1e81bd7b]
#23 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyEval_EvalCodeEx+0x3e) [0x7f0e1e81bffe]
#24 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyEval_EvalCode+0x1b) [0x7f0e1e81c02b]
#25 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(+0x1b06a1) [0x7f0e1e8b86a1]
#26 /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyRun_StringFlags+0x75) [0x7f0e1e8b8755]
#27 0x7f0e1eb1ab2a in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /app/freecad/lib/libFreeCADBase.so+0x6a
#28 0x7f0e1f43cad4 in Gui::Command::doCommand(Gui::Command::DoCmd_Type, char const*, ...) from /app/freecad/lib/libFreeCADGui.so+0x134
#29 0x7f0e1f44fae2 in StdCmdWorkbench::activated(int) from /app/freecad/lib/libFreeCADGui.so+0x152
#30 0x7f0e1f440fcd in Gui::Command::invoke(int) from /app/freecad/lib/libFreeCADGui.so+0x5d
#31 0x7f0e1f42e79d in Gui::ActionGroup::onActivated(QAction*) from /app/freecad/lib/libFreeCADGui.so+0x17d
#32 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2ed6f0) [0x7f0e1dd3c6f0]
#33 0x7f0e1e1d528f in QActionGroup::triggered(QAction*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3f
#34 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x179869) [0x7f0e1e1d5869]
#35 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2ed6f0) [0x7f0e1dd3c6f0]
#36 0x7f0e1e1d1b32 in QAction::triggered(bool) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x42
#37 0x7f0e1e1d4158 in QAction::activate(QAction::ActionEvent) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xa8
#38 0x7f0e1dd345f5 in QObject::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x1d5
#39 0x7f0e1e1d7d2f in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7f
#40 0x7f0e1e1e0e60 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x330
#41 0x7f0e1f410a78 in Gui::GUIApplication::notify(QObject*, QEvent*) from /app/freecad/lib/libFreeCADGui.so+0x88
#42 0x7f0e1dd07982 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x182
#43 0x7f0e1dd0a114 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x154
#44 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x310243) [0x7f0e1dd5f243]
#45 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x293) [0x7f0e19ad0033]
#46 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x532c0) [0x7f0e19ad02c0]
#47 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7f0e19ad0363]
#48 0x7f0e1dd5e8be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x5e
#49 0x7f0e1dd0651b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x12b
#50 0x7f0e1dd0e2f2 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x92
#51 0x7f0e1f39d805 in Gui::Application::runApplication() from /app/freecad/lib/libFreeCADGui.so+0x1775
#52 /app/freecad/bin/FreeCAD(main+0x6b8) [0x555ae0bd5d08]
#53 /usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f0e1d68e173]
#54 /app/freecad/bin/FreeCAD(_start+0x2e) [0x555ae0bd607e]
This happens running Flatpak 1.6.3 on Debian Sid.
Output of flatpak list -a
:
Name Application ID Version Branch Installation
FreeCAD org.freecadweb.FreeCAD 0.18.4 stable system
Freedesktop.org Application Platform version 1.6 org.freedesktop.Platform 1.6 1.6 system
Freedesktop Platform org.freedesktop.Platform 19.08.9 19.08 system
default org.freedesktop.Platform.GL.default 19.08 system
Adwaita icon theme org.freedesktop.Platform.Icontheme.Adwaita 1.0 system
Locale org.freedesktop.Platform.Locale 1.6 system
Locale org.freedesktop.Platform.Locale 19.08 system
Intel VAAPI Driver org.freedesktop.Platform.VAAPI.Intel 1.6 system
Intel org.freedesktop.Platform.VAAPI.Intel 19.08 system
FFmpeg extension org.freedesktop.Platform.ffmpeg 1.6 system
openh264 org.freedesktop.Platform.openh264 19.08 system
openh264 org.freedesktop.Platform.openh264 2.0 system
Freedesktop SDK org.freedesktop.Sdk 19.08.9 19.08 system
Locale org.freedesktop.Sdk.Locale 19.08 system
Builder org.gnome.Builder 3.36.0 stable system
Locale org.gnome.Builder.Locale stable system
Locale org.gnome.Platform.Locale 3.34 system
GNOME Software Development Kit version 3.34 org.gnome.Sdk 3.34 system
GNOME Software Development Kit version 3.36 org.gnome.Sdk 3.36 system
Locale org.gnome.Sdk.Locale 3.34 system
Locale org.gnome.Sdk.Locale 3.36 system
Adwaita theme org.kde.KStyle.Adwaita 5.14 system
KDE Application Platform org.kde.Platform 5.14 system
Locale org.kde.Platform.Locale 5.14 system
QGnomePlatform org.kde.PlatformTheme.QGnomePlatform 5.14 system
Sources org.kde.PlatformTheme.QGnomePlatform.Sources 5.14 system
QGnomePlatform-decoration org.kde.WaylandDecoration.QGnomePlatform-decoration 5.14 system
Sources org.kde.WaylandDecoration.QGnomePlatform_decoration.Sources 5.14 system
CSG files require ply-python3.
https://wiki.freecadweb.org/OpenSCAD_Module
Trying to open a CSG file get
23:50:25 Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/app/freecad/Mod/OpenSCAD/importCSG.py", line 44, in <module>
import ply.lex as lex
<class 'ModuleNotFoundError'>: No module named 'ply'
The latest freecad flatpak commit uses Python 3.9 and a broken version of the pycollada package, which results in this error during .dae export:
Traceback (most recent call last):
File "/home/juelg/.FreeCAD/Mod/RobotExport/Export_cmd.py", line 57, in Activated
self.exportGroup(doc.Export.Group, path + u"/base_link")
File "/home/juelg/.FreeCAD/Mod/RobotExport/Export_cmd.py", line 28, in exportGroup
importDAE.export(parts, basename + u".dae")
File "/app/freecad/Mod/Arch/importDAE.py", line 327, in export
colmesh.write(filename)
File "/app/lib/python3.9/site-packages/collada/__init__.py", line 554, in write
self.save()
File "/app/lib/python3.9/site-packages/collada/__init__.py", line 524, in save
o.save()
File "/app/lib/python3.9/site-packages/collada/geometry.py", line 232, in save
if src.xmlnode not in meshnode.getchildren():
'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
The underlying problem has been fixed in pycollada 0.7.2:
pycollada/pycollada@5f235ce
To my understanding the pycollada version is not explicitly specified anywhere here or in the freecad repo, so a simple rebuild should fetch the corrected pycollada dependency and solve this issue.
If I add 'date_time' to the boost libraries, IfcOpenShell will build from git source as the last module before freecad. FreeCAD doesn't need the whole installation, just...
...installed into site-packages. It's not clear to me where the wrapper files come from, because they're not generated by the C++ build, and byte compiling still needs to be done explicitly.
The python module is packaged by architecture, and as an alternative to building from source, it can be installed like this (but not valid because it isn't portable?):
First problem: before this is committed to the cache, flatpak-builder tells me "Removing stale python bytecode file files/lib/python2.7/site-packages/ifcopenshell/geom/occ_utils.pyc" for each one I just generated. I checked... they're gone.
On the bright side: the resulting FreeCAD recognizes that IfcOpenShell is installed... no more "IfcOpenShell not found" crash when trying to open or import an IFC file.
Second problem: when I open or import an IFC file, nothing comes into the tree or the 3D view, and immediately the console says "Finished importing." On a working installation it generally takes a while, and stuff gets imported.
If I open a second Freecad window of the flatpak version, i just get a black window that doesn't respond; however, a regular freecad package will launch multiple windows just fine.
P.S. Please let me know if this sort of bug is better suited for an official Freecad bug repor rather than here, as I am unsure the proper place for this.
Unable to install Assembly3 in Freecad 0.20 (Flatpak) on Ubuntu 20.04
Upon using the addon manager-> Assembly3->Install,
and clicking yes to install the python dependencies (py-slvs) the following message pops up:
Failed to execute pip, which may be missing from your Python installation. Please ensure your system has pip installed and try again. The failed command was:
/usr/bin/python3 -m pip --version
Continue with installation of Assembly3 anyway?
Freecad version:
FreeCAD - An open source parametric 3D CAD modeler
ID: org.freecadweb.FreeCAD
Ref: app/org.freecadweb.FreeCAD/x86_64/stable
Arch: x86_64
Branch: stable
Version: 0.20.0.29177
License: LGPL-2.1
Origin: flathub
Collection: org.flathub.Stable
Installation: user
Installed: 1.0 GB
Runtime: org.kde.Platform/x86_64/5.15-21.08
Sdk: org.kde.Sdk/x86_64/5.15-21.08
Potential solution to get number of commits:
commits=$(git fetch --unshallow && git rev-list master --count)
The small startup screen and loading messages are shown but the window does not show up.
After "export -n SESSION_MANAGER" the last Qt-message vanished but window still doesn't show up.
System is default Gnome-install of Debian 12, up-to-date.
flatpak -v run org.freecadweb.FreeCAD
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/XXX/.local/share/flatpak
F: Opening user flatpak installation at path /home/XXX/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/XXX/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-23.08/ba2a33ac552c8ea85a99563f41f3a4b09a542c6b972b1a0125e11e2a731a045b/files/lib32 does not exist
F: Cleaning up unused container id 881751840
F: Cleaning up per-app-ID state for org.freecadweb.FreeCAD
F: Allocated instance id 2801906894
F: Add defaults in dir /org/freecadweb/FreeCAD/
F: Add locks in dir /org/freecadweb/FreeCAD/
F: Allowing dri access
F: Allowing host-fs access
F: Not sharing "/run/media" with sandbox: Unable to open path "/run/media": Datei oder Verzeichnis nicht gefunden
F: Not sharing "/run/spnav.sock" with sandbox: Unable to open path "/run/spnav.sock": Datei oder Verzeichnis nicht gefunden
F: Allowing x11 access
F: Running 'bwrap --args 39 xdg-dbus-proxy --args=42'
F: Running 'bwrap --args 39 FreeCAD'
FreeCAD 0.21.2, Libs: 0.21.2R33771 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Gtk-Message: 22:52:30.105: Failed to load module "canberra-gtk-module"
Gtk-Message: 22:52:30.107: Failed to load module "canberra-gtk-module"
Qt: Session management error: Could not open network socket
The applications hangs when trying to install an addon via the addon manager. The problem occurs in the git clone process.
It aborts with exit code 128 due to an invalid opcode in libgmp.so.10.4.1 (reported in the kernel log). The clone invokes the "git-remote-https" binary which is linked to GMP.
Unfortunately, it seems GMP is built using optimizations for the Intel Broadwell architecture (as can be seen in the build logs here (line 166345). I believe this will enable AVX2 or other newer instructions, leading to an illegal instruction on my Ivy Bridge system. Same issue happens on a colleague's machine (also Ivy Bridge). The issue does not popup on my Zen 3 system.
I believe this is due to auto-detection of the host architecture in the GMP configure step. The solution is probably to manually specify an (older) architecture, such as the generic "x86_64-linux-gnu".
Flatpak version of Freecad 20.1
When trying to install InventorLoader (v1.3) via "Tools -> Addon manager" the installation fails because pip is missing to install required python modules.
Error message: "Failed to execute pip, which may be missing from your Python installation. Please ensure your system has pip installed and try again."
Similar issue in relation to assembly3 workbench described here:
https://forum.freecadweb.org/viewtopic.php?f=4&t=70020
Currently blocked by: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues/684
Every time I open a document in FreeCAD, I see an error message like this:
16:53:53 Document with the UUID '2d38467b-cbb2-4db3-a735-3fc73eb2855c' already exists, change to 'e2cca819-bbd6-42e1-9ffe-930a332170db'
Because FreeCAD thinks it's a different document, AutoRecovery doesn't work.This seems to be because FreeCAD uses the PID as part of a lock file and that lockfile always has PID=2 in flatpak, so it thinks I'm opening a document with a duplicate UUID instead of the same document.
The lock file is /home/dev/.var/app/org.freecadweb.FreeCAD/cache/FreeCAD/Cache/FreeCAD_2.lock
.
When i use the "What Is This?" feature or open Help i get a dialog saying
FreeCAD help files not found (/app/freecad/doc/freecad.qhc).
You might need to install the FreeCAD documentation package.
FreeCAD segfaults when importing SVG as geometry
FreeCAD 0.18, Libs: 0.18R14555 (Git shallow)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Program received signal SIGSEGV, Segmentation fault.
#0 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x385e0) [0x7f01221375e0]
#1 /usr/lib/x86_64-linux-gnu/libexpat.so.1(XML_SetHashSalt+0x23) [0x7f011c696df3]
#2 /app/lib/python2.7/lib-dynload/pyexpat.so(+0x4da7) [0x7f00c5a88da7]
#3 /app/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x96f7) [0x7f01231bf897]
#4 /app/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x9549) [0x7f01231bf6e9]
#5 /app/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x9549) [0x7f01231bf6e9]
#6 /app/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x9549) [0x7f01231bf6e9]
#7 /app/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x712) [0x7f01231c0092]
#8 /app/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x1d) [0x7f01231c032d]
#9 /app/lib/libpython2.7.so.1.0(PyRun_StringFlags+0x7a) [0x7f01231e53ea]
#10 0x7f01233d830a in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /app/freecad/lib/libFreeCADBase.so+0x6a
#11 0x7f0123ce0567 in Gui::Command::doCommand(Gui::Command::DoCmd_Type, char const*, ...) from /app/freecad/lib/libFreeCADGui.so+0x137
#12 0x7f0123c4717a in Gui::Application::importFrom(char const*, char const*, char const*) from /app/freecad/lib/libFreeCADGui.so+0x10a
#13 0x7f0123f5f04f in Gui::MainWindow::loadUrls(App::Document*, QList<QUrl> const&) from /app/freecad/lib/libFreeCADGui.so+0x6bf
#14 0x7f0123efaf61 in Gui::View3DInventorViewer::dropEvent(QDropEvent*) from /app/freecad/lib/libFreeCADGui.so+0x81
#15 0x7f0122bf1f18 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d8
#16 0x7f0122c96d1e in QFrame::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1e
#17 0x7f0122ee3533 in QGraphicsView::viewportEvent(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x163
#18 0x7f0123ec84ab in SIM::Coin3D::Quarter::QuarterWidget::viewportEvent(QEvent*) from /app/freecad/lib/libFreeCADGui.so+0x9b
#19 0x7f012270e69b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x9b
#20 0x7f0122bb25a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x71
#21 0x7f0122bba8c4 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x10c4
#22 0x7f0123cb5110 in Gui::GUIApplication::notify(QObject*, QEvent*) from /app/freecad/lib/libFreeCADGui.so+0x90
#23 0x7f012270e989 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#24 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1d58d2) [0x7f0122c0e8d2]
#25 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1d6565) [0x7f0122c0f565]
#26 0x7f0122bb25b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x81
#27 0x7f0122bb9a10 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x210
#28 0x7f0123cb5110 in Gui::GUIApplication::notify(QObject*, QEvent*) from /app/freecad/lib/libFreeCADGui.so+0x90
#29 0x7f012270e989 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#30 0x7f0120a76fd7 in QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x97
#31 0x7f0120a5245c in QWindowSystemInterface::handleDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0xac
#32 /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x7c6ca) [0x7f011c9546ca]
#33 0x7f011c937828 in QXcbWindow::handleClientMessageEvent(xcb_client_message_event_t const*) from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5+0x348
#34 0x7f011c9226d8 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5+0x118
#35 0x7f011c9235bd in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5+0x22d
#36 /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x758a3) [0x7f011c94d8a3]
#37 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2ae) [0x7f011e7da4ae]
#38 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52748) [0x7f011e7da748]
#39 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x30) [0x7f011e7da7e0]
#40 0x7f0122762653 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x63
#41 0x7f012270d59b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x13b
#42 0x7f0122715572 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x92
#43 0x7f0123c4e630 in Gui::Application::runApplication() from /app/freecad/lib/libFreeCADGui.so+0x14f0
#44 /app/freecad/bin/FreeCAD(main+0x6b7) [0x560c23e00c27]
#45 /usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f01221233e3]
#46 /app/freecad/bin/FreeCAD(_start+0x2e) [0x560c23e00f9e]
Some initial searching leads me to believe this is a problem with libexpat:
https://forum.freecadweb.org/viewtopic.php?style=4&t=26291
https://www.freecadweb.org/tracker/view.php?id=3307
Hi, as you may know FreeCAD 0.20 will get released soon and I have some suggestion for the flatpak release
In the past we've had misunderstandings in the forum because the flatpak versions report their version number incorrectly due to the shallow cloning of the repo (#2), at least for the stable release this can be solved by using the source package instead of a shallow clone, this package is generated after preprocessing the version information so it will report it correctly. (see https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/freecad_source.tar.gz)
Also please see this (https://forum.freecadweb.org/viewtopic.php?f=10&t=66407&start=100#p597687)
- In the past we suffered from some OCC crashes. thanks to @chennes some are now fixes via OCC 7.6.2. Therefore we should try to release FreeCAD 0.20 using OCC 7.6.2 if possible. If no, this won't be a showstopper.
- our fellow contributor @tanderson69 (a.k.a. blobfish) fixed further OCC bugs. Therefore, if possible one should compile OCC using his OCC 7.6.2 release:
https://gitlab.com/blobfish/occt/-/tree/V7_6_2_BF
could you please use the 7.6.2 occt from the linked repo instead of the 7.5 from debian? There are important fixes there
Also related to occt, could you compile with rapidjson support? This is necessary to enable gltf export see https://forum.freecadweb.org/viewtopic.php?f=10&t=56487&hilit=rapidjson&start=20 and https://dev.opencascade.org/content/building-linux-rapidjson
https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.6.1.tar.gz now redirects to the downloads page, which breaks clean builds where that resource is not already cached. The version of netcdf
should either be upgraded, or the source URL changed to a mirror, such as https://www.gfd-dennou.org/library/netcdf/unidata-mirror/netcdf-4.6.1.tar.gz.
from the beta build, is this related to: #60 (comment)?
11:04:36 Addon Manager Warning: Could not import QtWebEngineWidgets, it seems to be missing from your system. Please use your system's package manager to install the python3-pyside2.qtwebengine* and python3-pyside2.qtwebchannel packages, and if possible alert your package creator to the missing dependency. Display of package README will be limited until this dependency is resolved.
Hi, fedora rawhide user here.
$ flatpak info org.freecadweb.FreeCAD
FreeCAD - An open source parametric 3D CAD modeler
ID: org.freecadweb.FreeCAD
Ref: app/org.freecadweb.FreeCAD/x86_64/stable
Arch: x86_64
Branch: stable
Version: 0.18.3
License: LGPL-2.1
Origin: flathub
Collection: org.flathub.Stable
Installation: user
Installed: 744.4 MB
Runtime: org.kde.Platform/x86_64/5.12
Sdk: org.kde.Sdk/x86_64/5.12
Commit: 2b74926f734bf59841fee5cfc3eb888fc0432babda7911937ce9494d1b65fe71
Parent: e12b47691f78b65d0fc5b33bba0f95b0d2420e473da99b2fd0874687e0955838
Subject: v0.18.3 (#10) (58c1e9fe)
Date: 2019-07-18 09:14:56 +0000
I get an immediate crash trying to open the the attached stl file
prt0001_49.stl.gz
$ flatpak run org.freecadweb.FreeCAD ~/temp/prt0001_49.stl
FreeCAD 0.18, Libs: 0.18R14555 (Git shallow)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Program received signal SIGSEGV, Segmentation fault.
#0 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x385e0) [0x7fa15c6485e0]
#1 /usr/lib/x86_64-linux-gnu/libX11.so.6(XDefaultScreenOfDisplay+0x4) [0x7fa158b4a034]
#2 /app/lib/libCoin.so.4.0.0(+0x4ac84d) [0x7fa15c19d84d]
#3 /app/lib/libCoin.so.4.0.0(glxglue_init+0x3f) [0x7fa15c19e15f]
#4 /app/lib/libCoin.so.4.0.0(cc_glglue_instance+0x233) [0x7fa15c196ce3]
#5 0x7fa15c0236b8 in SoGLRenderActionP::isDirectRendering(SoState const*) const from /app/lib/libCoin.so.4.0.0+0x48
#6 0x7fa15c025a80 in SoGLRenderActionP::render(SoNode*) from /app/lib/libCoin.so.4.0.0+0xc0
#7 0x7fa15c025cc3 in SoGLRenderAction::beginTraversal(SoNode*) from /app/lib/libCoin.so.4.0.0+0xa3
#8 0x7fa15c01ed12 in SoAction::apply(SoNode*) from /app/lib/libCoin.so.4.0.0+0x372
#9 0x7fa15e36c88d in Gui::SoBoxSelectionRenderAction::apply(SoNode*) from /app/freecad/lib/libFreeCADGui.so+0x2d
#10 0x7fa15e407435 in Gui::View3DInventorViewer::renderScene() from /app/freecad/lib/libFreeCADGui.so+0x145
#11 0x7fa15e3d62e9 in SIM::Coin3D::Quarter::QuarterWidget::paintEvent(QPaintEvent*) from /app/freecad/lib/libFreeCADGui.so+0x89
#12 0x7fa15e3ddf81 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::paintEvent(QPaintEvent*) from /app/freecad/lib/libFreeCADGui.so+0x21
#13 0x7fa15d101db8 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d8
#14 0x7fa15d1a6a5e in QFrame::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1e
#15 0x7fa15d3f2cf3 in QGraphicsView::viewportEvent(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x163
#16 0x7fa15e3d64ab in SIM::Coin3D::Quarter::QuarterWidget::viewportEvent(QEvent*) from /app/freecad/lib/libFreeCADGui.so+0x9b
#17 0x7fa15cc1f23b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x9b
#18 0x7fa15d0c25c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x71
#19 0x7fa15d0c9980 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x210
#20 0x7fa15e1c3110 in Gui::GUIApplication::notify(QObject*, QEvent*) from /app/freecad/lib/libFreeCADGui.so+0x90
#21 0x7fa15cc1f529 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#22 0x7fa15d0faa45 in QWidgetPrivate::sendPaintEvent(QRegion const&) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x35
#23 0x7fa15d0fb307 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x867
#24 0x7fa15d0fbf01 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4d1
#25 0x7fa15d0faf8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4ec
#26 0x7fa15d0fbf01 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4d1
#27 0x7fa15d0faf8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4ec
#28 0x7fa15d0fbf01 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4d1
#29 0x7fa15d0faf8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4ec
#30 0x7fa15d0fbf01 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4d1
#31 0x7fa15d0faf8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4ec
#32 0x7fa15d0fbf01 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4d1
#33 0x7fa15d0faf8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4ec
#34 0x7fa15d0fbf01 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4d1
#35 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#36 0x7fa15d0faf8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4ec
#37 0x7fa15d0fbf01 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4d1
#38 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#39 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#40 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#41 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#42 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#43 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#44 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#45 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#46 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#47 0x7fa15d0fbdf0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3c0
#48 0x7fa15d0faf8c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4ec
#49 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x18937c) [0x7fa15d0d237c]
#50 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1895b4) [0x7fa15d0d25b4]
#51 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1d5ae4) [0x7fa15d11eae4]
#52 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1d659e) [0x7fa15d11f59e]
#53 0x7fa15d0c25d1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x81
#54 0x7fa15d0c9980 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x210
#55 0x7fa15e1c3110 in Gui::GUIApplication::notify(QObject*, QEvent*) from /app/freecad/lib/libFreeCADGui.so+0x90
#56 0x7fa15cc1f529 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#57 0x7fa15af88ed6 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x96
#58 0x7fa15af8915d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x1bd
#59 0x7fa15af64b8b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0xbb
#60 /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5(+0x93fc0) [0x7fa156f12fc0]
#61 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2ae) [0x7fa158cec4ae]
#62 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52748) [0x7fa158cec748]
#63 /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x30) [0x7fa158cec7e0]
#64 0x7fa15cc731f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x63
#65 0x7fa15cc1e12b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x13b
#66 0x7fa15cc26112 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x92
#67 0x7fa15e15c630 in Gui::Application::runApplication() from /app/freecad/lib/libFreeCADGui.so+0x14f0
#68 /app/freecad/bin/FreeCAD(main+0x6b7) [0x55f5a1cbbc27]
#69 /usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fa15c6343e3]
#70 /app/freecad/bin/FreeCAD(_start+0x2e) [0x55f5a1cbbf9e]
This is the issue for aarch64 support.
tl;dr it doesn't work.
It builds, thanks to some of the changes in #35. But the build crashes on RaspberryPi. It seems that it is related to how Qt5 is build in the KDE SDK where it is build without desktop GL support. Building the SDK with GL support actually fix the problem on RaspberryPi, but not on other aarch64 platforms (I don't have any to test)
The KDE sdk issue https://invent.kde.org/packaging/flatpak-kde-runtime/-/issues/19
Please add openSCAD binary and libs with dependencies to bundle. Right now it seems impossible to import .scad files since FreeCAD require openscad binary which is using other libraries. I'm not proficient with flatpak and wasn't able to find any solution with standard tools and options.
May be this app repo might be of help: https://github.com/flathub/org.openscad.OpenSCAD
I'm about to submit a PR to build 0.19-pre. This would need to go onto the beta branch that needs to be created.
Thanks.
Some time ago FreeCAD managed to acquire the freecad.org domain and it will eventually become the main site, how complicated would it be to change the flatpak to org.freecad.FreeCAD
?
I'm getting a SIGILL in libgmp.so.10.4.1 on a Bulldozer CPU. FreeCAD 0.20.1.29410
This happens with everything that uses gnutls, which includes git, so installing addons becomes a bit tedious.
Since there's no debug info available I have no idea how to get the invalid instruction.
I also don't remember gmp having any x86 asm beyond the baseline (i.e. no AVX2 which this cpu wouldn't support), so I have no idea how this'd happen.
Here's the output from coredumpctl info
PID: 98423 (wget)
UID: 1000 (jannik)
GID: 1000 (jannik)
Signal: 4 (ILL)
Timestamp: Thu 2022-09-15 00:16:20 CEST (2s ago)
Command Line: wget https://google.com
Executable: /usr/bin/wget
Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-flatpak-org.freecadweb.FreeCAD-97506.scope
Unit: [email protected]
User Unit: app-flatpak-org.freecadweb.FreeCAD-97506.scope
Slice: user-1000.slice
Owner UID: 1000 (jannik)
Boot ID: 69d8057f8a654395b299e0a6e12b1b00
Machine ID: dc142e85a0e3df2dde020300623eeb1f
Hostname: j-galaxy
Storage: /var/lib/systemd/coredump/core.wget.1000.69d8057f8a654395b299e0a6e12b1b00.98423.1663193780000000.zst (present)
Disk Size: 324.4K
Message: Process 98423 (wget) of user 1000 dumped core.
Module /usr/bin/wget with build-id dd1bdb70c26a1c7afe96ebd83ce747e95fb0c7cd
Module /usr/lib/x86_64-linux-gnu/libresolv-2.33.so with build-id 37fbb9160d1a1f7d122eba2548b81e405dc3575e
Module /usr/lib/x86_64-linux-gnu/libnss_dns-2.33.so with build-id 01822e282b2ebbf5373d20b99266bf7fb2daf6c2
Module /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 with build-id 6dca6d6f8e253228cab3d4469a04548560f18ce4
Module /usr/lib/x86_64-linux-gnu/libselinux.so.1 with build-id 7fab7ef7348913e9d1e36ece2a659e6df1d5bf2a
Module /usr/lib/x86_64-linux-gnu/librt-2.33.so with build-id b6408705e6ec4347ab6399c880847a98af3b1c0e
Module /usr/lib/x86_64-linux-gnu/libnss_resolve.so.2 with build-id a22a218f16745447153e70306c08f24735cab9db
Module /usr/lib/x86_64-linux-gnu/libnss_files-2.33.so with build-id e527a5806160253a6313f0e47fe5a110275185be
Module /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-client.so with build-id 2e0a902fbe3ddd2bcb887c07ccb305c9f39d0162
Module /usr/lib/x86_64-linux-gnu/libdl-2.33.so with build-id 20be4ecfd5346af55ccafadf4211c2c47c496b2b
Module /usr/lib/x86_64-linux-gnu/libffi.so.7.1.0 with build-id 9409f4a8a0ef373035bf02ad335a73a0970e16b7
Module /app/lib/libgmp.so.10.4.1 with build-id ec3673c11622aa40a08cb2a65a594b7fb1717e35
Module /usr/lib/x86_64-linux-gnu/libhogweed.so.6.4 with build-id da2e1a3c32a622eaadc09325ae6ddeddbdab16da
Module /usr/lib/x86_64-linux-gnu/libtasn1.so.6.6.2 with build-id 2cd130a9b1864418413e41daaf17745b858cabc9
Module /usr/lib/x86_64-linux-gnu/libunistring.so.2.1.0 with build-id b081092317b45d39c72a209bac13f85375b19da3
Module /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0 with build-id f2fd7d4d26aedc34cb5063ba89349ec45ec6e137
Module /usr/lib/x86_64-linux-gnu/libpthread-2.33.so with build-id 97172665d1042add3adc9b120b0760258ba0aba5
Module /usr/lib/x86_64-linux-gnu/libc-2.33.so with build-id 833fec3acaa8ba63dfea79852744153ba716f8cb
Module /usr/lib/x86_64-linux-gnu/libpsl.so.5.3.3 with build-id 887ee05d92fbac1ff52dc4ddeea64c414b0b618b
Module /usr/lib/x86_64-linux-gnu/libz.so.1.2.11 with build-id 5885119a2a8097b900bdb4ca40560e892ae7ac8c
Module /usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 with build-id e46dfac77f54d1d788dded3a3aadc2a130e2e771
Module /usr/lib/x86_64-linux-gnu/libnettle.so.8.4 with build-id c5330a4ecc25167802fa655726f88a5ca5bb2619
Module /usr/lib/x86_64-linux-gnu/libidn2.so.0.3.7 with build-id a65a0e54327f3f66c006d950adb03596844c1724
Module /usr/lib/x86_64-linux-gnu/libuuid.so.1.3.0 with build-id 6b708151eb4355799495e777d3bd851ca5ffc868
Module /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.0 with build-id 32d1f4cf529f3d41fe6f6adf7bca7f0cccd6238b
Module /usr/lib/x86_64-linux-gnu/ld-2.33.so with build-id 856401969318527d829336ec391155c2ebc785c5
Module linux-vdso.so.1 with build-id fffeaf9d978a45b3de7673a54130ff9ce31ad7d1
Stack trace of thread 69:
#0 0x00007f69a65c5952 n/a (/app/lib/libgmp.so.10.4.1 + 0x5f952)
#1 0x00007f69a65e6b6b n/a (/app/lib/libgmp.so.10.4.1 + 0x80b6b)
#2 0x00007f69a65e6d89 n/a (/app/lib/libgmp.so.10.4.1 + 0x80d89)
#3 0x00007f69a658e0f4 n/a (/app/lib/libgmp.so.10.4.1 + 0x280f4)
#4 0x00007f69a661e071 n/a (/usr/lib/x86_64-linux-gnu/libhogweed.so.6.4 + 0x10071)
#5 0x00007f69a661e921 n/a (/usr/lib/x86_64-linux-gnu/libhogweed.so.6.4 + 0x10921)
#6 0x00007f69a6cc9003 n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0x153003)
#7 0x00007f69a6bf4a56 n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0x7ea56)
#8 0x00007f69a6bf8647 n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0x82647)
#9 0x00007f69a6c62ee7 n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0xecee7)
#10 0x00007f69a6c636dd n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0xed6dd)
#11 0x00007f69a6c64a9a n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0xeea9a)
#12 0x00007f69a6c6515e n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0xef15e)
#13 0x00007f69a6c75ba7 n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0xffba7)
#14 0x00007f69a6bfe17c n/a (/usr/lib/x86_64-linux-gnu/libgnutls.so.30.30.0 + 0x8817c)
#15 0x000055add331c7c0 n/a (/usr/bin/wget + 0x457c0)
#16 0x000055add32ffc7c n/a (/usr/bin/wget + 0x28c7c)
#17 0x0000003000000010 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
Here's a lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: AuthenticAMD
Model name: AMD FX(tm)-8350 Eight-Core Processor
CPU family: 21
Model: 2
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Stepping: 0
Frequency boost: enabled
CPU max MHz: 4000.0000
CPU min MHz: 1400.0000
BogoMIPS: 8029.20
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 ss
e4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb hw_pstate ssbd vmmcall bmi1 arat npt lbrv svm_lock nrip_save ts
c_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
The gmp configuration from the manifest.json
{
"name" : "gmp",
"config-opts" : [
"--enable-fat"
],
"sources" : [
{
"url" : "https://gmplib.org/download/gmp/gmp-6.2.1.tar.bz2",
"sha256" : "eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c",
"type" : "archive"
}
]
}
CalculiX is not installed.
Arch workbench has an object called Arch Site that should be able to generate Solar and wind diagrams. Long-term it seems to head toward Ladybug but according to the wiki description, there is a fallback to Pysolar. Given I got the Pysolar error it seems like none of these is present in the flatpak.
16:42:59 The pysolar module was not found. Unable to generate solar diagrams
$ flatpak info org.freecadweb.FreeCAD
FreeCAD - An open source parametric 3D CAD modeler
ID: org.freecadweb.FreeCAD
Ref: app/org.freecadweb.FreeCAD/x86_64/stable
Arch: x86_64
Branch: stable
Version: 0.20.2.29603
License: LGPL-2.1
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 1,1 GB
Runtime: org.kde.Platform/x86_64/5.15-22.08
Sdk: org.kde.Sdk/x86_64/5.15-22.08
Commit: ff725ea2feff16b83362126763f65cadc1b84f6f496ab7aa5604b1ae5efd4cb5
Parent: 29ee4f7e4e24ab3d68976377db40a377c26b9d58a1e2e923ab201de72fdd0c2e
Subject: remove unnecessary org.freecadweb.FreeCAD.Manual extension (e0c2721d)
Date: 2023-01-25 00:12:46 +0000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.