monodoc edit: GLib-WARNING
Alan Freed <[email protected]> Sat, 24 Apr 2010 06:18:50 -0400
| Newsgroups | gmane.comp.gnome.mono.documentation |
|---|---|
| Message-ID | <[email protected]> |
--===============1499542859==
Content-Type: multipart/alternative; boundary=00504501474ebbaae30484f8de52
--00504501474ebbaae30484f8de52
Content-Type: text/plain; charset=UTF-8
Hi,
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 2.4.2.3 (Debian 2.4.2.3+dfsg-2)
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
http://www.mono-project.com/Generating_Documentation
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)
[0x00000]
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.
Thanks,
Al
--
Alan D. Freed
Clifford H. Spicer Chair in Engineering
Saginaw Valley State University
University Center, Michigan, USA
Work: [email protected]
Home: [email protected]
--00504501474ebbaae30484f8de52
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi,<br><br>I am attempting to write documentation for a DLL that I've w=
ritten,<br>and which I use in a class that I teach.=C2=A0 My students are m=
uch <br>more likely to read on-line documentation than the pdf that I wrote=
.<br>
So, I was excited to see that Monodoc has such a capability.=C2=A0 I<br>jus=
t can't seem to get it to work.=C2=A0 First of all, some system info:<b=
r><br>I run Kubuntu, Linux version 2.6.31-20, with<br><br>mono --version<br=
>Mono JIT compiler version 2.4.2.3 (Debian 2.4.2.3+dfsg-2)<br>
Copyright (C) 2002-2008 Novell, Inc and Contributors. <a href=3D"http://www=
.mono-project.com">www.mono-project.com</a><br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 TLS:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 __thread<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GC:=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Included Boehm (w=
ith typed GC)<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 SIGSEGV:=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 altstack<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Notifications: epoll<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Architecture:=C2=A0 amd64<br>=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Disabled:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 n=
one<br><br>Following the procedure outlined on page<br><a href=3D"http://ww=
w.mono-project.com/Generating_Documentation">http://www.mono-project.com/Ge=
nerating_Documentation</a><br>
I ran<br><br>monodocer -assembly:<my>.dll -path:en -pretty<br><br>whi=
ch, as far as I can tell, ran correctly creating an "en"<br>direc=
tory with many xml files and subdirectories, etc.<br><br>The next step is t=
o load this xml structure into monodoc<br>
for editing, so I executed, and got the output stream<br><br>monodoc --edit=
en<br><br>(/usr/lib/monodoc/browser.exe:2998): GLib-WARNING **: g_set_prgn=
ame() called multiple times<br><br>Unhandled Exception: System.InvalidOpera=
tionException: Operation is not valid due to the current state of the objec=
t<br>
=C2=A0 at Monodoc.EcmaHelpSource.MakeOperatorSignature (System.Xml.XmlNode =
n, System.String& nicename, System.String& sig) [0x00000]<br>=C2=A0=
at Monodoc.EcmaUncompiledHelpSource..ctor (System.String base_file) [0x000=
00]<br>
=C2=A0 at Monodoc.RootTree.LoadTree (System.String basedir) [0x00000]<br>=
=C2=A0 at Monodoc.RootTree.LoadTree () [0x00000]<br>=C2=A0 at Monodoc.Brows=
er..ctor (System.String engine) [0x00000]<br>=C2=A0 at Monodoc.Driver.Main =
(System.String[] args) [0x00000]<br>
<pre><br><font size=3D"4">I ran this on my computer at home and at work and=
got the same<br>output. Any thoughts or help would be most welcome.<br><br=
>Thanks,<br><br>Al</font><br></pre>-- <br>Alan D. Freed<br>Clifford H. Spic=
er Chair in Engineering<br>
Saginaw Valley State University<br>University Center, Michigan, USA<br><br>=
Work: =C2=A0<a href=3D"mailto:[email protected]">[email protected]</a><br>Hom=
e: =C2=A0<a href=3D"mailto:[email protected]">[email protected]</=
a><br>
--00504501474ebbaae30484f8de52--
--===============1499542859==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Mono-docs-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-docs-list
--===============1499542859==--