PPA problem updating to Release of 0.18

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
iogui
Posts: 95
Joined: Tue Mar 19, 2019 3:44 pm
Location: São Paulo
Contact:

Re: PPA problem updating to Release of 0.18

Post by iogui »

@kkremtzki, you are not counting with qt5 from universe repository, right?

https://packages.ubuntu.com/xenial/qt5-default

Ok... So I think I will have to reinstall all my system to be able to use FreeCAD with python 3. :(
Be the change you want to see in the world. - Mahatma Gandhi
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: PPA problem updating to Release of 0.18

Post by kkremitzki »

Yeah, the problem is that it's version 5.5.1 when I think 5.9+ is required.
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.
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: PPA problem updating to Release of 0.18

Post by jmaustpc »

kkremitzki wrote: Sun Apr 07, 2019 4:20 pm Yeah, the problem is that it's version 5.5.1 when I think 5.9+ is required.
How much of a problem do you think there might be with Python add-ons being py2 only or py3 only? I read here others seemed to be saying that you could write code that would work in both but I have no idea myself. If it is likely that there will be compatibility problems then perhaps another answer could be to modify the add-ons installer so that it only offers add-ons to suit the python version available, rather than making FreeCAD Py3 available everywhere where it is very difficult/impossible. Or is this pretty much a non-issue?
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: PPA problem updating to Release of 0.18

Post by kkremitzki »

Hmm, given that Python 2 is EOL on January 1st it's probably not worth it to spend too much time on it for how much we would gain.
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.
reox
Posts: 929
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: PPA problem updating to Release of 0.18

Post by reox »

+1 for python3 only.
Porting code from py2 to py3 is challenging but has to be done only once. Supporting both versions results in many hours of frustration :D
doubters
Posts: 168
Joined: Fri Mar 18, 2016 12:53 pm

Re: PPA problem updating to Release of 0.18

Post by doubters »

Behavior of FreeCAD at launch after updating from stable PPA on clear profile:
Attachments
freecad0181.gif
freecad0181.gif (300.87 KiB) Viewed 1495 times
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: PPA problem updating to Release of 0.18

Post by kkremitzki »

It's strange that there are no error messages being displayed... when you say "with a clear profile" do you mean you've tried temporarily moving your ~/.FreeCAD directory? Can you try running dpkg -l | grep freecad?
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.
doubters
Posts: 168
Joined: Fri Mar 18, 2016 12:53 pm

Re: PPA problem updating to Release of 0.18

Post by doubters »

Deleted ~/.FreeCAD and ~/.config/FreeCAD for clear experiment.

$ dpkg -l | grep freecad
ii freecad 2:0.18.1+dfsg1~201904061907~ubuntu18.04.1 all Extensible Open Source CAx program
ii freecad-common 2:0.18.1+dfsg1~201904061907~ubuntu18.04.1 all Extensible Open Source CAx program - common files
ii freecad-daily 0.18~rc+git201903150150~ubuntu18.04.1 amd64 Extensible Open Source CAx program (beta)
ii freecad-daily-doc 0.18~rc+git201903150150~ubuntu18.04.1 all FreeCAD documentation
ii freecad-python2 2:0.18.1+dfsg1~201904061907~ubuntu18.04.1 amd64 Extensible Open Source CAx program - Python 2 binaries
ii freecad-python3 2:0.18.1+dfsg1~201904061907~ubuntu18.04.1 amd64 Extensible Open Source CAx program - Python 3 binaries
ii freecad-runtime 2:0.18.1+dfsg1~201904061907~ubuntu18.04.1 all Extensible Open Source CAx program - runtime files
ii libfreecad-python2-0.18 2:0.18.1+dfsg1~201904061907~ubuntu18.04.1 amd64 Extensible Open Source CAx program - Python 2 library files
ii libfreecad-python3-0.18 2:0.18.1+dfsg1~201904061907~ubuntu18.04.1 amd64 Extensible Open Source CAx program - Python 3 library files

Running FreeCAD with worked profile:
Attachments
freecad0181-2.gif
freecad0181-2.gif (859.37 KiB) Viewed 1478 times
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: PPA problem updating to Release of 0.18

Post by NormandC »

Pasting the terminal output in plain text here would be more useful than this animated GIF, which goes too fast for us to see.
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: PPA problem updating to Release of 0.18

Post by kkremitzki »

Yes, the relevant error messages flash by and there's no rewind or playback controls.
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.
Post Reply