Zenity freezes

Johnny Rosenberg gurus.knugum at gmail.com
Mon Dec 31 02:42:02 UTC 2012


2012/12/31 Johnny Rosenberg <gurus.knugum at gmail.com>:
> In a terminal (things in <> are instructions, don't type those…):
> $ cat > Musicians
> FALSE
> First Name
> FALSE
> Second Name
> FALSE
> Third Name
> <Press Ctrl+d>
> $ zenity --list --title "Select musicians" --text="Some text"
> --column="Select" --column="Musician" --checklist --separator="\n"
> --height=480 --width=370 < Musicians
>
> The dialogue opens. Now hit OK or Cancel.
>
> Now, sometimes this works, but most of the time the dialogue freeze.
> The terminal shows the following:
>
> (zenity:3629): GLib-WARNING **:
> /build/buildd/glib2.0-2.32.3/./glib/giounix.c:411Error while getting
> flags for FD: Bad file descriptor (9)
>
>
> (zenity:3629): GLib-WARNING **:
> /build/buildd/glib2.0-2.32.3/./glib/giounix.c:411Error while getting
> flags for FD: Bad file descriptor (9)
>
>
> (zenity:3629): GLib-WARNING **:
> /build/buildd/glib2.0-2.32.3/./glib/giounix.c:411Error while getting
> flags for FD: Bad file descriptor (9)
>
> and so on.
>
> Ctrl+c in the terminal cancels the dialogue.
>
> So, what is this? User error or Zenity error? If user error, what did
> I do wrong? This worked in Ubuntu 10.10, at least better than in
> Ubuntu 12.04. I think I remember that it freeze in Ubuntu 10.10 too,
> but not almost every time, like it does in Ubuntu 12.04.
>
>
Seems to be a Zenity bug. I installed YAD (Yet Another Dialogue) from
their PPA and I ran exactly the same command:
$ yad --list --title "Select musicians" --text="Some text"
--column="Select" --column="Musician" --checklist --separator="\n"
--height=480 --width=370 < Musicians

Worked perfectly.
I guess I need to file a bug report then…


Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ




More information about the ubuntu-users mailing list