[Pkg-mono-devel] Problems in preview packages

Christopher Armstrong quineska@gamebox.net
Sat, 07 May 2005 22:48:13 +1000


I have just downloaded the latest preview packages (1.16) to experiment
with some .NET software I have written. I have just uncovered a couple
of small errors, which should be easy to fix:

1) Mono.Data.Sqlite relies on installed libraries from packages
libsqlite3-0 and libsqlite0. These libraries didn't link
a /usr/lib/libsqlite3.so on my system (from /usr/lib/libsqlite3.so.0), I
had to do this manually. This may cause errors with programs utilising
this assembly. I am not sure if this corrects the problem completely, or
if I have a problem in my setup.

2) Running monodevelop causes an error: it can't
find /usr/lib/monodoc/monodoc.xml, with this output:

Loading error, please reinstall :
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.IO.FileNotFoundException:
Could not find file
"/usr/lib/monodoc/monodoc.xml". : /usr/lib/monodoc/monodoc.xml
in <0x002ba> System.IO.FileStream:.ctor (System.String name, FileMode
mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean
isAsync, Boolean anonymous)
in <0x0001f> System.IO.FileStream:.ctor (System.String name, FileMode
mode, FileAccess access, FileShare share)
in (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
in <0x000cc> System.Xml.XmlUrlResolver:GetEntity (System.Uri
absoluteUri, System.String role, System.Type ofObjectToReturn)
in <0x000f2> System.Xml.XmlTextReader:.ctor (System.String url,
System.Xml.XmlNameTable nt)
in <0x00043> System.Xml.XmlDocument:Load (System.String filename)
in <0x001a4> Monodoc.RootTree:LoadTree (System.String basedir)
in <0x000c3> Monodoc.RootTree:LoadTree ()
in <0x00015> MonoDevelop.Services.MonodocService:.ctor ()
in <0x00000> <unknown method>
in (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
in <0x0006f> System.Reflection.MonoCMethod:Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)---
End of inner exception stack trace ---

in <0x00107> System.Reflection.MonoCMethod:Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
in <0x00019> System.Reflection.MonoCMethod:Invoke (BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture)
in <0x00032> System.Reflection.ConstructorInfo:Invoke (System.Object[]
parameters)
in <0x000e5> System.Activator:CreateInstance (System.Type type, Boolean
nonPublic)
in <0x0000c> System.Activator:CreateInstance (System.Type type)
in <0x0003a> System.Reflection.Assembly:CreateInstance (System.String
typeName, Boolean ignoreCase)
in <0x00012> System.Reflection.Assembly:CreateInstance (System.String
typeName)
in <0x000af> MonoDevelop.Core.AddIns.AddIn:CreateObject (System.String
className)
in <0x00030> MonoDevelop.Core.AddIns.Codons.ClassCodon:BuildItem
(System.Object owner, System.Collections.ArrayList subItems,
MonoDevelop.Core.AddIns.Conditions.ConditionCollection conditions)
in <0x00136>
MonoDevelop.Core.AddIns.DefaultAddInTreeNode:BuildChildItems
(System.Object caller)
in <0x0004c>
MonoDevelop.Core.Services.ServiceManager:InitializeServicesSubsystem
(System.String servicesPath)
in <0x00653> MonoDevelop.SharpDevelopMain:Main (System.String[] args)


It would seem installing monodoc and monodoc-browser does not fix the
problem. I tried creating a fake monodoc.xml, but it just throws errors
about unfound xml nodes. I think I need a real one.

Any help here would be appreciated.


-- 
Christopher Armstrong <quineska@gamebox.net>