GNOME Bugzilla – Bug 329273
Beagle tries to find libedataserver-1.2.so.4 without being avabilable on the system
Last modified: 2006-04-26 22:57:39 UTC
Please describe the problem: When starting beagle, I get the following trace: Error: Unhandled exception thrown. Exiting immediately. Error: System.TypeInitializationException: An exception was thrown by the type initializer for Evolution.SourceList ---> System.DllNotFoundException: libedataserver-1.2.so.4 in (wrapper managed-to-native) Evolution.Source:e_source_get_type () in <0x00014> Evolution.Source:get_GType () in <0x00026> GtkSharp.EvolutionSharp.ObjectManager:Initialize () in <0x00007> Evolution.SourceList:.cctor ()--- End of inner exception stack trace --- It tries to find the non-existant library libedataserver-1.2.so.4. However, the liebedataserver development libraries are of a higher version number. Is this hardcoded somewhere? Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
This is due to evolution-sharp requiring evolution-data-server 1.4. You're running 1.5, which isn't supported yet.
Created attachment 58437 [details] [review] Proposed patch to support current CVS head evolution/eds Fix to support current CVS head evolution/eds or the 2.5 series.
Looks like the right idea. I would recommend: (a) Dropping support for 1.3.x, and just do 1.4. I doubt anyone is still using 1.3.x. It makes sense to support the latest development version, but not past ones. (b) I think you are including the orbit-generated Evolution.h in your new evolution-api.raw. That should be removed, because that stuff isn't useful in C# and bloats the binding.
(b) No, it is not from Evolution.h, rather, *.h in the glue/mail/*.h
*** Bug 320190 has been marked as a duplicate of this bug. ***
*** Bug 329286 has been marked as a duplicate of this bug. ***
I've checked in some code to beagled to prevent the daemon from dying when this happens. It'll print an error and continue starting up the other backends. We still need evolution-sharp to be updated to support the new versions, though.
Created attachment 60389 [details] [review] patch that adds support for Evolution 2.6 (obsoletes the previous one)
This patch doesn't really address my concerns, namely: * That we should only support the current development version of e-d-s and not past development versions. (Ie, we should only check for and deal with e-d-s 1.4.0, not 1.3.5) * That a bunch of CORBA APIs have leaked into the API file: + <alias name="_Evolution_Addressbook_Book" cname="GNOME_Evolution_Addressbook_Book" type="CORBA_Object" /> + <struct name="_Evolution_Addressbook_BookChangeItem" cname="GNOME_Evolution_Addressbook_BookChangeItem"> + <field name="ChangeType" cname="changeType" type="GNOME_Evolution_Addressbook_BookChangeType" /> + <field name="Vcard" cname="vcard" type="GNOME_Evolution_Addressbook_VCard" /> + </struct>
Joe, I guess, the latest gapi2 is able to generate these CORBA APIS. Actually, these APIs are from the libebook directory that we have mentioned in our sources.xml file. Let me do a make clean on evolution-data-server and regenerate this API file.
Varadhan what's the status on this? I'm really missing Evo# on Dapper :-( I tried applying your patch against latest CVS and got: Error: Unable to start EvolutionDataServer backend: Unable to find or open edataserver
Created attachment 62819 [details] [review] Final patch. (?) Ok, attaching a reworked patch. @Lukas: Would you mind running a test on this patch? TIA. :-)
Looks good to me. Make sure you cvs add evolution/evolution-api-1.4.raw though!
Yep, sure. I am marking the patch as obsolete for now, as it doesn't compile with gapi-2.8.2
Created attachment 64357 [details] [review] new patch Here's my attempt at this. It's more or less the same thing, except configure.in is now cleaner and I bumped the version number to 0.11. Also, it compiles fine here, using gapi-2.8.2. This is ready for commit - any comments?
Forgot to mention, I tested this with beagle and it successfully indexed my address book.
Ok, checked this (and the missing evolution-api-1.4.raw) into CVS with some tweaks and did a release for it. You can find it here once the mirrors sync up: http://download.gnome.org/sources/evolution-sharp/0.11 Thanks Varadhan and Daniel for doing this!