The officially official Devuan Forum!

You are not logged in.

#1 2020-10-13 18:22:43

little
Member
Registered: 2017-06-08
Posts: 26  

Freecad Migration from Ascii to Beowulf

I recently upgraded from Ascii to Beowulf, and had some hiccups with an existing Freecad install. I might've been using Freecad from ascii-backports or just ascii. The typical error I was getting in this situation was either an error upon starting freecad from terminal, or it would open to a window with no workbenches available. Essentially blank.

I had to uninstall freecad and also purge. I manually deleted the /usr/lib/freecad-python2/lib folder. Then:

apt-get install freecad*

This didn't work because
ldd /usr/bin/freecad noted a few missing libraries (apparently freecad-python2 reinstalled, but didn't reinstall properly). so

apt-get install --reinstall freecad-python2

and then i was up and running.

The next day, it was broken upon startup.

sudo update-alternatives --config freecad 

Repaired a link in /usr/lib/freecad/bin/

Apparently the python2 binaries were broken / out of date.

Further information:
https://wiki.freecadweb.org/Power_users_hub
https://wiki.freecadweb.org/Start_up_and_Configuration

Last edited by little (2020-10-13 18:25:46)


give a man an init, he takes an os

Offline

#2 2020-10-19 08:57:26

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: Freecad Migration from Ascii to Beowulf

did you try with freecad-python3 ?
python2 is obsolete, better use python3 packages.

Offline

#3 2020-10-20 06:57:22

little
Member
Registered: 2017-06-08
Posts: 26  

Re: Freecad Migration from Ascii to Beowulf

According to https://packages.debian.org/en/buster/freecad either 2 or 3 can be used. I didn't think they would have support for both. But since you mention it, that would've been an option.


give a man an init, he takes an os

Offline

#4 2020-12-05 03:13:54

little
Member
Registered: 2017-06-08
Posts: 26  

Re: Freecad Migration from Ascii to Beowulf

More trouble. This time it was a somewhat new Beowulf install. I first tried the appimage. That worked, but then after a while it was slow.

I tried apt-get install freecad, but it didn't load the GUI. Run freecad with the -l flag for logging. The log was the following:

Msg: FreeCAD 0.18, Libs: 0.18R
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Log: Time = Fri Dec  4 20:45:38 2020
Log: AppDataSkipVendor = true
Log: AppHomePath = /usr/lib/freecad/
Log: AppIcon = freecad
Log: AppTempPath = /tmp/
Log: BinPath = /usr/lib/freecad/bin/
Log: BuildRepositoryURL = https://code.launchpad.net/~vcs-imports/freecad/trunk
Log: BuildRevision = 
Log: BuildRevisionDate = 2019/03/02 14:33:57
Log: BuildVersionMajor = 0
Log: BuildVersionMinor = 18
Log: Console = 0
Log: CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Log: Debug = 0
Log: DocPath = /usr/lib/freecad/doc/
Log: ExeName = FreeCAD
Log: ExeVendor = FreeCAD
Log: ExeVersion = 0.18
Log: LoggingFile = 1
Log: LoggingFileName = /home/user/.FreeCAD/FreeCAD.log
Log: MaintainerUrl = http://www.freecadweb.org/wiki/Main_Page
Log: PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Log: PYTHONPATH = 
Log: PythonSearchPath = :/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/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/user/.FreeCAD/system.cfg
Log: UserAppData = /home/user/.FreeCAD/
Log: UserHomePath = /home/user
Log: UserParameter = /home/user/.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/share/freecad/Mod/Sketcher... done
Log: Init:      Initializing /usr/share/freecad/Mod/ReverseEngineering... done
Log: Init:      Initializing /usr/share/freecad/Mod/Show(Init.py not found)... ignore
Log: Init:      Initializing /usr/share/freecad/Mod/Image... done
Log: Init:      Initializing /usr/share/freecad/Mod/Surface... done
Log: Init:      Initializing /usr/share/freecad/Mod/PartDesign... done
Log: Init:      Initializing /usr/share/freecad/Mod/Measure... done
Log: Init:      Initializing /usr/share/freecad/Mod/Ship(Init.py not found)... ignore
Log: Init:      Initializing /usr/share/freecad/Mod/Plot(Init.py not found)... ignore
Log: Init:      Initializing /usr/share/freecad/Mod/MeshPart... done
Log: Init:      Initializing /usr/share/freecad/Mod/OpenSCAD... done
Log: Init:      Initializing /usr/share/freecad/Mod/Fem... done
Log: Init:      Initializing /usr/share/freecad/Mod/Spreadsheet... done
Log: Init:      Initializing /usr/share/freecad/Mod/Start... done
Log: Init:      Initializing /usr/share/freecad/Mod/AddonManager... done
Log: Init:      Initializing /usr/share/freecad/Mod/Draft... done
Log: Init:      Initializing /usr/share/freecad/Mod/Test... done
Log: Init:      Initializing /usr/share/freecad/Mod/Import... done
Log: Init:      Initializing /usr/share/freecad/Mod/TechDraw... done
Log: Init:      Initializing /usr/share/freecad/Mod/Tux(Init.py not found)... ignore
Log: Init:      Initializing /usr/share/freecad/Mod/Complete... done
Log: Init:      Initializing /usr/share/freecad/Mod/Web... done
Log: Init:      Initializing /usr/share/freecad/Mod/Material... done
Log: Init:      Initializing /usr/share/freecad/Mod/Raytracing... done
Log: Init:      Initializing /usr/share/freecad/Mod/Mesh... done
Log: Init:      Initializing /usr/share/freecad/Mod/Path... done
Log: Init:      Initializing /usr/share/freecad/Mod/Part... done
Log: Init:      Initializing /usr/share/freecad/Mod/Arch... done
Log: Init:      Initializing /usr/share/freecad/Mod/Robot... done
Log: Init:      Initializing /usr/share/freecad/Mod/Points... done
Log: Init:      Initializing /usr/share/freecad/Mod/Idf... done
Log: Init:      Initializing /usr/share/freecad/Mod/Inspection... done
Log: Init:      Initializing /usr/share/freecad/Mod/Drawing... done
Log: Using /usr/share/freecad/Mod as module path!
Log: System path after init:
Log:    /usr/lib/freecad/bin
Log:    /usr/share/freecad/Mod/Sketcher
Log:    /usr/share/freecad/Mod/ReverseEngineering
Log:    /usr/share/freecad/Mod/Show
Log:    /usr/share/freecad/Mod/Image
Log:    /usr/share/freecad/Mod/Surface
Log:    /usr/share/freecad/Mod/PartDesign
Log:    /usr/share/freecad/Mod/Measure
Log:    /usr/share/freecad/Mod/Ship
Log:    /usr/share/freecad/Mod/Plot
Log:    /usr/share/freecad/Mod/MeshPart
Log:    /usr/share/freecad/Mod/OpenSCAD
Log:    /usr/share/freecad/Mod/Fem
Log:    /usr/share/freecad/Mod/Spreadsheet
Log:    /usr/share/freecad/Mod/Start
Log:    /usr/share/freecad/Mod/AddonManager
Log:    /usr/share/freecad/Mod/Draft
Log:    /usr/share/freecad/Mod/Test
Log:    /usr/share/freecad/Mod/Import
Log:    /usr/share/freecad/Mod/TechDraw
Log:    /usr/share/freecad/Mod/Tux
Log:    /usr/share/freecad/Mod/Complete
Log:    /usr/share/freecad/Mod/Web
Log:    /usr/share/freecad/Mod/Material
Log:    /usr/share/freecad/Mod/Raytracing
Log:    /usr/share/freecad/Mod/Mesh
Log:    /usr/share/freecad/Mod/Path
Log:    /usr/share/freecad/Mod/Part
Log:    /usr/share/freecad/Mod/Arch
Log:    /usr/share/freecad/Mod/Robot
Log:    /usr/share/freecad/Mod/Points
Log:    /usr/share/freecad/Mod/Idf
Log:    /usr/share/freecad/Mod/Inspection
Log:    /usr/share/freecad/Mod/Drawing
Log:    /usr/local/bin
Log:    /usr/bin
Log:    /bin
Log:    /usr/local/games
Log:    /usr/games
Log: Init: App::FreeCADInit.py done
Log: Init: Creating Gui::Application and QApplication
Log: OpenGL version is: 2.1 (2.1 Mesa 18.3.6)
Log: QXcbConnection: XCB error: 148 (Unknown), sequence: 187, resource id: 0, major code: 140 (Unknown), minor code: 20

 

Tried a bunch of stuff, but I was on VNC, and it turns out, that when I closed the laptop screen, and ran the program, Freecad would fail to load the GUI properly. If I opened the laptop screen, then it loads properly.

Just as a note, this is the first time I've seen appimages not perform up to spec. It's a 500MB appimage, so perhaps all that unpacking is not efficient. Just a guess.

When installing, I used apt-get install freecad freecad-python3

Last edited by little (2020-12-05 06:07:59)


give a man an init, he takes an os

Offline

Board footer