[Mono-docs-list] monodoc edit: GLib-WARNING
alan.d.freed at gmail.com
Sat Apr 24 06:18:50 EDT 2010
I am attempting to write documentation for a DLL that I've written,
and which I use in a class that I teach. My students are much
more likely to read on-line documentation than the pdf that I wrote.
So, I was excited to see that Monodoc has such a capability. I
just can't seem to get it to work. First of all, some system info:
I run Kubuntu, Linux version 2.6.31-20, with
Mono JIT compiler version 220.127.116.11 (Debian 18.104.22.168+dfsg-2)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
GC: Included Boehm (with typed GC)
Following the procedure outlined on page
monodocer -assembly:<my>.dll -path:en -pretty
which, as far as I can tell, ran correctly creating an "en"
directory with many xml files and subdirectories, etc.
The next step is to load this xml structure into monodoc
for editing, so I executed, and got the output stream
monodoc --edit en
(/usr/lib/monodoc/browser.exe:2998): GLib-WARNING **: g_set_prgname() called
Unhandled Exception: System.InvalidOperationException: Operation is not
valid due to the current state of the object
at Monodoc.EcmaHelpSource.MakeOperatorSignature (System.Xml.XmlNode n,
System.String& nicename, System.String& sig) [0x00000]
at Monodoc.EcmaUncompiledHelpSource..ctor (System.String base_file)
at Monodoc.RootTree.LoadTree (System.String basedir) [0x00000]
at Monodoc.RootTree.LoadTree () [0x00000]
at Monodoc.Browser..ctor (System.String engine) [0x00000]
at Monodoc.Driver.Main (System.String args) [0x00000]
I ran this on my computer at home and at work and got the same
output. Any thoughts or help would be most welcome.
Alan D. Freed
Clifford H. Spicer Chair in Engineering
Saginaw Valley State University
University Center, Michigan, USA
Work: adfreed at svsu.edu
Home: alan.d.freed at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-docs-list