satta / ltrsift

semi-automatic classification and postprocessing of LTR retrotransposons
GNU General Public License v2.0
5 stars 2 forks source link

Gtk-WARNING #2

Open tiramisutes opened 6 years ago

tiramisutes commented 6 years ago

Hello, I git follows error when used the ltrsift,


(ltrsift:4643): Gtk-WARNING **: Attempting to add a widget with type GtkLabel to a container of type GtkAlignment, but the widget is already inside a container of type GtkAlignment, the GTK+ FAQ at http://library.gnome.org/devel/gtk-faq/stable/ explains how to reparent a widget.

(ltrsift:4643): GLib-GIO-WARNING **: Missing callback called fullpath = /public/home/zpxu/.local/share/recently-used.xbel

(ltrsift:4643): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed

(ltrsift:4643): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed

(ltrsift:4643): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed

(ltrsift:4643): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed

(ltrsift:4643): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed

(ltrsift:4643): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed

(ltrsift:4643): Gtk-WARNING **: Attempting to add a widget with type GtkLabel to a container of type GtkAlignment, but the widget is already inside a container of type GtkAlignment, the GTK+ FAQ at http://library.gnome.org/devel/gtk-faq/stable/ explains how to reparent a widget.

(ltrsift:4643): Gtk-CRITICAL **: IA__gtk_label_get_text: assertion `GTK_IS_LABEL (label)' failed
./run_ltrsift: line 4:  4643 Segmentation fault      (core dumped) bin/ltrsift

This is the GTK version in my cluster.

gtk+-2.0                    GTK+ - GTK+ Graphical UI Library (x11 target)
gtk-doc                     gtk-doc - API documentation generator
gtk+-x11-2.0                GTK+ - GTK+ Graphical UI Library (x11 target)
gtk+-unix-print-2.0         GTK+ - GTK+ Unix print support
libcanberra-gtk             libcanberra-gtk - Gtk Event Sound API
python-gtkextra             PyGTK - Python bindings for GTK+ and related libraries
pygtk-2.0                   PyGTK - Python bindings for GTK+ and related libraries

Any help is much appreciated. Thanks.

satta commented 6 years ago

Hi, thanks for letting us know. Did you compile the source yourself or did you use a binary distribution? Can you share some information about your platform (operating system version and architecture, CPU, etc.). This is a pretty low-level problem that could be difficult to track down.

tiramisutes commented 6 years ago

I compiled the source by myself. The follows is my system information

Linux version 2.6.32-431.el6.x86_64 (mockbuild@c6b8.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Nov 22 03:15:09 UTC 2013
satta commented 6 years ago

This is a pretty old system but nothing too exotic. Can you confirm you are using Red Hat 4.4.7? What make options and which GenomeTools version did you use when building? I will need to reproduce your steps.

tiramisutes commented 6 years ago

Hi, My system is CentOS6.5

LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description:    CentOS release 6.5 (Final)
Release: 6.5
Codename:       Final

And I had installed the latest GenomeTools-1.5.10. Then I make the ltrsift as follows show

make gt_prefix=/public/home/bin/GenomeTools-1.5.10
satta commented 6 years ago

Ah, OK. I am assuming that you used the binary distribution of GenomeTools -- please also try building GenomeTools from source to make sure everything is built natively on your platform. Then rebuild LTRsift against your own compiled GenomeTools library.

satta commented 6 years ago

Yep, that did it for me. I've tried building both GenomeTools and LTRsift from source on a CentOS 6.5 VM and was able to start LTRsift afterwards. Just use the prefix given when make installing GenomeTools as the gt_prefix for LTRsift. If it's not /usr/ or /usr/local, then don't forget to do something like LD_LIBRARY_PATH=<gt_prefix>/lib (substitute gt_prefix for the actual path) when running LTRsift so it will find the custom built libgenometools.