Page 1 of 1

FreeCAD PPA Daily 0.20 using 0.19 core??

Posted: Thu Jun 09, 2022 6:15 pm
by CadTheCan
Let me preface this by saying there might be something amiss on my setup, but I've uninstalled and reinstalled the "Daily" 3 times at this point.

My system: Ubuntu 22.04 LTS x64.

So I recently discovered how much of a plague "snaps" are (memory hogs, CPU hogs, instability/crashing, VERY slow startup times, slow programs, etc., etc.) and eradicated them from my Ubuntu installation. Now EVERYTHING runs so much faster, better, etc.
One of those "snaps" was FreeCAD.

The reason this is a problem is that there's a bug in Techdraw in 0.19, rendering it unusable for my needs ( https://forum.freecadweb.org/viewtopic. ... 8&start=10 ). The latest version available on the regular PPA is 0.19, so I had to find a newer branch. The only other option I found was "freecad-daily" https://launchpad.net/~freecad-maintain ... ecad-daily

Upon installing Freecad-daily, everything looks kosher. Splash screen says 0.20, the About screen says 0.20; "Copy to Clipboard" gives the following output:

Code: Select all

OS: Ubuntu 22.04 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: c9cffae11d25f0d1f1bf3c8533e757d9a65ac5d9
Python 3.10.4, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods: 
  * fasteners 0.3.43
  * sheetmetal 0.2.49
(worth noting that it does NOT show several items listed on screen in the About page, namely "Release date: 06/08/2022 18:35:00", "Branch: unknown", "Hash: c9cffae")

If I run "freecad-daily" from the Terminal, it identifies itself like this: "FreeCAD 0.20, Libs: 0.20R"

Checking the PPA versioning info returns the following ("sudo apt-cache policy freecad-daily")

Code: Select all

freecad-daily:
  Installed: 0.20~pre1~202206081835~ubuntu22.04.1
  Candidate: 0.20~pre1~202206081835~ubuntu22.04.1
  Version table:
 *** 0.20~pre1~202206081835~ubuntu22.04.1 500
        500 https://ppa.launchpadcontent.net/freecad-maintainers/freecad-daily/ubuntu jammy/main amd64 Packages
        500 https://ppa.launchpadcontent.net/freecad-maintainers/freecad-daily/ubuntu jammy/main i386 Packages
        100 /var/lib/dpkg/status
Everything looks good. That is, until I went to TechDraw for some technical drawings. And....the v0.19 bug is present! No center handles on the circles.


This is where it gets weird. I've downloaded a "weekly" AppImage of 0.20 ( FreeCAD_weekly-builds-28993-2022-06-02-conda-Linux-x86_64-py39.AppImage )---and when running this one, the bug is NOT present, I get perfect handles on all the drawing edges.
About -> "Copy to Clipboard" returns the following:

Code: Select all

OS: Ubuntu 22.04 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.28993 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 6d92e53)
Hash: 6d92e532bcc31c99a0ab4c153ff00b6414b8f527
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * fasteners 0.3.43
  * sheetmetal 0.2.49
(interestingly, this matches up with what I see on the screen)
And, weirder yet, the AppImage is noticeably faster than the PPA download. It's Terminal version info is: "FreeCAD 0.20, Libs: 0.20R28993 (Git)"



Obviously, I can simply use the AppImage (can be a bit frustrating when trying to change TechDraw templates, as the default files are buried in the AppImage mount...but hey, that's minor!)

Just wondering if anyone has a clue what's going on?

Re: FreeCAD PPA Daily 0.20 using 0.19 core??

Posted: Thu Jun 09, 2022 6:20 pm
by Kunda1
Heads-up: PPA is missing a maintainer: https://forum.freecadweb.org/viewtopic.php?f=42&t=69055

Re: FreeCAD PPA Daily 0.20 using 0.19 core??

Posted: Fri Jun 10, 2022 3:53 am
by adrianinsaval
The Ubuntu packages are basically broken. You could try the flatpak too but it takes up quite a lot of space.

Re: FreeCAD PPA Daily 0.20 using 0.19 core??

Posted: Fri Jun 10, 2022 9:00 am
by M4x
I recommend using the AppImage: AppImage

Re: FreeCAD PPA Daily 0.20 using 0.19 core??

Posted: Mon Jun 13, 2022 1:22 am
by CadTheCan
Thanks for the answers...just wanted to make sure I wasn't missing something.

AppImage works great. Just doesn't "install" to the system, but hey, for free....!

...makes me wonder how the AppImage can work so well, but Snaps are such poor slow memory hogs.

Re: FreeCAD PPA Daily 0.20 using 0.19 core??

Posted: Mon Jun 13, 2022 3:47 am
by M4x
To integrate AppImages into your system, have a look at AppImageLauncher https://github.com/TheAssassin/AppImageLauncher