Ubuntu snap: A quick try
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Ubuntu snap: A quick try
I wanted to test the snap package update process and after your changes but it seems the snap package updates are not published yet?
- vejmarie
- Posts: 713
- Joined: Mon Jan 04, 2016 4:52 pm
- Location: Somewhere between France, USA and Taiwan
- Contact:
Re: Ubuntu snap: A quick try
Yes it needs manual ubuntu approval as it is requiring user home directory interfaces .triplus wrote:I wanted to test the snap package update process and after your changes but it seems the snap package updates are not published yet?
It shall come up within 1 day or 2 ...
vejmarie
ps: if you follow the link you can't get it ?
- vejmarie
- Posts: 713
- Joined: Mon Jan 04, 2016 4:52 pm
- Location: Somewhere between France, USA and Taiwan
- Contact:
Re: Ubuntu snap: A quick try
@triplus: I just received a mail from ubuntu telling me that the update is online. So you might give it a try.
Re: Ubuntu snap: A quick try
I can confirm the update works as advertised.vejmarie wrote:@triplus: I just received a mail from ubuntu telling me that the update is online. So you might give it a try.
- vejmarie
- Posts: 713
- Joined: Mon Jan 04, 2016 4:52 pm
- Location: Somewhere between France, USA and Taiwan
- Contact:
Re: Ubuntu snap: A quick try
Thanks for the try ! And happy that it worked . Still need to wait for wmayer and ickby to make work the SMESH7 on windows to resync everything. I do not really know where to put the vagrant build instruction. I pushed for a PR, but without any success up to now (the code is dirty, but wanted to get feedbacks). Loved to see SMESH 7 moving forward.
Re: Ubuntu snap: A quick try
Although I do not like these snaps, I gave it a try. The installation worked great (ubuntu 16.04). Running this version gave me some small errors. Maybe you can have a look:
But I don't like this:
such a good solution.
Ps.: maybe you have a look at conda. It has similar features like snaps, but 1: has smaller app-sizes, 2: not every app is in it's own enviroment (instead one can create environments to run different versions, where dependencies are simple links), 3: works on linux/ mac / windows. So it's a different approach to solve a similar problem.
Code: Select all
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Draft workbench activated
FreeCAD: gl.cpp:2354: const cc_glglue* cc_glglue_instance(int): Assertion `current_ctx && "Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa bug.)"' failed.
Code: Select all
>>> import numpy
>>> numpy.__file__
'/snap/freecad/4/usr/lib/python2.7/dist-packages/numpy/__init__.pyc'
Ps.: maybe you have a look at conda. It has similar features like snaps, but 1: has smaller app-sizes, 2: not every app is in it's own enviroment (instead one can create environments to run different versions, where dependencies are simple links), 3: works on linux/ mac / windows. So it's a different approach to solve a similar problem.
Re: Ubuntu snap: A quick try
http://snapcraft.io/
Note that we are listed under Popular snaps category!
Note that we are listed under Popular snaps category!
Re: Ubuntu snap: A quick try
It looks like better desktop integration support just landed:
https://developer.ubuntu.com/en/blog/20 ... launchers/
https://developer.ubuntu.com/en/blog/20 ... launchers/
-
- Posts: 13
- Joined: Sat Jul 09, 2016 10:34 pm
Re: Ubuntu snap: A quick try
:~$ freecad.FreeCAD
mkdir: cannot create directory '/home/username /snap/freecad/4/.config': File exists
FreeCAD 0.17, Libs: 0.17R7744 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
---------------------------
:~$ gnome-panel --version
gnome-panel 3.18.2
ubuntu-gnome 16.04 64 with proposed updates active.
My graphic card is a nvidia gtx750ti
I can provide extra sudo lshw if needed
I thougt it works, but I have just click on new button and program crash, terminal says:
FreeCAD: gl.cpp:2354: const cc_glglue* cc_glglue_instance(int): Assertion `current_ctx && "Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa bug.)"' failed.
Abortado (`core' generado)
mkdir: cannot create directory '/home/username /snap/freecad/4/.config': File exists
FreeCAD 0.17, Libs: 0.17R7744 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
---------------------------
:~$ gnome-panel --version
gnome-panel 3.18.2
ubuntu-gnome 16.04 64 with proposed updates active.
My graphic card is a nvidia gtx750ti
I can provide extra sudo lshw if needed
I thougt it works, but I have just click on new button and program crash, terminal says:
FreeCAD: gl.cpp:2354: const cc_glglue* cc_glglue_instance(int): Assertion `current_ctx && "Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa bug.)"' failed.
Abortado (`core' generado)
- vejmarie
- Posts: 713
- Joined: Mon Jan 04, 2016 4:52 pm
- Location: Somewhere between France, USA and Taiwan
- Contact:
Re: Ubuntu snap: A quick try
Hi,jacquesclouseau wrote::~$ freecad.FreeCAD
mkdir: cannot create directory '/home/username /snap/freecad/4/.config': File exists
FreeCAD 0.17, Libs: 0.17R7744 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
---------------------------
:~$ gnome-panel --version
gnome-panel 3.18.2
ubuntu-gnome 16.04 64 with proposed updates active.
My graphic card is a nvidia gtx750ti
I can provide extra sudo lshw if needed
I thougt it works, but I have just click on new button and program crash, terminal says:
FreeCAD: gl.cpp:2354: const cc_glglue* cc_glglue_instance(int): Assertion `current_ctx && "Must have a current GL context when instantiating cc_glglue!! (Note: if you are using an old Mesa GL version, set the environment variable COIN_GL_NO_CURRENT_CONTEXT_CHECK to get around what may be a Mesa bug.)"' failed.
Abortado (`core' generado)
Thanks for the feedback and sorry for the issue you are facing. the GL error are really strange to me. Are you running ubuntu Desktop ? Can you provide me the output of lsmod command ?
vejmarie