After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 329273 - Beagle tries to find libedataserver-1.2.so.4 without being avabilable on the system
Beagle tries to find libedataserver-1.2.so.4 without being avabilable on the ...
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
unspecified
Other All
: Normal critical
: ---
Assigned To: Veerapuram Varadhan
Beagle Bugs
: 320190 329286 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-30 22:24 UTC by Michiel Sikkes
Modified: 2006-04-26 22:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch to support current CVS head evolution/eds (133.25 KB, patch)
2006-01-31 00:11 UTC, Veerapuram Varadhan
none Details | Review
patch that adds support for Evolution 2.6 (133.22 KB, patch)
2006-03-01 11:53 UTC, Veerapuram Varadhan
none Details | Review
Final patch. (?) (171.13 KB, patch)
2006-04-05 19:31 UTC, Veerapuram Varadhan
none Details | Review
new patch (11.82 KB, patch)
2006-04-26 22:02 UTC, Daniel Drake
none Details | Review

Description Michiel Sikkes 2006-01-30 22:24:34 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:
Comment 1 Joe Shaw 2006-01-30 22:37:52 UTC
This is due to evolution-sharp requiring evolution-data-server 1.4.  You're running 1.5, which isn't supported yet.
Comment 2 Veerapuram Varadhan 2006-01-31 00:11:03 UTC
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.
Comment 3 Joe Shaw 2006-01-31 18:43:39 UTC
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.
Comment 4 Veerapuram Varadhan 2006-02-15 16:05:06 UTC
(b) No, it is not from Evolution.h, rather, *.h in the glue/mail/*.h
Comment 5 Veerapuram Varadhan 2006-02-21 16:49:38 UTC
*** Bug 320190 has been marked as a duplicate of this bug. ***
Comment 6 Joe Shaw 2006-02-22 17:31:56 UTC
*** Bug 329286 has been marked as a duplicate of this bug. ***
Comment 7 Joe Shaw 2006-02-27 21:37:29 UTC
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.
Comment 8 Veerapuram Varadhan 2006-03-01 11:53:29 UTC
Created attachment 60389 [details] [review]
patch that adds support for Evolution 2.6

(obsoletes the previous one)
Comment 9 Joe Shaw 2006-03-02 00:39:29 UTC
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>

Comment 10 Veerapuram Varadhan 2006-03-24 22:38:21 UTC
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.
Comment 11 Lukas Lipka 2006-03-31 17:08:55 UTC
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
Comment 12 Veerapuram Varadhan 2006-04-05 19:31:43 UTC
Created attachment 62819 [details] [review]
Final patch. (?)

Ok, attaching a reworked patch.

@Lukas:  Would you mind running a test on this patch? 

TIA. :-)
Comment 13 Joe Shaw 2006-04-05 19:43:27 UTC
Looks good to me.  Make sure you cvs add evolution/evolution-api-1.4.raw though!
Comment 14 Veerapuram Varadhan 2006-04-05 19:59:47 UTC
Yep, sure.

I am marking the patch as obsolete for now, as it doesn't compile with gapi-2.8.2
Comment 15 Daniel Drake 2006-04-26 22:02:22 UTC
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?
Comment 16 Daniel Drake 2006-04-26 22:03:34 UTC
Forgot to mention, I tested this with beagle and it successfully indexed my address book.
Comment 17 Joe Shaw 2006-04-26 22:57:39 UTC
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!