Daily PPA for 0.19

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
kkremitzki
Veteran
Posts: 2517
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Daily PPA for 0.19

Post by kkremitzki »

No, I've mentioned this before: the only reason for the individual listing of files is because the tool that spits out the list of files which were generated but not installed into any package does it that way, so that's what I copied & pasted and then sliced up into the various debian/*.install files. The reason I didn't just use plain * to pick up everything was because there are some files which have to go in other packages. However, *.py is a fine substitution for the freecad-runtime.install package manifest, it's just that we need to have one for every directory which has a Python file, which is a rather tedious change I didn't do. It could also be automated pretty handily but fixing that has been waiting on my to-do list.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Daily PPA for 0.19

Post by sgrogan »

kkremitzki wrote: Sat Sep 28, 2019 6:02 pm No, I've mentioned this before: the only reason for the individual listing of files is because the tool that spits out the list of files which were generated but not installed into any package does it that way, so that's what I copied & pasted and then sliced up into the various debian/*.install files. The reason I didn't just use plain * to pick up everything was because there are some files which have to go in other packages. However, *.py is a fine substitution for the freecad-runtime.install package manifest, it's just that we need to have one for every directory which has a Python file, which is a rather tedious change I didn't do. It could also be automated pretty handily but fixing that has been waiting on my to-do list.
No worries, time is tight for most of us.

Maybe a strategy could be if someone makes a pull request to add/remove/rename a file they could look at that particular workbench and migrate to a *.py installation? That way it could be fixed incrementally?
"fight the good fight"
bkw
Posts: 31
Joined: Tue Mar 01, 2016 12:18 am

Re: Daily PPA for 0.19

Post by bkw »

Today I get this (from "apt update", and also from "apt remove freecad-daily ;apt autoremove ;apt install freecad-daily" :

Code: Select all

...
Preparing to unpack .../00-freecad-daily-common_0.19~pre1~201910040547~ubuntu19.04.1_all.deb ...
Unpacking freecad-daily-common (0.19~pre1~201910040547~ubuntu19.04.1) ...
Selecting previously unselected package freecad-daily-runtime.
Preparing to unpack .../01-freecad-daily-runtime_0.19~pre1~201910040547~ubuntu19.04.1_all.deb ...
Unpacking freecad-daily-runtime (0.19~pre1~201910040547~ubuntu19.04.1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-T0tH9C/01-freecad-daily-runtime_0.19~pre1~201910040547~ubuntu19.04.1_all.deb (--unpack):
 trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC2X3.json', which is also in package freecad-daily-common 0.19~pre1~201910040547~ubuntu19.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-T0tH9C/01-freecad-daily-runtime_0.19~pre1~201910040547~ubuntu19.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I force install freecad-daily-runtime with --force-overwrite, it shows which files collide:

Code: Select all

# apt -o Dpkg::Options::="--force-overwrite" install freecad-daily-runtime

Unpacking freecad-daily-runtime (0.19~pre1~201910040547~ubuntu19.04.1) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC2X3.json', which is also in package freecad-daily-common 0.19~pre1~201910040547~ubuntu19.04.1
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC4.json', which is also in package freecad-daily-common 0.19~pre1~201910040547~ubuntu19.04.1
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/ifc_types_IFC2X3.json', which is also in package freecad-daily-common 0.19~pre1~201910040547~ubuntu19.04.1
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/ifc_types_IFC4.json', which is also in package freecad-daily-common 0.19~pre1~201910040547~ubuntu19.04.1
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/profiles.csv', which is also in package freecad-daily-common 0.19~pre1~201910040547~ubuntu19.04.1
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/pset_definitions.csv', which is also in package freecad-daily-common 0.19~pre1~201910040547~ubuntu19.04.1
I am also getting https://forum.freecadweb.org/viewtopic.php?f=4&t=39236 when I click on a sketch in the tree on the left. The sketch IS displayed in the view panel, just I also get that error in a console error popup window.

Code: Select all

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/share/freecad-daily/Mod/Show/__init__.py", line 3, in <module>
    from .mTempoVis import TempoVis
<class 'ModuleNotFoundError'>: No module named 'Show.mTempoVis'
ViewProviderSketch::setEdit: could not import Show module. Visibility automation will not work.
About -> Copy to clipboard:

Code: Select all

OS: Ubuntu 19.04 (LXQt/lxqt)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.7.3
Qt version: 5.12.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Daily PPA for 0.19

Post by vocx »

bkw wrote: Sat Oct 05, 2019 3:20 am Today I get this (from "apt update", and also from "apt remove freecad-daily ;apt autoremove ;apt install freecad-daily" :

Code: Select all

dpkg: error processing archive /tmp/apt-dpkg-install-T0tH9C/01-freecad-daily-runtime_0.19~pre1~201910040547~ubuntu19.04.1_all.deb (--unpack):
 trying to overwrite '/usr/share/freecad-daily/Mod/Arch/Presets/ifc_products_IFC2X3.json', which is also in package freecad-daily-common 0.19~pre1~201910040547~ubuntu19.04.1
Yes, the main packager is looking into this at the moment. The daily package has been broken for about a month. So hold tight, in the following days and weeks you should expect to see more daily updates, maybe with errors still. If you really need to use the latest code, probably the AppImage or self compilation (CompileOnUnix) is a better option at the moment.

old TempoVis.py in recent builds
kkremitzki wrote: Fri Oct 04, 2019 10:02 pm I removed those because, in my testing trying to fix the builds, I was getting errors about them not being present. There's a bug somewhere screwing with all this.
kkremitzki wrote: Sat Oct 05, 2019 12:27 am That was the idea with the distinction between freecad-runtime and freecad-common files, with freecad-runtime being meant to solely have Python files. But there's no need for that, in retrospect, so eventually I'll combine the two and just have freecad-common, I think. With 0.19 there will be a break in the binary packages, i.e. libfreecad-python3-0.18 will have its name changed, so that would be a good time to do it.
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.
User avatar
kkremitzki
Veteran
Posts: 2517
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Daily PPA for 0.19

Post by kkremitzki »

I have the time to hopefully get this resolved this weekend, but unfortunately this last fix has broken things even worse :(
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
bkw
Posts: 31
Joined: Tue Mar 01, 2016 12:18 am

Re: Daily PPA for 0.19

Post by bkw »

Thank you. No crisis on my part, just reporting.
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Daily PPA for 0.19

Post by freecad-heini-1 »

kkremitzki wrote: Sat Oct 05, 2019 4:30 pm I have the time to hopefully get this resolved this weekend, but unfortunately this last fix has broken things even worse :(
Thank you very much kkremitzki. The daily-builds for Ubuntu 18.04 now works better. The Arch Workbench can be started again, Sketch can be edited from the model tree. Unfortunately there is a bad bug, because if you try to open a Freecad file it crashes immediately. Also, there is still no version number.

Code: Select all

OS: Ubuntu 18.04.3 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Best regards
Wilfried
User avatar
kkremitzki
Veteran
Posts: 2517
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Daily PPA for 0.19

Post by kkremitzki »

That's good news. The version number issue I expected to still be present as a packaging bug. However for the crash issue, does that also happen when one builds from source, does anyone know?
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Daily PPA for 0.19

Post by wandererfan »

kkremitzki wrote: Tue Oct 08, 2019 3:26 pm However for the crash issue, does that also happen when one builds from source, does anyone know?
It appears so.
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Daily PPA for 0.19

Post by freecad-heini-1 »

kkremitzki wrote: Tue Oct 08, 2019 3:26 pm That's good news. The version number issue I expected to still be present as a packaging bug. However for the crash issue, does that also happen when one builds from source, does anyone know?
Unfortunately the bug has not been fixed yet.
Best regards
Wilfried
Post Reply