PPA problem updating to Release of 0.18

Having trouble installing or compiling FreeCAD? Get help here.
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

Postby iogui » Sun Apr 07, 2019 4:05 pm

@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
Posts: 2167
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: PPA problem updating to Release of 0.18

Postby kkremitzki » 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.
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
Posts: 10368
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: PPA problem updating to Release of 0.18

Postby jmaustpc » Sun Apr 07, 2019 4:36 pm

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
Posts: 2167
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: PPA problem updating to Release of 0.18

Postby kkremitzki » Sun Apr 07, 2019 5:04 pm

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: 884
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: PPA problem updating to Release of 0.18

Postby reox » Sun Apr 07, 2019 5:22 pm

+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: 81
Joined: Fri Mar 18, 2016 12:53 pm

Re: PPA problem updating to Release of 0.18

Postby doubters » Tue Apr 09, 2019 5:39 am

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

Re: PPA problem updating to Release of 0.18

Postby kkremitzki » Tue Apr 09, 2019 6:07 am

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: 81
Joined: Fri Mar 18, 2016 12:53 pm

Re: PPA problem updating to Release of 0.18

Postby doubters » Tue Apr 09, 2019 6:55 am

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 363 times
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: PPA problem updating to Release of 0.18

Postby NormandC » Wed Apr 10, 2019 3:29 am

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
Posts: 2167
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: PPA problem updating to Release of 0.18

Postby kkremitzki » Wed Apr 10, 2019 3:48 am

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.