cwensley / pablodraw

PabloDraw is an Ansi/Ascii text and RIPscrip vector graphic art editor/viewer with multi-user capabilities.
MIT License
327 stars 22 forks source link

3.3.13-beta start up problems on Linux #91

Open ericolito opened 1 year ago

ericolito commented 1 year ago

snoggetorp% ./PabloDraw
An error occurred. Please report this information to https://github.com/cwensley/pablodraw/issues: System.NullReferenceException: Arg_NullReferenceException at GLib.GType.op_Explicit(Type) at GLib.Object.ClassInitializer.AddProperties(IntPtr) at GLib.Object.ClassInitializer.ClassInit(IntPtr)

(PabloDraw:57431): GLib-GObject-CRITICAL **: 19:58:49.316: g_object_new_is_valid_property: object class '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox' has no property named 'homogeneous'

(PabloDraw:57431): GLib-GObject-WARNING **: 19:58:49.321: ../glib/gobject/gsignal.c:2517: signal 'destroy' is invalid for instance '0x556a6c3f8a00' of type '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox'

(PabloDraw:57431): Gtk-CRITICAL **: 19:58:49.323: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed

(PabloDraw:57431): Gtk-CRITICAL **: 19:58:49.325: gtk_box_pack: assertion 'GTK_IS_WIDGET (child)' failed

(PabloDraw:57431): Gtk-CRITICAL **: 19:58:49.341: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed

(PabloDraw:57431): GLib-GObject-CRITICAL **: 19:58:49.346: g_object_new_is_valid_property: object class '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox' has no property named 'homogeneous'

(PabloDraw:57431): GLib-GObject-WARNING **: 19:58:49.346: ../glib/gobject/gsignal.c:2517: signal 'destroy' is invalid for instance '0x556a6c3f9ea0' of type '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox'

(PabloDraw:57431): Gtk-CRITICAL **: 19:58:49.346: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed

(PabloDraw:57431): Gtk-CRITICAL **: 19:58:49.346: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed Unhandled exception. System.NullReferenceException: Arg_NullReferenceException at GLib.GType.op_Explicit(Type) at GLib.Object.ClassInitializer.AddProperties(IntPtr) at GLib.Object.ClassInitializer.ClassInit(IntPtr) zsh: IOT instruction (core dumped) ./PabloDraw

cwensley commented 1 year ago

Hey @ericolito, thanks for reporting the issue! What disto/version are you using?

Paulie420 commented 1 year ago

I have similar, but assume its a dependancy issue? Maybe something to do w/ GLib:

An error occurred. Please report this information to https://github.com/cwensley/pablodraw/issues: System.NullReferenceException: Arg_NullReferenceException at GLib.GType.op_Explicit(Type) at GLib.Object.ClassInitializer.AddProperties(IntPtr) at GLib.Object.ClassInitializer.ClassInit(IntPtr)

(PabloDraw:16810): GLib-GObject-CRITICAL **: 13:34:04.322: g_object_new_is_valid_property: object class '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox' has no property named 'homogeneous'

(PabloDraw:16810): GLib-GObject-WARNING **: 13:34:04.324: ../../../gobject/gsignal.c:2510: signal 'destroy' is invalid for instance '0x556a937273a0' of type '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox'

(PabloDraw:16810): Gtk-CRITICAL **: 13:34:04.324: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed

(PabloDraw:16810): Gtk-CRITICAL **: 13:34:04.325: gtk_box_pack: assertion 'GTK_IS_WIDGET (child)' failed

(PabloDraw:16810): Gtk-CRITICAL **: 13:34:04.332: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed

(PabloDraw:16810): GLib-GObject-CRITICAL **: 13:34:04.334: g_object_new_is_valid_property: object class '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox' has no property named 'homogeneous'

(PabloDraw:16810): GLib-GObject-WARNING **: 13:34:04.334: ../../../gobject/gsignal.c:2510: signal 'destroy' is invalid for instance '0x556a9372c320' of type '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox'

(PabloDraw:16810): Gtk-CRITICAL **: 13:34:04.334: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed

(PabloDraw:16810): Gtk-CRITICAL **: 13:34:04.334: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed Unhandled exception. System.NullReferenceException: Arg_NullReferenceException at GLib.GType.op_Explicit(Type) at GLib.Object.ClassInitializer.AddProperties(IntPtr) at GLib.Object.ClassInitializer.ClassInit(IntPtr) Aborted (core dumped)

I'm on a stock Ubuntu 22.04 install... will post info if I find the dependancy need, and check back if any info posted here...

ericolito commented 1 year ago

Hey @ericolito, thanks for reporting the issue! What disto/version are you using?

Arch Linux. I tried downgrading the "gtk-sharp-2" package as the stable version of Pablodraw for Linux only seems to work with gtk-sharp-2 2.2.12 and below, but this didn't help when it comes to the beta version.

ryanfantus commented 1 year ago

Interestingly I have the same problem - Ubuntu 22.04 - but if I manually build using the included instructions and run the resulting debug binary, everything works as expected.

However, if I package everything into a standalone release build (self contained, no dll or other files), I get the same failure. Not sure if this helps but hopefully it can at least diagnose what the issue is not.

f0086 commented 1 year ago

Is there any solution for that? This issue is closed without any fix I think. Got the same problem :(

ftoledo commented 9 months ago

i have isuee on debian 12

ragnarok@ragnarok:/tmp$ ./PabloDraw 
An error occurred.  Please report this information to https://github.com/cwensley/pablodraw/issues:
System.NullReferenceException: Arg_NullReferenceException
   at GLib.GType.op_Explicit(Type)
   at GLib.Object.ClassInitializer.AddProperties(IntPtr)
   at GLib.Object.ClassInitializer.ClassInit(IntPtr)

(PabloDraw:105967): GLib-GObject-CRITICAL **: 17:32:17.933: g_object_new_is_valid_property: object class '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox' has no property named 'homogeneous'

(PabloDraw:105967): GLib-GObject-WARNING **: 17:32:17.936: ../../../gobject/gsignal.c:2517: signal 'destroy' is invalid for instance '0x5594671c1f60' of type '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox'

(PabloDraw:105967): Gtk-CRITICAL **: 17:32:17.937: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed

(PabloDraw:105967): Gtk-CRITICAL **: 17:32:17.939: gtk_box_pack: assertion 'GTK_IS_WIDGET (child)' failed

(PabloDraw:105967): Gtk-CRITICAL **: 17:32:17.949: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed

(PabloDraw:105967): GLib-GObject-CRITICAL **: 17:32:17.952: g_object_new_is_valid_property: object class '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox' has no property named 'homogeneous'

(PabloDraw:105967): GLib-GObject-WARNING **: 17:32:17.952: ../../../gobject/gsignal.c:2517: signal 'destroy' is invalid for instance '0x5594671c2b20' of type '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox'

(PabloDraw:105967): Gtk-CRITICAL **: 17:32:17.952: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed

(PabloDraw:105967): Gtk-CRITICAL **: 17:32:17.953: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed
Unhandled exception. System.NullReferenceException: Arg_NullReferenceException
   at GLib.GType.op_Explicit(Type)
   at GLib.Object.ClassInitializer.AddProperties(IntPtr)
   at GLib.Object.ClassInitializer.ClassInit(IntPtr)
Abortado