#716717 zenity: GLib-CRITICAL assertion failed on notification

Package:
zenity
Source:
zenity
Description:
Display graphical dialog boxes from shell scripts
Submitter:
Sebastian Bachmann
Date:
2014-12-14 17:03:05 UTC
Severity:
minor
#716717#5
Date:
2013-07-11 18:02:45 UTC
From:
To:
I use zenity notifications in some scripts and get all the time this error
message:
(zenity:2783): GLib-CRITICAL **: g_strv_length: assertion `str_array != NULL'
failed

(zenity:2783): GLib-CRITICAL **: g_hash_table_unref: assertion `hash_table !=
NULL' failed


Problem occours if using
        zenity --notification --text "something"
or more options  but not on other types of zenity (e.g. --calendar or --error)

#716717#10
Date:
2014-12-14 16:54:40 UTC
From:
To:
Just to note that on all distros I have tried, a simple notification not
only prodduces errors but also hangs. For example:

zenity --notification -- text "Notification is shown but then the
terminal hangs"; echo "so this command is never reached"

This happens on new installs of:

Debian 7.7.0 (zenity 3.4.0 -- does not echo the Glib errors)
Ubuntu 14.04 / Linux Mint 17 (zenity 3.8.0)
openSuse 13.2 (zenity 3.14.0)

Therefore --notification (in this simple form at least) seems unuseable
until this bug is fixed.