[MonoDevelop] monodoc problem

A.M. Abdelaziz amamh3 at gmail.com
Wed Dec 23 15:27:37 EST 2009


seems like the problem is in the new monodoc.dll that I got after upgrading,
I think so because using monodoc.dll from stable rpms solves the problem:

I installed monodoc-core version 2.6.1-31.1 from the mono-project stable
repo, set MONO_GAC_PREFIX to /usr:/usr/local to make it use monodoc.dll that
has just been installed and now the documentation browser is working fine

is this a bug? does anyone else has this problem?
I'll edit /usr/local/bin/monodoc to make it use the stable monodoc.dll
instead

On Tue, Dec 22, 2009 at 7:20 PM, A.M. Abdelaziz <amamh3 at gmail.com> wrote:

> I forget to mention that after this message appears monodoc either crashes
> or doesn't display the page correctly giving something like "
> root:/classlib-gnome"
> instead of the documentation
> On Tue, Dec 22, 2009 at 7:15 PM, A.M. Abdelaziz <amamh3 at gmail.com> wrote:
>
>> I have mono, gtk-sharp-2.12 and mono-tools from svn at revision 148843
>> (latest, just checked now)
>> when I start monodoc (using any engine Gecko,WebKit,etc) I get the
>> following message after opening a page or doing something like that:
>>
>> *** (browser:1608): WARNING **: Missing method
>> System.Type::op_Equality(Type,Type) in assembly
>> /usr/local/lib/mono/2.0/mscorlib.dll, referenced in assembly
>> /usr/local/lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll*
>> Marshaling changed 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.Xml.Xsl.XsltCompileException: XSLT
>> compile error. Method not found: 'System.Type.op_Equality'. at (20,3). --->
>> System.MissingMethodException: Method not found: 'System.Type.op_Equality'.
>>   at Mono.Xml.Xsl.Compiler.PushInputDocument (System.String url) [0x00000]
>> in <filename unknown>:0
>>   at Mono.Xml.Xsl.XslStylesheet.StoreInclude (Mono.Xml.Xsl.Compiler c)
>> [0x00000] in <filename unknown>:0
>>   at Mono.Xml.Xsl.XslStylesheet.HandleIncludesImports
>> (Mono.Xml.Xsl.Compiler c) [0x00000] in <filename unknown>:0
>>   at Mono.Xml.Xsl.XslStylesheet.ProcessTopLevelElements
>> (Mono.Xml.Xsl.Compiler c) [0x00000] in <filename unknown>:0
>>   at Mono.Xml.Xsl.XslStylesheet.Compile (Mono.Xml.Xsl.Compiler c)
>> [0x00000] in <filename unknown>:0
>>   at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
>> System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
>> [0x00000] in <filename unknown>:0
>>   --- End of inner exception stack trace ---
>>   at Mono.Xml.Xsl.Compiler.Compile (System.Xml.XPath.XPathNavigator nav,
>> System.Xml.XmlResolver res, System.Security.Policy.Evidence evidence)
>> [0x00000] in <filename unknown>:0
>>   at System.Xml.Xsl.XslCompiledTransform.Load
>> (System.Xml.XPath.XPathNavigator stylesheet, System.Xml.Xsl.XsltSettings
>> settings, System.Xml.XmlResolver resolver) [0x00000] in <filename
>> unknown>:0
>>   at System.Xml.Xsl.XslCompiledTransform.Load (System.Xml.XmlReader
>> stylesheet, System.Xml.Xsl.XsltSettings settings, System.Xml.XmlResolver
>> resolver) [0x00000] in <filename unknown>:0
>>   at Monodoc.EcmaHelpSource.EnsureTransform () [0x00000] in <filename
>> unknown>:0
>>   at Monodoc.EcmaHelpSource.Htmlize (System.Xml.XmlReader ecma_xml,
>> System.Xml.Xsl.XsltArgumentList args) [0x00000] in <filename unknown>:0
>>   at Monodoc.EcmaHelpSource.GetText (System.String url, Monodoc.Node&
>> match_node) [0x00000] in <filename unknown>:0
>>   at Monodoc.RootTree.RenderUrl (System.String url, Monodoc.Node&
>> match_node) [0x00000] in <filename unknown>:0
>>   at Monodoc.Browser.GetHtml (System.String url, Monodoc.HelpSource
>> help_source, Monodoc.RootTree help_tree, Monodoc.Node& match) [0x00000] in
>> <filename unknown>:0
>>   at Monodoc.Browser.GetHtml (System.String url, Monodoc.HelpSource
>> help_source, Monodoc.RootTree help_tree) [0x00000] in <filename unknown>:0
>>   at Monodoc.TreeBrowser.RowActivated (System.Object sender,
>> System.EventArgs a) [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 Monodoc.Driver.Main(System.String[] args)
>>
>>
>> what does it mean that the core lib misses the method
>> System.Type::op_Equality ?
>> NOTE: this method appeared *after I upgraded mono (the old version was
>> only older by a weak* or so), I then upgraded monodoc and gtk-sharp-2.12
>> hoping that will solve the problem but it didn't
>>
>>
>> I hope I've provided all imp. information
>> thanks in advance
>> --
>> A.M. Abdelaziz
>>
>
>
>
> --
> A.M. Abdelaziz
>



-- 
A.M. Abdelaziz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20091223/df51126e/attachment.html 


More information about the Monodevelop-list mailing list