Sign up now! · Forgot password?
RSS/Atom feed Twitter

Script Fu

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Script Fu Baum 14 Sep 08:52
2022-09-14 08:52:18 UTC (11 days ago)
postings
1
contact
Send private message

Script Fu

Hi,

I'm new to scripring and getting an error that I can not get rid of:

My simple test script: <<<
(define (prepare-molecule file-in file-out) (let* (
(image (car (gimp-file-load RUN-NONINTERACTIVE file-in ""))) ; (drawable (car (gimp-image-active-drawable image))) )

; (gimp-image-scale image 64 64) ; (gimp-file-save RUN-NONINTERACTIVE image drawable file-out "") )
)
(prepare-molecule "test.png" "test2.png") (gimp-quit 0)

running with type "test.scm | "C:\Program Files\GIMP 2\bin\gimp-2.10.exe" -i -s -b -" I get this error:

(gimp-2.10.exe:19224): GLib-GObject-WARNING **: 10:50:36.762: invalid (NULL) pointer instance

(gimp-2.10.exe:19224): GLib-GObject-CRITICAL **: 10:50:36.762: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gimp-2.10.exe:19224): Gtk-CRITICAL **: 10:50:36.765: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): GLib-GObject-CRITICAL **: 10:50:36.765: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(gimp-2.10.exe:19224): GLib-GObject-WARNING **: 10:50:36.765: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'

(gimp-2.10.exe:19224): Gtk-CRITICAL **: 10:50:36.765: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): GLib-GObject-CRITICAL **: 10:50:36.765: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(gimp-2.10.exe:19224): Gtk-CRITICAL **: 10:50:36.766: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): GLib-GObject-CRITICAL **: 10:50:36.766: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(gimp-2.10.exe:19224): Gtk-CRITICAL **: 10:50:36.766: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): GLib-GObject-CRITICAL **: 10:50:36.766: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(gimp-2.10.exe:19224): GLib-GObject-WARNING **: 10:50:36.766: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'

(gimp-2.10.exe:19224): Gtk-CRITICAL **: 10:50:36.767: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): GLib-GObject-CRITICAL **: 10:50:36.768: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(gimp-2.10.exe:19224): Gtk-CRITICAL **: 10:50:36.769: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): GLib-GObject-CRITICAL **: 10:50:36.769: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(gimp-2.10.exe:19224): Gdk-CRITICAL **: 10:50:36.771: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.772: pango_context_set_font_description: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.772: pango_context_set_base_dir: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.773: pango_context_set_language: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.774: pango_layout_new: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.775: pango_layout_get_extents_internal: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Gtk-WARNING **: 10:50:36.777: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window

(gimp-2.10.exe:19224): Gdk-CRITICAL **: 10:50:36.778: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.779: pango_context_set_font_description: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.779: pango_context_set_base_dir: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.780: pango_context_set_language: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.781: pango_layout_new: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.782: pango_layout_set_text: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.783: pango_layout_set_attributes: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.784: pango_layout_set_alignment: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.785: pango_layout_set_ellipsize: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.788: pango_layout_set_single_paragraph_mode: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.789: pango_layout_set_width: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.790: pango_layout_get_extents: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Gdk-CRITICAL **: 10:50:36.791: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.791: pango_context_set_font_description: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.792: pango_context_set_base_dir: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.793: pango_context_set_language: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.794: pango_layout_new: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.795: pango_layout_set_text: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.795: pango_layout_set_attributes: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.796: pango_layout_set_alignment: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.797: pango_layout_set_ellipsize: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.798: pango_layout_set_single_paragraph_mode: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.799: pango_layout_set_width: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.799: pango_layout_get_extents: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Gdk-CRITICAL **: 10:50:36.801: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.804: pango_context_set_font_description: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.804: pango_context_set_base_dir: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.805: pango_context_set_language: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.806: pango_layout_new: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.807: pango_layout_set_text: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.808: pango_layout_set_attributes: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.808: pango_layout_set_alignment: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.809: pango_layout_set_ellipsize: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.810: pango_layout_set_single_paragraph_mode: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.811: pango_layout_set_width: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.812: pango_layout_get_extents: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Gdk-CRITICAL **: 10:50:36.812: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.813: pango_context_set_font_description: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.814: pango_context_set_base_dir: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.815: pango_context_set_language: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.816: pango_layout_new: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.817: pango_layout_set_text: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.820: pango_layout_set_attributes: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.821: pango_layout_set_alignment: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.822: pango_layout_set_ellipsize: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.822: pango_layout_set_single_paragraph_mode: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.823: pango_layout_set_width: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.824: pango_layout_get_extents: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Gdk-CRITICAL **: 10:50:36.825: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.826: pango_context_set_font_description: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.827: pango_context_set_base_dir: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.827: pango_context_set_language: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.828: pango_layout_new: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.829: pango_layout_set_text: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.830: pango_layout_set_alignment: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.831: pango_layout_set_ellipsize: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.832: pango_layout_set_single_paragraph_mode: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.833: pango_layout_set_wrap: assertion 'PANGO_IS_LAYOUT (layout)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.836: pango_layout_set_width: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.837: pango_layout_get_extents: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Gdk-CRITICAL **: 10:50:36.838: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.839: pango_context_set_font_description: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.840: pango_context_set_base_dir: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.841: pango_context_set_language: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.842: pango_layout_new: assertion 'context != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.842: pango_layout_set_text: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): Pango-CRITICAL **: 10:50:36.843: pango_layout_get_extents: assertion 'layout != NULL' failed

(gimp-2.10.exe:19224): GLib-GObject-CRITICAL **: 10:50:36.844: g_object_unref: assertion 'G_IS_OBJECT (object)' failed C:\Program Files\GIMP 2\bin\gimp-2.10.exe: fatal error: unhandled exception (Type any character to close this window)

Any Idea what is happening?