Good morning, I have been using FreeCAD 1.0 AppImage and would prefer an installed program basically because when an update is available, I will be notified and the updated files will be installed. I downloaded FreeCAD 1.0 from the Flatpak installer but the program fails to start. I tried to start the FreeCAD 1.0 installation from the terminal and I get the following error:-
$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=FreeCAD --file-forwarding org.freecad.FreeCAD - --single-instance @@ %F @@
F: Can't get document portal mount path
FreeCAD 1.0.0, Libs: 1.0.0R39109 (Git)
(C) 2001-2024 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
Sheet Metal workbench loaded
Qt: Session management error: Could not open network socket
During initialization the error "No module named 'PySide2'" occurred in /home/barry/.var/app/org.freecad.FreeCAD/data/FreeCAD/Mod/Help/./InitGui.py
Please look into the log file for further information
Migrating Start Workbench to Start command... done.
Program received signal SIGSEGV, Segmentation fault.
#0 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x3ee80) [0x7f4119651e80]
#1 /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6(+0x1b164a) [0x7f411afb164a]
#2 0x7f411afb1f08 in QBoxLayout::minimumSize() const from /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6+0x38
#3 /app/lib/python3.11/site-packages/PySide6/QtWidgets.cpython-311-x86_64-linux-gnu.so(+0x567222) [0x7f40f4967222]
#4 0x7f411afd1a7d in QLayout::totalMinimumSize() const from /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6+0xbd
#5 /app/lib/python3.11/site-packages/PySide6/QtWidgets.cpython-311-x86_64-linux-gnu.so(+0x580ec6) [0x7f40f4980ec6]
#6 0x7f411afd4388 in qSmartMinSize(QWidget const*) from /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6+0x48
#7 0x7f411afd9d7e in QStackedLayout::minimumSize() const from /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6+0x5e
#8 0x7f411afd1a7d in QLayout::totalMinimumSize() const from /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6+0xbd
#9 0x7f411b1e22bf in QTabWidget::minimumSizeHint() const from /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6+0x8f
#10 /app/lib/python3.11/site-packages/PySide6/QtWidgets.cpython-311-x86_64-linux-gnu.so(+0x4f6b10) [0x7f40f48f6b10]
#11 0x7f411afd4388 in qSmartMinSize(QWidget const*) from /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6+0x48
#12 /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6(+0x3b7155) [0x7f411b1b7155]
#13 /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6(+0x3b756d) [0x7f411b1b756d]
#14 /app/lib/python3.11/site-packages/PySide6/QtWidgets.cpython-311-x86_64-linux-gnu.so(+0x468dac) [0x7f40f4868dac]
#15 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c3116) [0x7f411b7c3116]
#16 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyObject_MakeTpCall+0x97) [0x7f411b7c2f17]
#17 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x2db6) [0x7f411b706196]
#18 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x2d2176) [0x7f411b8d2176]
#19 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xaa) [0x7f411b8d222a]
#20 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x2d3960) [0x7f411b8d3960]
#21 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x353b) [0x7f411b70691b]
#22 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x2d2176) [0x7f411b8d2176]
#23 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xaa) [0x7f411b8d222a]
#24 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x2d2b24) [0x7f411b8d2b24]
#25 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x2d2c1b) [0x7f411b8d2c1b]
#26 /usr/lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyRun_StringFlags+0x74) [0x7f411b8d2ed4]
#27 0x7f411bd6e92e in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /app/freecad/lib/libFreeCADBase.so+0x6e
#28 0x7f411ce4bea7 in Gui::Application::runInitGuiScript() from /app/freecad/lib/libFreeCADGui.so+0x47
#29 0x7f411cf6e27e in Gui::StartupPostProcess::showMainWindow() from /app/freecad/lib/libFreeCADGui.so+0xde
#30 0x7f411cf6f24d in Gui::StartupPostProcess::execute() from /app/freecad/lib/libFreeCADGui.so+0x6d
#31 0x7f411ce5cb9b in Gui::Application::runApplication() from /app/freecad/lib/libFreeCADGui.so+0x52b
#32 FreeCAD(+0x9607) [0x5597adf8f607]
#33 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x2808a) [0x7f411963b08a]
#34 /usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x7f411963b14b]
#35 FreeCAD(+0x9955) [0x5597adf8f955]
I hope I have done the correct thing here by posting this error, can anyone assist me please? Thank you.
FlatPak FreeCAD 1.0 Error Loading (MXLinux)
FlatPak FreeCAD 1.0 Error Loading (MXLinux)
MX-21.2.1 default user, Toshiba Qosmio F60 model laptop, Boot 5.10.0-19 BTRFS amd-64 Sysytem.
Re: FlatPak FreeCAD 1.0 Error Loading (MXLinux)
Since it starts normally on my computer, we'll need more information about yours to troubleshoot.
Please run Quick System Info from the menu and post the results here, (as per the Forum rules).
Please run Quick System Info from the menu and post the results here, (as per the Forum rules).
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Re: FlatPak FreeCAD 1.0 Error Loading (MXLinux)
Code: Select all
Snapshot created on: 20250317_1001
System:
Kernel: 6.1.0-34-amd64 [6.1.135-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.1.0-34-amd64 root=UUID=<filter> ro rootflags=subvol=@
quiet splash init=/lib/systemd/systemd
Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel, plank wm: xfwm v: 4.20.0 vt: 7
dm: LightDM v: 1.32.0 Distro: MX-23.6_x64 Libretto January 21 2024 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Laptop System: TOSHIBA product: Qosmio F60 v: PQF65A-05M02W serial: <superuser required>
Chassis: type: 10 v: Version 1.0 serial: <superuser required>
Mobo: TOSHIBA model: Portable PC v: Version A0 serial: <superuser required> BIOS: TOSHIBA
v: Version 2.60 date: 09/08/2010
Battery:
ID-1: BAT1 charge: 36.5 Wh (100.0%) condition: 36.5/44.3 Wh (82.4%) volts: 10.8 min: 10.8
model: G71C000BE310 type: Li-ion serial: <filter> status: full
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: discharging
Device-2: hidpp_battery_1 model: Logitech Wireless Mouse serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
Info: model: Intel Core i7 Q 740 bits: 64 type: MT MCP arch: Nehalem gen: core 1 level: v2
built: 2008-10 process: Intel 45nm family: 6 model-id: 0x1E (30) stepping: 5 microcode: 0xA
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB
desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 932 high: 933 min/max: 933/1734 boost: enabled scaling: driver: acpi-cpufreq
governor: ondemand cores: 1: 931 2: 931 3: 933 4: 931 5: 933 6: 933 7: 931 8: 933 bogomips: 27663
Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: reg_file_data_sampling status: Not affected
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: conditional; RSB
filling; PBRSB-eIBRS: Not affected; BHI: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GT216M [GeForce GT 330M] vendor: Toshiba driver: nouveau v: kernel non-free:
series: 340.xx status: legacy (EOL) last: release: 340.108 kernel: 5.4 xorg: 1.20 arch: Tesla
process: 40-80nm built: 2006-13 pcie: gen: 2 speed: 5 GT/s lanes: 16 ports:
active: HDMI-A-1,LVDS-1 empty: VGA-1 bus-ID: 01:00.0 chip-ID: 10de:0a2b class-ID: 0300
temp: 56.0 C
Device-2: Silicon Motion - Taiwan (formerly Feiya ) USB 2.0 PC Cam type: USB driver: uvcvideo
bus-ID: 1-1.4:4 chip-ID: 090c:537b class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 3286x1080 s-dpi: 96 s-size: 870x286mm (34.25x11.26") s-diag: 916mm (36.06")
Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary,right model: Samsung C24F390 serial: <filter>
built: 2015 res: 1920x1080 hz: 60 dpi: 94 gamma: 1.2 size: 521x293mm (20.51x11.54")
diag: 598mm (23.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
Monitor-2: LVDS-1 pos: left res: 1366x768 hz: 60 size: N/A modes: max: 1366x768 min: 640x350
API: OpenGL v: 3.3 Mesa 22.3.6 renderer: NVA5 direct-render: Yes
Audio:
Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Toshiba 5
driver: snd_hda_intel bus-ID: 2-1.2.1:4 v: kernel bus-ID: 00:1b.0 chip-ID: 046d:0a04
chip-ID: 8086:3b56 class-ID: 0300 class-ID: 0403
Device-2: NVIDIA GT216 HDMI Audio vendor: Toshiba driver: snd_hda_intel v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0be2 class-ID: 0403
Device-3: Logitech V20 portable speakers (USB powered) type: USB
driver: hid-generic,snd-usb-audio,usbhid
API: ALSA v: k6.1.0-34-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active tools: pw-cat,pw-cli,wpctl
Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse) tools: pacat,pactl,pavucontrol
Network:
Device-1: Realtek RTL8191SEvB Wireless LAN driver: rtl8192se v: kernel modules: wl pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8172 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Toshiba driver: r8169
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 06:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: eth0 state: down mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
Device-1: Toshiba Integrated Bluetooth HCI type: USB driver: btusb v: 0.8 bus-ID: 1-1.1:5
chip-ID: 0930:0508 class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 1.2 lmp-v: 2.1
sub-v: 149c hci-v: 2.1 rev: 149c
Info: acl-mtu: 310:10 sco-mtu: 64:8 link-policy: rswitch hold sniff park
link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
telephony
Drives:
Local Storage: total: 1.82 TiB used: 1.25 TiB (68.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT2000MX500SSD1 size: 1.82 TiB block-size:
physical: 4096 B logical: 512 B speed: 1.5 Gb/s type: SSD serial: <filter> rev: 032 scheme: MBR
Partition:
ID-1: / raw-size: 263.33 GiB size: 263.33 GiB (100.00%) used: 101.49 GiB (38.5%) fs: btrfs
dev: /dev/sda5 maj-min: 8:5
ID-2: /home raw-size: 263.33 GiB size: 263.33 GiB (100.00%) used: 101.49 GiB (38.5%) fs: btrfs
dev: /dev/sda5 maj-min: 8:5
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 9.3 GiB used: 1.2 MiB (0.0%) priority: -2 dev: /dev/sda6
maj-min: 8:6
Sensors:
System Temperatures: cpu: 55.0 C mobo: N/A gpu: nouveau temp: 56.0 C
Fan Speeds (RPM): cpu: 3870
Repos:
Packages: 2864 pm: dpkg pkgs: 2837 libs: 1500 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 27
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
No active apt repos in: /etc/apt/sources.list.d/home:iDesmI:more.list
Active apt repos in: /etc/apt/sources.list.d/megasync.list
1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_12/ ./
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mx.debian.nz/mx/repo/ bookworm main non-free
Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
Info:
Processes: 324 Uptime: 2h 56m wakeups: 27 Memory: 7.68 GiB used: 3.19 GiB (41.5%) Init: systemd
v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
MX-21.2.1 default user, Toshiba Qosmio F60 model laptop, Boot 5.10.0-19 BTRFS amd-64 Sysytem.
Re: FlatPak FreeCAD 1.0 Error Loading (MXLinux)
Because of this bit
Delete or move the /home/barry/.var/app/org.freecad.FreeCAD/ folder and FreeCad should start up.
I suspect the problem has to do with the Appimage and Flatpak using the same location (~/.var/app/org.freecad.FreeCAD/data/FreeCAD) for their config files. You see a new FreeCad Flatpak install doesn't have a Mod folder in that path.During initialization the error "No module named 'PySide2'" occurred in /home/barry/.var/app/org.freecad.FreeCAD/data/FreeCAD/Mod/Help/./InitGui.py
Delete or move the /home/barry/.var/app/org.freecad.FreeCAD/ folder and FreeCad should start up.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
[SOLVED] FlatPak FreeCAD 1.0 Error Loading (MXLinux)
Your a champion, I was not sure where to look, thank you
MX-21.2.1 default user, Toshiba Qosmio F60 model laptop, Boot 5.10.0-19 BTRFS amd-64 Sysytem.
- Eadwine Rose
- Administrator
- Posts: 14427
- Joined: Wed Jul 12, 2006 2:10 am
Re: FlatPak FreeCAD 1.0 Error Loading (MXLinux)
Please, next time, post code like this: [code]code output here[/code]
Or you can select the code and tick the </> button (it's next to the quote)
Thanks.
Or you can select the code and tick the </> button (it's next to the quote)
Thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
- FullScale4Me
- Posts: 1006
- Joined: Fri Jan 08, 2021 11:30 pm
Re: FlatPak FreeCAD 1.0 Error Loading (MXLinux)
"And in other news" - it looks like FreeCAD 1.0 is in Trixie.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10