При попытке создать программу в monodevelop версии 2.8.6.4 программа создается и удается произвести отладку ее, однако при попытке запуска из терминала выходят ошибки. Пользователи форума: https://forum.altlinux.org/ в ветке: https://forum.altlinux.org/index.php?topic=39329.0 порекомендовали обратиться сюда с целью получить более новую версию monodevelop в репозиториях.
для ясности, выскакивают следующие ошибки: [creator@host-15 Release]$ mono ./Моя_Программа.exe (ShedulerCHSU:5941): Gtk-CRITICAL **: gtk_fixed_move_internal: assertion 'widget->parent == GTK_WIDGET (fixed)' failed Marshaling clicked signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at ShedulerCHSU.Forms.ShedulesMain.OnButton2Clicked (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) at Gtk.Application.gtk_main() at Gtk.Application.Run() at ShedulerCHSU.MainClass.Main(System.String[] args) (ShedulerCHSU:5941): GLib-CRITICAL **: Source ID 25 was not found when attempting to remove it (ShedulerCHSU:5941): GLib-CRITICAL **: Source ID 24 was not found when attempting to remove it
https://packages.altlinux.org/en/Sisyphus/srpms/monodevelop Sisyphus: 6.1.2.44-alt1
Перевесил на p8
Просьба обновить в p8
JFYI обновление небольшое, из текущего Sisyphus на p8 без в .src.rpm пересобираются следующие пакеты: rpm-build-mono mono fsharp libgtk-sharp2 libgnome-sharp referenceassemblies-pcl xsp monodevelop
(In reply to comment #5) > без в .src.rpm ^^^ без изменений в .src.rpm
Версия 6.2.1.44 уже в p8.