Ubuntu snap: A quick try

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
vejmarie
Posts: 551
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: Ubuntu snap: A quick try

Postby vejmarie » Sun Jul 10, 2016 7:59 pm

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)
Hi,

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
jacquesclouseau
Posts: 13
Joined: Sat Jul 09, 2016 10:34 pm

Re: Ubuntu snap: A quick try

Postby jacquesclouseau » Mon Jul 11, 2016 9:18 am

Hi, I am running ubuntu GNOME desktop


:~$ lsmod
Module Size Used by
snd_seq_dummy 16384 0
nvidia_uvm 630784 0
snd_hda_codec_hdmi 53248 1
gpio_ich 16384 0
coretemp 16384 0
kvm_intel 172032 0
input_leds 16384 0
kvm 536576 1 kvm_intel
joydev 20480 0
irqbypass 16384 1 kvm
snd_hda_codec_via 24576 1
snd_hda_codec_generic 77824 1 snd_hda_codec_via
snd_hda_intel 36864 5
snd_hda_codec 135168 4 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel
serio_raw 16384 0
snd_hda_core 73728 5 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_hwdep 16384 1 snd_hda_codec
snd_rawmidi 32768 1 snd_seq_midi
i7core_edac 24576 0
edac_core 53248 2 i7core_edac
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
lpc_ich 24576 0
snd_seq 69632 3 snd_seq_midi_event,snd_seq_dummy,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
snd 81920 21 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 16384 1 snd
asus_atk0110 20480 0
8250_fintek 16384 0
shpchp 36864 0
mac_hid 16384 0
nf_log_ipv6 16384 5
xt_hl 16384 22
ip6t_rt 16384 3
nf_conntrack_ipv6 20480 8
nf_defrag_ipv6 36864 1 nf_conntrack_ipv6
ip6t_REJECT 16384 3
nf_reject_ipv6 16384 1 ip6t_REJECT
nf_log_ipv4 16384 5
nf_log_common 16384 2 nf_log_ipv4,nf_log_ipv6
xt_LOG 16384 10
xt_limit 16384 13
xt_tcpudp 16384 18
xt_addrtype 16384 4
nf_conntrack_ipv4 16384 8
nf_defrag_ipv4 16384 1 nf_conntrack_ipv4
xt_conntrack 16384 16
ipt_REJECT 16384 3
nf_reject_ipv4 16384 1 ipt_REJECT
ip6table_filter 16384 1
ip6_tables 28672 1 ip6table_filter
nf_conntrack_netbios_ns 16384 0
nf_conntrack_broadcast 16384 1 nf_conntrack_netbios_ns
nf_nat_ftp 16384 0
nf_nat 24576 1 nf_nat_ftp
nf_conntrack_ftp 20480 1 nf_nat_ftp
nf_conntrack 106496 8 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter 16384 1
ip_tables 24576 1 iptable_filter
x_tables 36864 13 ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype,ip6t_REJECT
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
hid_generic 16384 0
usbhid 49152 0
hid 118784 2 hid_generic,usbhid
nvidia_drm 45056 1
nvidia_modeset 765952 4 nvidia_drm
drm_kms_helper 147456 1 nvidia_drm
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 360448 4 drm_kms_helper,nvidia_drm
psmouse 126976 0
firewire_ohci 40960 0
r8169 81920 0
nvidia 11075584 59 nvidia_modeset,nvidia_uvm
mii 16384 1 r8169
firewire_core 65536 1 firewire_ohci
pata_jmicron 16384 0
pata_acpi 16384 0
crc_itu_t 16384 1 firewire_core
ahci 36864 0
libahci 32768 1 ahci
fjes 28672 0
jacquesclouseau
Posts: 13
Joined: Sat Jul 09, 2016 10:34 pm

Re: Ubuntu snap: A quick try

Postby jacquesclouseau » Wed Jul 13, 2016 9:49 am

Should I add more info to help with the fix?
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu snap: A quick try

Postby NormandC » Sun Aug 28, 2016 4:30 pm

vejmarie,

Apparently there's a new FreeCAD user who installed your snap package from the Ubuntu Software Centre and reported bugs.

viewtopic.php?f=3&t=17203
and viewtopic.php?f=3&t=17204

In my opinion this is bad. Not only is this package based on a development version, it is based on a separate branch (occt7). This version is now months old. In the Help forum we actively advise against using the 0.17 development version to newcomers because it is simply not ready for wide use yet.

I haven't migrated to 16.04 yet on my main PC so I have no idea how the package description looks like in the Software Centre. But if there is no clear indication that it is a development version, it should definitely be removed from the Software Centre.

Thanks.
triplus
Posts: 8761
Joined: Mon Dec 12, 2011 4:45 pm

Re: Ubuntu snap: A quick try

Postby triplus » Wed May 02, 2018 6:04 pm

vejmarie wrote:
Sat May 28, 2016 8:45 pm
Just keep me posted if you see room for improvement.
Hi @vejmarie.

As the FreeCAD 0.17 release happened. Would you by any chance be interested in updating the snap package to FreeCAD 0.17?
User avatar
kkremitzki
Posts: 1773
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Ubuntu snap: A quick try

Postby kkremitzki » Sun Oct 28, 2018 6:06 am

I have registered a name dispute for ownership of the FreeCAD snap.
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.
blacey
Posts: 367
Joined: Tue Dec 08, 2015 11:28 pm

Re: Ubuntu snap: A quick try

Postby blacey » Sun Oct 28, 2018 11:54 am

kkremitzki wrote:
Sun Oct 28, 2018 6:06 am
I have registered a name dispute for ownership of the FreeCAD snap.
kkremitzki, I have vejmarie's mobile number and email address if you would like to reach him. Just PM me and I will send it to you.
User avatar
kkremitzki
Posts: 1773
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Ubuntu snap: A quick try

Postby kkremitzki » Tue Dec 04, 2018 3:50 am

It looks like the name dispute has been resolved, but I never got notified; someone filed a bug against the Ubuntu freecad package, but states they're using "FreeCAD 17 Beta" which is the name of the snap, so I checked my account on snapcraft.io and it says I own the 'freecad' name but have not pushed a snap for it. So, if I now own the name we need to get it moved to the FreeCAD Maintainers team on Launchpad.

Another -1 for snaps for me.
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.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu snap: A quick try

Postby NormandC » Tue Dec 04, 2018 3:51 am

Yep, that's my sentiment as well.
User avatar
kkremitzki
Posts: 1773
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Ubuntu snap: A quick try

Postby kkremitzki » Tue Dec 04, 2018 3:52 am

blacey wrote:
Sun Oct 28, 2018 11:54 am
kkremitzki wrote:
Sun Oct 28, 2018 6:06 am
I have registered a name dispute for ownership of the FreeCAD snap.
kkremitzki, I have vejmarie's mobile number and email address if you would like to reach him. Just PM me and I will send it to you.
Sorry, I didn't feel motivated to do this since I had already tried contacting him on Twitter and Gitter but got no response with several attempts.
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.