[Mono-docs-list] monodoc edit: GLib-WARNING

Jonathan Pryor jonpryor at vt.edu
Sun Apr 25 16:53:12 EDT 2010


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




More information about the Mono-docs-list mailing list