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

Alan Freed 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 --version
Mono JIT compiler version (Debian
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none

Following the procedure outlined on page
I ran

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
multiple times

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...
URL: http://lists.ximian.com/pipermail/mono-docs-list/attachments/20100424/e1f91e0e/attachment.html 

More information about the Mono-docs-list mailing list