[SOLVED] Xiphos Crashes with Errors, Gtk-CRITICAL, GLib-GObject-WARNING
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Xiphos Crashes with Errors, Gtk-CRITICAL, GLib-GObject-WARNING
I'm trying to get Xiphos working in Debian 9.
Every time I launch the program it crashes as soon as I try to refresh the repo or try to add modules.
Code:
xiphos
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
(xiphos:3478): Gtk-CRITICAL **: gtk_window_resize: assertion 'width > 0' failed
(xiphos:3478): GLib-GObject-WARNING **: invalid cast from 'GtkBox' to 'GtkButtonBox'
(xiphos:3478): Gtk-CRITICAL **: gtk_button_box_set_layout: assertion 'GTK_IS_BUTTON_BOX (widget)' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
No idea what's wrong, but I get the same warnings with the version in the Sid repo. It runs without crashing in KDE.
Code:
$ apt-cache policy xiphos
xiphos:
Installed: 4.0.7+dfsg1-1
Candidate: 4.0.7+dfsg1-1
Version table:
*** 4.0.7+dfsg1-1 500
500 http://ftp.us.debian.org/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status
$ xiphos
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
(xiphos:3847): GLib-GObject-WARNING **: invalid cast from 'GtkBox' to 'GtkButtonBox'
(xiphos:3847): Gtk-CRITICAL **: gtk_button_box_set_layout: assertion 'GTK_IS_BUTTON_BOX (widget)' failed
Run the following to see if any libs are missing. It's linked to 129 libs on my box:
Code:
$ ldd $(which xiphos)
Code:
--help print this help and exit
--version print version information and exit
-d, --data-relocs process data relocations
-r, --function-relocs process data and function relocations
-u, --unused print unused direct dependencies
-v, --verbose print all information
I booted up another machine that Xiphos launches and runs correctly on and wrote down all of the dependencies that were listed and installed in Synaptic.
Took the time to install all of those lib's and re-installed Xiphos and the program launches but still crashes if I try to do anything. Looked up all of the error messages that were in my first post and most of those error messages are greek to me.
I found one bug.
It looks like either the API is broken, misconfigured or there are lib's that I don't know about.
The INSTALL file says to run sudo apt-get install xiphos but that is going to install version 4.0.4 which crashes.
The current version of Xiphos is 4.0.7 which I have the tar.gz.
I'll have to figure out the manual instructions to install version 4.0.7 because it's not as easy as ./configure, make and make install. I've downloaded the tar.gz from xiphos.org.
The link for Git Hub for the tar.gz does not work. All I get is file not found.
Here's what the install file says:
Code:
Compile Xiphos from source
==========================
To compile Xiphos from source you will need to get a checkout of Xiphos from
GitHub. To do so, do:
$ git clone https://github.com/crosswire/xiphos.git
Now to compile the GTK3 version of Xiphos you need to make sure you have these
packages installed:
$ sudo dnf install gcc-c++ intltool gtk3-devel dbus-glib-devel gtkhtml3-devel webkitgtk4-devel libxml2-devel libgsf-devel gconfmm26-devel sword-devel libuuid-devel gnome-doc-utils rarian rarian-compat biblesync-devel
Or for ubuntu, both GTK3 and GTK2 versions, install:
$ sudo apt-get install cpp intltool libdbus-glib-1-dev libwebkitgtk-3.0-dev libxml2-dev libgsf-1-dev libgconfmm-2.6-dev libsword-dev uuid-dev gnome-doc-utils rarian-compat libwebkitgtk-dev libglade2-dev
Next we need to configure everything:
$ ./waf configure --prefix=/usr --debug-level=optimized --enable-webkit-editor
Now we build:
$ ./waf build
Then install:
$ sudo ./waf install
I'll play with that tar.gz from xiphox.org on a different Linux pc tomorrow (Peppermint OS) and see if it installs. It may not because it's not the zip from Git Hub.
Windows-only release.
An error in the compiler has been accounted for, causing 1st-time user crash during module manager refresh of the Crosswire repository. Otherwise identical to 4.0.6
Looks like they also quit building the Linux packages deb,rpm,etc since nobody downloads them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.