[SàT users] Segfault with fresh install ?

Goffi goffi at goffi.org
Sam 16 Juin 11:38:23 CEST 2018


Le samedi 16 juin 2018, 07:14:42 CEST Xavier Maillard a écrit :
> Hello,
> 
> as usual with me when I am changing my computer, I have difficulties to
> install SaT. I know, I am not the best python citizen but, hey, that
> should be easier to setup.
> 
> So here is the recipe I followed:
> 
> <as root>
> useradd -m sat # just to reproduce the scenario
> 
> <as sat>
> virtualven venv -ppython2 --system-site-packages
> source venv/bin/activate
> hg clone ...urwid-satext
> cd urwid-satext
> python2 stup.py install
> cd ../
> hg clone ... sat
> cd sat
> python2 stup.py install
> I have started D-BUS and created a valid sat.conf file
> 
> Launching sat as usual and then, I just want to run primitivus:
> 
> /home/sat/sat/env/lib/python2.7/site-packages/urwid-2.0.1-py2.7-linux-x86
> _64.egg/urwid/main_loop.py:910: Warning: g_unix_signal_source_new:
> assertion 'signum == SIGHUP || signum == SIGINT || signum == SIGTERM ||
> signum == SIGUSR1 || signum == SIGUSR2' failed source =
> self.GLib.unix_signal_add(self.GLib.PRIORITY_DEFAULT, signum,
> final_handler, signum)
> /home/sat/sat/env/lib/python2.7/site-packages/urwid-2.0.1-py2.7-linux-x8
> 6_64.egg/urwid/main_loop.py:910: Warning: g_source_set_callback:
> assertion 'source != NULL' failed source =
> self.GLib.unix_signal_add(self.GLib.PRIORITY_DEFAULT, signum,
> final_handler, signum) Segmentation fault
> 
> So here is my problem and I have absolutely no idea what to do with that.
> 
> Help, please help ;)
> 
> Thank you
> 
> P.S: this is on Slackware GNU/linux 14.2


Hello XMA,

looks like the fault is in Glib. Can you try to install on a virtualenv 
without "--system-site-packages" ? It's not needed anymore (I need to 
update wiki for install instructions).

Instructions:

virtualenv2 env
source env/bin/activate
pip install hg+https://repos.goffi.org/sat

And that should be all.

Don't worry if you have "Failed building wheel for pygobject" error message 
during this process, it is not a problem.

Is it working with thoses instructions ?

++
Goffi





Plus d'informations sur la liste de diffusion users