Re: monodoc edit: GLib-WARNING

Jonathan Pryor <[email protected]> Sun, 25 Apr 2010 16:53:12 -0400
Newsgroups gmane.comp.gnome.mono.documentation
Message-ID <[email protected]>
On Sat, 2010-04-24 at 06:18 -0400, Alan Freed wrote:
> Following the procedure outlined on page
> http://www.mono-project.com/Generating_Documentation
> I ran
> 
> monodocer -assembly:<my>.dll -path:en -pretty

Could you try using 'mdoc update' instead?

> monodoc --edit en
> 
> (/usr/lib/monodoc/browser.exe:2998): GLib-WARNING **: g_set_prgname()
> called multiple times
> 
> Unhandled Exception: System.InvalidOperationException: Operation is
> not valid due to the current state of the object

That's odd.  I don't ever recall seeing this before.

Your stack trace sadly doesn't contain line numbers, but
EcmaHelpSource.MakeOperatorSignature() only throws it from one place:
for overridden operators that weren't properly supported [0].

Perhaps you could provide the XML file that generates the error (or
otherwise let us know which operator we're not checking for)?

Thanks,

 - Jon

[0]
http://anonsvn.mono-project.com/source/branches/mono-2-4-3/mcs/tools/monodoc/Monodoc/ecma-provider.cs


_______________________________________________
Mono-docs-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-docs-list