[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Plash] Experimenting with Plash 1.15 -- GTK Apps
From: |
Toby Murray |
Subject: |
[Plash] Experimenting with Plash 1.15 -- GTK Apps |
Date: |
Wed, 15 Mar 2006 23:19:30 +1030 |
Howdy plash,
first something offtopic just for some negligible comedic value: plash
could also stand for practical least authority starts here ;)
I've been experimenting a very little bit with plash 1.15 lately. I've
got it to run things like firefox and some gtk/gnome apps with limited
success. I've been tweaking some bash scripts that invoke pola-run
(although one could easily imagine them being altered to invoke the
shell itself with a script that first created an executable object that
embodied the same authority as that granted by by the pola-run command
line arguments).
I've got gedit and the gimp to run with the attached pola_gtkapp script
but the powerbox doesn't seem to work. When invoked in gedit, I can
browse to a file but upon selecting it, the file isn't displayed in the
editor window. If I again try to open a file, this gedit crashes.
Under the GIMP when trying to invoke the powerbox (open a file) it
doesn't even show up, although I can try to re-invoke it again but again
to no avail (although the app doesn't crash, but nothing happens still).
I've got plash 1.15 installed from the debian packages on a ubuntu
breezy system.
There are a whole bunch of failed gasserts but I'm presuming this is
because the powerbox implementation doesn't look to the gobject system
like the normal file chooser dialog object.
Here's some sample output from the console when running gedit and then
trying to open a file (/etc/modules)
$ ./pola_gtkapp gedit
ERROR: ld.so: object 'powerbox-for-gtk.so' from LD_PRELOAD cannot be
preloaded: ignored.
Failed to connect to socket /tmp/fam-toby-
Failed to connect to socket /tmp/fam-toby-
gtk-powerbox: init
gtk-powerbox: arg: U\uffff\uffffS\uffff\uffff$\uffff9, -6
gtk-powerbox: arg: gtk-open, -5
(gedit:11040): GLib-GObject-WARNING **: invalid class cast from
`FilePowerbox' to `GtkWidget'
gtk-powerbox: new
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkDialog'
(gedit:11040): Gtk-CRITICAL **: gtk_dialog_set_default_response:
assertion `GTK_IS_DIALOG (dialog)' failed
gtk-powerbox: gtk_file_chooser_get_type
gtk-powerbox: add_filter: NO-OP
(gedit:11040): Gtk-CRITICAL **: gtk_file_chooser_set_filter: assertion
`GTK_IS_FILE_CHOOSER (chooser)' failed
gtk-powerbox: add_filter: NO-OP
gtk-powerbox: set_extra_widget: NO-OP
(gedit:11040): Gtk-CRITICAL **: gtk_file_chooser_set_select_multiple:
assertion `GTK_IS_FILE_CHOOSER (chooser)' failed
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkWindow'
(gedit:11040): Gtk-CRITICAL **: gtk_file_chooser_set_local_only:
assertion `GTK_IS_FILE_CHOOSER (chooser)' failed
(gedit:11040): Gtk-CRITICAL **: gtk_window_set_modal: assertion
`GTK_IS_WINDOW (window)' failed
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkWidget'
gtk-powerbox: show_all
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkDialog'
gtk-powerbox: dialog_run
gtk-powerbox: got reply
(gedit:11040): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
gtk-powerbox: loop exited
gtk-powerbox: get_uri: file:/etc/modules
(gedit:11040): Gtk-CRI$ ./pola_gtkapp gedit ERROR: ld.so: object
'powerbox-for-gtk.so' from LD_PRELOAD cannot be preloaded: ignored.
Failed to connect to socket /tmp/fam-toby-
Failed to connect to socket /tmp/fam-toby-
gtk-powerbox: init
gtk-powerbox: arg: U\uffff\uffffS\uffff\uffff$\uffff9, -6
gtk-powerbox: arg: gtk-open, -5
(gedit:11040): GLib-GObject-WARNING **: invalid class cast from
`FilePowerbox' to `GtkWidget'
gtk-powerbox: new
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkDialog'
(gedit:11040): Gtk-CRITICAL **: gtk_dialog_set_default_response:
assertion `GTK_IS_DIALOG (dialog)' failed
gtk-powerbox: gtk_file_chooser_get_type
gtk-powerbox: add_filter: NO-OP
(gedit:11040): Gtk-CRITICAL **: gtk_file_chooser_set_filter: assertion
`GTK_IS_FILE_CHOOSER (chooser)' failed
gtk-powerbox: add_filter: NO-OP
gtk-powerbox: set_extra_widget: NO-OP
(gedit:11040): Gtk-CRITICAL **: gtk_file_chooser_set_select_multiple:
assertion `GTK_IS_FILE_CHOOSER (chooser)' failed
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkWindow'
(gedit:11040): Gtk-CRITICAL **: gtk_file_chooser_set_local_only:
assertion `GTK_IS_FILE_CHOOSER (chooser)' failed
(gedit:11040): Gtk-CRITICAL **: gtk_window_set_modal: assertion
`GTK_IS_WINDOW (window)' failed
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkWidget'
gtk-powerbox: show_all
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkDialog'
gtk-powerbox: dialog_run
gtk-powerbox: got reply
(gedit:11040): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
gtk-powerbox: loop exited
gtk-powerbox: get_uri: file:/etc/modules
(gedit:11040): Gtk-CRITICAL **: gtk_file_chooser_get_uris: assertion
`GTK_IS_FILE_CHOOSER (chooser)' failed
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkWidget'
(gedit:11040): Gtk-CRITICAL **: gtk_widget_hide: assertion
`GTK_IS_WIDGET (widget)' failed
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkWidget'
(gedit:11040): Gtk-CRITICAL **: gtk_widget_destroy: assertion
`GTK_IS_WIDGET (widget)' failed
TICAL **: gtk_file_chooser_get_uris: assertion `GTK_IS_FILE_CHOOSER
(chooser)' failed
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkWidget'
(gedit:11040): Gtk-CRITICAL **: gtk_widget_hide: assertion
`GTK_IS_WIDGET (widget)' failed
(gedit:11040): GLib-GObject-WARNING **: invalid cast from `FilePowerbox'
to `GtkWidget'
(gedit:11040): Gtk-CRITICAL **: gtk_widget_destroy: assertion
`GTK_IS_WIDGET (widget)' failed
Any help anyone could provide would be greatly appreciated.
thanks,
Toby
pola_gtkapp
Description: application/shellscript
- [Plash] Experimenting with Plash 1.15 -- GTK Apps,
Toby Murray <=