[0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

[0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by NormandC »

FreeCAD 0.17 was officially released on April 06, 2018. We updated the freecad-stable PPA package from v0.16.6712 to v0.17.13509 on Monday, April 09.

What's new with freecad 0.17 stable is that it is now based on the latest Open Cascade Technology (occt) 7.2.0. Unfortunately these occt packages are incompatible with occt 7.1.0 which was provided with the freecad-daily builds. We didn't have a choice but to force removal of occt 7.1.0 packages on end users' systems who also have freecad-daily installed, which in turn will remove the freecad-daily package.

The next day debuted the v0.18_pre development cycle on the freecad-daily PPA, and we synchronized its occt version with the one from freecad-stable. However users who updated freecad-stable first will need to install the freecad-daily package back.

On another note, a new freecad-legacy PPA was set up to continue to offer v0.16.

The reasoning is that documents made under v0.16 PartDesign (PD) must be migrated to v0.17 in order to edit them. Simple feature edits won't require migration, but if you want to add new PD features, a migration wizard will launch and offer you to migrate the document automatically. This causes no trouble if the document only contains PartDesign features; however, if it contains a mix of PartDesign features and objects made in the Part workbench (for example Boolean operations between PD features), then the automatic migration process will most likely fail and may leave the model in a broken state. In this case it is best to migrate the document manually, but this will require some work depending on the document's complexity, and a good working knowledge will be necessary.

For less experienced users, we feel it will be preferable to continue to work on v0.16 models using FreeCAD 0.16. Or, you can post on the Help forum for help on manually migrating your models to v0.17.

To sum it up, there are now 3 PPA which can be installed concurrently:
  • freecad-stable : offers the latest "stable" release, to this date 0.17.13509, package name freecad ;
  • freecad-daily : offers the latest development version compiled from source almost daily, right now tagged 0.18~beta, package name freecad-daily ;
  • freecad-legacy : will offer legacy versions of FreeCAD, obviously a single package is available right now, package name freecad-0.16.
We're sorry for the inconvenience.
User avatar
hardeeprai
Posts: 177
Joined: Sun May 23, 2010 2:41 pm
Location: Ludhiana, Punjab, India
Contact:

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by hardeeprai »

NormandC wrote: Fri Apr 13, 2018 3:17 am
  • freecad-daily : offers the latest development version compiled from source almost daily, right now tagged 0.18~beta, package name freecad-daily ;
I was able to install 0.17 stable, but on trying to install 0.18, I got following error (Please suggest what can be done for 0.18):

:~/Drawings/FreeCAD$ sudo apt-get install freecad-daily
[sudo] password for XYX:
Reading package lists... Done
Building dependency tree
Reading state information... Done
freecad-daily is already the newest version (0.18~beta1+git201804122057~ubuntu16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up freecad-daily (0.18~beta1+git201804122057~ubuntu16.04.1) ...
File "/usr/lib/freecad-daily/Mod/Draft/DraftTools.py", line 1617
msg(translate("draft", "Pick radius:")"\n")
^
SyntaxError: invalid syntax

dpkg: error processing package freecad-daily (--configure):
subprocess installed post-installation script returned error exit status 101
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
freecad-daily
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
H.S.Rai
User avatar
onesz
Posts: 99
Joined: Fri Nov 11, 2011 8:40 am

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by onesz »

Exactly same problem.

GITHUB issue:

https://github.com/FreeCAD/FreeCAD-library/issues/226
User avatar
onesz
Posts: 99
Joined: Fri Nov 11, 2011 8:40 am

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by onesz »

0.17 installed, but if click on to the new document
and try to made a new scetch the I have this log file and all collaps:

Code: Select all

09 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Log: Time = Fri Apr 13 17:11:33 2018
Log: AppDataSkipVendor = true
Log: AppHomePath = /usr/lib/freecad/
Log: AppIcon = freecad
Log: AppTempPath = /tmp/
Log: BinPath = /usr/lib/freecad/bin/
Log: BuildRepositoryURL = git://github.com/FreeCAD/FreeCAD.git releases/FreeCAD-0-17
Log: BuildRevision = 13509 (Git)
Log: BuildRevisionBranch = releases/FreeCAD-0-17
Log: BuildRevisionDate = 2018/04/06 08:48:37
Log: BuildRevisionHash = 0258808ccb6ba3bd5ea9312f79cd023f1a8671b7
Log: BuildVersionMajor = 0
Log: BuildVersionMinor = 17
Log: Console = 0
Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##


Log: Debug = 0
Log: DocPath = /usr/lib/freecad/doc/
Log: ExeName = FreeCAD
Log: ExeVendor = FreeCAD
Log: ExeVersion = 0.17
Log: LoggingFile = 1
Log: LoggingFileName = /home/hh/.FreeCAD/FreeCAD.log
Log: MaintainerUrl = http://www.freecadweb.org/wiki/Main_Page
Log: PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Log: PYTHONPATH = 
Log: PythonSearchPath = :/usr/bin/../lib/python2.7/:/usr/bin/../lib/python2.7/plat-x86_64-linux-gnu:/usr/bin/../lib/python2.7/lib-tk:/usr/bin/../lib/python2.7/lib-old:/usr/bin/../lib/python2.7/lib-dynload
Log: RunMode = Gui
Log: SplashAlignment = Bottom|Left
Log: SplashInfoColor = #c8c8c8
Log: SplashScreen = freecadsplash
Log: SplashTextColor = #ffffff
Log: StartWorkbench = StartWorkbench
Log: SystemParameter = /home/hh/.FreeCAD/system.cfg
Log: UserAppData = /home/hh/.FreeCAD/
Log: UserHomePath = /home/hh
Log: UserParameter = /home/hh/.FreeCAD/user.cfg
Log: Verbose = 
Log: Create Application
Log: Run App init script
Log: Init: starting App::FreeCADInit.py
Log: Init:   Searching for modules...
Log: Init:      Initializing /usr/lib/freecad/Mod/Sketcher... done
Log: Init:      Initializing /usr/lib/freecad/Mod/ReverseEngineering... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Show(Init.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/Image... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Surface... done
Log: Init:      Initializing /usr/lib/freecad/Mod/PartDesign... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Measure... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Ship(Init.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/Web... done
Log: Init:      Initializing /usr/lib/freecad/Mod/MeshPart... done
Log: Init:      Initializing /usr/lib/freecad/Mod/OpenSCAD... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Fem... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Spreadsheet... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Start... done
Log: Init:      Initializing /usr/lib/freecad/Mod/AddonManager... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Draft... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Test... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Import... done
Log: Init:      Initializing /usr/lib/freecad/Mod/TechDraw... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Tux(Init.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/Complete... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Plot(Init.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/Material... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Raytracing... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Mesh... done
Log: Init:      Initializing /home/hh/.FreeCAD/Mod/SheetMetal... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Path... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Part... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Arch... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Robot... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Points... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Idf... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Inspection... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Drawing... done
Log: Using /usr/lib/freecad/Mod as module path!
Log: System path after init:
Log:    /usr/lib/freecad/bin
Log:    /usr/lib/freecad/Mod/Sketcher
Log:    /usr/lib/freecad/Mod/ReverseEngineering
Log:    /usr/lib/freecad/Mod/Show
Log:    /usr/lib/freecad/Mod/Image
Log:    /usr/lib/freecad/Mod/Surface
Log:    /usr/lib/freecad/Mod/PartDesign
Log:    /usr/lib/freecad/Mod/Measure
Log:    /usr/lib/freecad/Mod/Ship
Log:    /usr/lib/freecad/Mod/Web
Log:    /usr/lib/freecad/Mod/MeshPart
Log:    /usr/lib/freecad/Mod/OpenSCAD
Log:    /usr/lib/freecad/Mod/Fem
Log:    /usr/lib/freecad/Mod/Spreadsheet
Log:    /usr/lib/freecad/Mod/Start
Log:    /usr/lib/freecad/Mod/AddonManager
Log:    /usr/lib/freecad/Mod/Draft
Log:    /usr/lib/freecad/Mod/Test
Log:    /usr/lib/freecad/Mod/Import
Log:    /usr/lib/freecad/Mod/TechDraw
Log:    /usr/lib/freecad/Mod/Tux
Log:    /usr/lib/freecad/Mod/Complete
Log:    /usr/lib/freecad/Mod/Plot
Log:    /usr/lib/freecad/Mod/Material
Log:    /usr/lib/freecad/Mod/Raytracing
Log:    /usr/lib/freecad/Mod/Mesh
Log:    /home/hh/.FreeCAD/Mod/SheetMetal
Log:    /usr/lib/freecad/Mod/Path
Log:    /usr/lib/freecad/Mod/Part
Log:    /usr/lib/freecad/Mod/Arch
Log:    /usr/lib/freecad/Mod/Robot
Log:    /usr/lib/freecad/Mod/Points
Log:    /usr/lib/freecad/Mod/Idf
Log:    /usr/lib/freecad/Mod/Inspection
Log:    /usr/lib/freecad/Mod/Drawing
Log:    /usr/local/sbin
Log:    /usr/local/bin
Log:    /usr/sbin
Log:    /usr/bin
Log:    /sbin
Log:    /bin
Log:    /usr/games
Log:    /usr/local/games
Log:    /snap/bin
Log: Init: App::FreeCADInit.py done
Log: Init: Creating Gui::Application and QApplication
Log: Local server 'FreeCAD' started
Log: X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    154 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id:  0x0
Log: QGLTempContext: Unable to create GL context.
Log: This system does not support framebuffer objects
Log: X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    154 (Uknown extension)
  Minor opcode: 24 (Unknown request)
  Resource id:  0x0
Log: This system does not support pbuffers
Log: X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    154 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id:  0x0
Log: QGLTempContext: Unable to create GL context.
Log: OpenGL version 3.0 or higher is present
Log: Run Gui init script
Log: Init: Running FreeCADGuiInit.py start script...
Log: Init:   Searching modules...
Log: Init:      Initializing /usr/lib/freecad/Mod/Sketcher... done
Log: Init:      Initializing /usr/lib/freecad/Mod/ReverseEngineering... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Show(InitGui.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/Image... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Surface... done
Log: Init:      Initializing /usr/lib/freecad/Mod/PartDesign... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Measure(InitGui.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/Ship... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Web... done
Log: Init:      Initializing /usr/lib/freecad/Mod/MeshPart... done
Log: Init:      Initializing /usr/lib/freecad/Mod/OpenSCAD... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Fem... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Spreadsheet... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Start... done
Log: Init:      Initializing /usr/lib/freecad/Mod/AddonManager... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Draft... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Test... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Import... done
Log: Init:      Initializing /usr/lib/freecad/Mod/TechDraw... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Tux... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Complete... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Plot... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Material... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Raytracing... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Mesh... done
Log: Init:      Initializing /home/hh/.FreeCAD/Mod/SheetMetal... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Path... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Part... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Arch... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Robot... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Points... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Idf(InitGui.py not found)... ignore
Log: Init:      Initializing /usr/lib/freecad/Mod/Inspection... done
Log: Init:      Initializing /usr/lib/freecad/Mod/Drawing... done
Log: Init: Loading FreeCAD GUI
Log: Init: Running FreeCADGuiInit.py start script... done
Log: Init: Activating default workbench StartWorkbench
Log: Loading GUI of Web module... done
Log: Loading GUI of Start module... done
Log: Loading Start module... done
Log: Init: Showing main window
Log: Main window restored
Log: Show main window
Log: Toolbars restored
Log: Couldn't connect to spacenav daemon
Log: Init: Entering event loop
Log: Init: Processing command line files
Log: X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    154 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id:  0x0
Log: X Error: GLXBadContext 169
  Extension:    154 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x2e0008e
Log: QGLContext::makeCurrent(): Failed.
Log: X Error: GLXBadContext 169
  Extension:    154 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id:  0x2e0008e
Log: QGLContext::makeCurrent(): Failed.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by sgrogan »

hardeeprai wrote: Fri Apr 13, 2018 4:56 am msg(translate("draft", "Pick radius:")"\n")
^
SyntaxError: invalid syntax
There was a FreeCAD bug, that's is now fixed in master. I am surprised that this caused installation to fail though :?
This problem will be fixed with the next update.
"fight the good fight"
cflin
Posts: 56
Joined: Sun May 14, 2017 10:21 pm

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by cflin »

I am still getting the same error when trying to update FC18 on Ubuntu 16.04.4:

Code: Select all

Setting up freecad-daily (0.18~beta1+git201804122057~ubuntu16.04.1) ...
  File "/usr/lib/freecad-daily/Mod/Draft/DraftTools.py", line 1617
    msg(translate("draft", "Pick radius:")"\n")
                                             ^
SyntaxError: invalid syntax

dpkg: error processing package freecad-daily (--configure):
 subprocess installed post-installation script returned error exit status 101
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by sgrogan »

cflin wrote: Fri Apr 13, 2018 7:05 pm I am still getting the same error when trying to update FC18 on Ubuntu 16.04.4:
Are you sure the update was published to Launchpad when you tried?
I ran

Code: Select all

sudo apt-get update
sudo apt-get install freecad-daily
OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13524 (Git)
Build type: None
Branch: master
Hash: 04a7f566fe71dcad8fda92af2f467d3cc211a372
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
"fight the good fight"
cflin
Posts: 56
Joined: Sun May 14, 2017 10:21 pm

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by cflin »

I posted my previous posting right after I updated and saw the error. Since then, I received another update (the second one) today. That latter update seems to have fixed the above error, but it generated another error, this time in the installation of the docs:

Code: Select all

Processing 1 changed doc-base file...
Error in `/usr/share/doc-base/freecad-daily-development-documentation', line 14: `Index' value missing for format `html'.
Note: `install-docs --verbose --check file_name' may give more details about the above error.
Since I can get the documentation online, this new error is not that important.

This is what I am getting after the second update today, which seems to be less than two hours old as I am typing this:

OS: Ubuntu 16.04.4 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13524 (Git)
Build type: None
Branch: master
Hash: 04a7f566fe71dcad8fda92af2f467d3cc211a372
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
reox
Posts: 929
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by reox »

I tried to upgrade my freecad-daily today. But only the freecad-daily-docs got installed with version 0.18 - for the freecad-daily package I get some errros that occt is not going to be installed. This might be due to other stuff and I can resolve this.
But would it not be better if the -docs package would be tied to the freecad-daily package? So if you install version X.Y of freecad-daily, the version X.Y of freecad-daily-docs is installed too and vice versa? I do not see the point of having a newer -docs package:

Code: Select all

ii  freecad-daily                           0.17~beta1+git2018040620 amd64                    Extensible Open Source CAx program (beta)
ii  freecad-daily-doc                       0.18~beta1+git2018041316 all                      FreeCAD documentation
User avatar
kkremitzki
Veteran
Posts: 2509
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: [0.17 release/0.18 daily/0.16 legacy] Ubuntu PPA users please read this

Post by kkremitzki »

Try sudo apt remove \*opencascade\* and re-attempt upgrading freecad-daily.
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