FS#23553 - [mono-tools] monodoc fails to start

Attached to Project: Arch Linux
Opened by Andreas Neiser (aneiser) - Friday, 01 April 2011, 22:18 GMT
Last edited by Isenmann Daniel (ise) - Wednesday, 21 December 2011, 19:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: monodoc does not show up if started. Seems to be related to the webbrowser/gluezilla?

Console output:
node `classlib-gnome' is not defined on the documentation map
node `classlib-gecko' is not defined on the documentation map
Error: did not find one of the files in sources//usr/lib/monodoc/sources/gd2i
using MonoWebBrowser
using MonoWebBrowser

(browser:10797): Gtk-WARNING **: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead

(browser:10797): Gtk-WARNING **: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
Marshaling realize 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.InvalidCastException: Cannot cast from source type to destination type.
at Mono.Mozilla.DOM.ContentListener.AddHandler (Mono.WebBrowser.NavigationRequestedEventHandler value) [0x00000] in <filename unknown>:0
at Mono.Mozilla.WebBrowser.add_NavigationRequested (Mono.WebBrowser.NavigationRequestedEventHandler value) [0x00000] in <filename unknown>:0
at Monodoc.MonoWebBrowserHtmlRender.<Initialize>m__0 (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.Notebook.gtk_notebook_set_current_page(IntPtr , Int32 )
at Gtk.Notebook.set_CurrentPage(Int32 value)
at Monodoc.Browser.AddTab()
at Monodoc.Browser..ctor(System.String basedir, IEnumerable`1 sources, System.String engine)
at Monodoc.Driver.Main(System.String[] args)

Additional info:
* package version(s)
mono-tools 2.10-1
Steps to reproduce: Just start it from console. It fails (no window shown).
This task depends upon

Closed by  Isenmann Daniel (ise)
Wednesday, 21 December 2011, 19:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in package release -2.
Comment by Isenmann Daniel (ise) - Monday, 04 April 2011, 05:46 GMT
Try to start monodoc with the paramter "--engine gtkhtml". Didn't know the exact engine name, but you can see them if you look at the "--help". Does it start with this engine?
Comment by Andreas Neiser (aneiser) - Monday, 04 April 2011, 16:29 GMT
Ah, yes. This works: `monodoc --enging GtkHtml` Should've read the help more carefully. But: How to solve this problem correctly in the current package? Let me know if you need more details of my system (although it's pretty standard 64bit)
Comment by Andreas Neiser (aneiser) - Saturday, 07 May 2011, 07:48 GMT
Hm, is there any attempt to fix this in the package?
Comment by Isenmann Daniel (ise) - Sunday, 08 May 2011, 14:15 GMT
Sorry for the long delay in doing something here. I will try to fix this as soon as possible.
Comment by Andreas Neiser (aneiser) - Sunday, 08 May 2011, 19:42 GMT
If you don't have that much time, perhaps you can tell me your thoughts about it and I can try to find a good way (and supply patches;). I really don't have any idea how to tackle this problem...and/or how to solve it best.
Comment by Isenmann Daniel (ise) - Tuesday, 17 May 2011, 09:05 GMT
Sorry for that delay again. I will post this to the mono developers, because I have no clue why this fails. Maybe it has something to do with xulrunner and the mono implementation. Have to check it further.

Loading...