Conda AppImage: all base WBs up to date?

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
herbk
Veteran
Posts: 2661
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Conda AppImage: all base WBs up to date?

Post by herbk »

Hi,
I set up a new System with OpenSuse 15.1 beta, where only the conda AppImage works, atm it's

OS: openSUSE Leap 15.1Beta
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16079 (Git) AppImage
Build type: Release
Branch: master
Hash: 6363c90a20b296ab69d7b52230009928199d90df
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)


The most things i try'd are working like expected, but some are not. :(
Especially at the Path WB i have a lot of bugs where are in mind that they are fixed since some time... So for me it looks like Path is not up to date at Conda.

Also i can't customate the toolbar. At the menue where to select the WB where the tool comes from only a few WBs apere, but a lot of not (also not base WBs like Draft)
Gruß Herbert
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Conda AppImage: all base WBs up to date?

Post by looo »

herbk wrote: Tue Mar 12, 2019 7:03 pmLeap 15.1Beta
Maybe a bit too beta? ;)
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Conda AppImage: all base WBs up to date?

Post by sgrogan »

herbk wrote: Tue Mar 12, 2019 7:03 pm Also i can't customate the toolbar. At the menue where to select the WB where the tool comes from only a few WBs apere, but a lot of not (also not base WBs like Draft)
This works different with QT5/PY3, the Python WB's show up some different. I think it was me and easy-fc that discussed this in the forum. I will search for the thread.
"fight the good fight"
herbk
Veteran
Posts: 2661
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Conda AppImage: all base WBs up to date?

Post by herbk »

Hi looo,
looo wrote: Tue Mar 12, 2019 8:21 pm
herbk wrote: Tue Mar 12, 2019 7:03 pmLeap 15.1Beta
Maybe a bit too beta? ;)
Not for that issues... :) that are deffently Path releated issues - like not evenly divided milling pathes, ignored options...
Gruß Herbert
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Conda AppImage: all base WBs up to date?

Post by sgrogan »

sgrogan wrote: Tue Mar 12, 2019 8:34 pm This works different with QT5/PY3, the Python WB's show up some different. I think it was me and easy-fc that discussed this in the forum. I will search for the thread.
Couldn't find the thread, but this is how it works.
You need to activate the workbench for it to show up in the menu. Even then pure python stuff like the the draft workbench show up under the Python menu entry.
"fight the good fight"
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Conda AppImage: all base WBs up to date?

Post by triplus »

Note that when it comes to FreeCAD 0.18 development builds you still have an option to use Py2/Qt4 AppImage. I could imagine some general Py3/Qt5 bugs will still be detected by people, when it comes to FreeCAD 0.18.
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: Conda AppImage: all base WBs up to date?

Post by easyw-fc »

It seems that in AppImage there is something missing:
1) yaml module seems missing
testing:
import yaml
Traceback (most recent call last):
File "<input>", line 1, in <module>
ModuleNotFoundError: No module named 'yaml'
2) SSL not working for urllib
We failed to reach a server.
Reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)
It would be nice to have those fixed for the 0.18 release deploy
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Conda AppImage: all base WBs up to date?

Post by looo »

easyw-fc wrote: Tue Mar 12, 2019 10:08 pm 1) yaml module seems missing
testing:
I guess we don't depend on this module officially. Where is it used?

Code: Select all

We failed to reach a server.
Reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)
where is this coming from?
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: Conda AppImage: all base WBs up to date?

Post by easyw-fc »

yaml is already bundled with ' FreeCAD_0.18.16085_Conda_Py3QT5-WinVS2015_x64.7z' and 'FreeCAD_0.18.16085_x64_dev_win.7z'
yaml is used by some external wbs and by many FC step model generators for KiCAD libraries

the SSL error message is coming when using urlopen with AppImage (it is working fine with Win Std & Conda build)
here a sample code generating the error in AppImage

Code: Select all

import urllib
from urllib import request, error #URLError, HTTPError
url='https://github.com/FreeCAD/FreeCAD/releases'
req = request.Request(url)
try:
    response = request.urlopen(req)
    resp_ok = True
    the_page = response.read().decode("utf-8") 
except error.HTTPError as e:
    FreeCAD.Console.PrintWarning('The server couldn\'t fulfill the request.')
    FreeCAD.Console.PrintWarning('Error code: ' + str(e.code)+'\n')
except error.URLError as e:
    FreeCAD.Console.PrintWarning('We failed to reach a server.\n')
    FreeCAD.Console.PrintWarning('Reason: '+ str(e.reason)+'\n')
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Conda AppImage: all base WBs up to date?

Post by NormandC »

easyw-fc wrote: Tue Mar 12, 2019 11:04 pm yaml is used by some external wbs
Among them BOLTSFC. https://forum.freecadweb.org/viewtopic.php?f=3&t=34818
Post Reply