[Pkg-mono-devel] Problems in preview packages

Mirco Bauer meebey@meebey.net
Wed, 11 May 2005 12:58:05 +0200


--=-ve/t26bglhE5F/qy1Oey
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2005-05-07 at 22:48 +1000, Christopher Armstrong wrote:
> 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:
>=20
> 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.

This should not be required, debian mono packages ships the missing
dllmap, symlinking .so is just WRONG, it's for compiling, not for
runtime usage.
cat /usr/lib/mono/gac/Mono.Data.SqliteClient/1.0.5000.0__0738eb9f132ed756/M=
ono.Data.SqliteClient.dll.config=20
<dllmap dll=3D"sqlite" target=3D"libsqlite.so.0" />\n<dllmap dll=3D"sqlite3=
"
target=3D"libsqlite3.so.0" />

hm funny \n in there, maybe that causes problems, invalid XML, thanks
for spotting this! I am usage perl magic in debian/rules to create that
file, seems to be a bug in there.

>=20
> 2) Running monodevelop causes an error: it can't
> find /usr/lib/monodoc/monodoc.xml, with this output:
>=20
> 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 ---
>=20
> 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)

such strange errors often happens when you mix debian packages with /usr
or /usr/local source installs.... it's pretty difficult to get it
_really_ clean once you did that! This is the first report about monodoc
crashing... and about 200 people tested my packages already.

>=20
>=20
> 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.
the XML file contains what documentation exists, so it must be the right
one...

>=20
> Any help here would be appreciated.
>=20
>=20
--=20
Regards,

Mirco 'meebey' Bauer

PGP-Key:
http://keyserver.noreply.org/pks/lookup?op=3Dget&search=3D0xEEF946C8

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
V? PS
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------

--=-ve/t26bglhE5F/qy1Oey
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iQEVAwUAQoHlPXEn5avu+UbIAQK2LAf/Tad17/NROjJCkzAxvNVzUV5SLvan8wYl
wl5q7bRf2zUxdsplGlyPrkWwAOzwkkbwiEUau39zf4/szcUVmC4ULIKUPyC2Zd74
Y+mzcZnUUjlPtst6zlhuIew6hpx4gqS6dqHRb6gyXq2tYDsKqfK16Y8WC5/FI1Yo
mX2okitdJv8KPTMKTrGcHcO7hzuJc2m43VzWa/mojq3G/htI/3N2QOaVS/ssySW+
5B1Qo9XiFyesmyNYbDwis5bous8O/sQE6VYkIc/0pQVCoz7PstU7Ex8nSLYFvywS
fk8BHrGFNMqy0dRPzBw7QopX54AqSo6hHx7KaNEkb9UVJmvY+QaGtw==
=oJpB
-----END PGP SIGNATURE-----

--=-ve/t26bglhE5F/qy1Oey--