[Evolution-hackers] evolution crashes when using libmapi

2008-09-22 Thread liushuai
Hi everyone.
I compiled the 710 openchange and evolution and evolution-data-server
with exchange-mapi support.

However, after I configured the exchange mapi account, evolution crash.

Here is the trace under ubuntu.


(gdb) run
Starting program: /usr/bin/evolution 
[Thread debugging using libthread_db enabled]
[New Thread 0xb666ba70 (LWP 30103)]
Loading Exchange MAPI Plugin

listener is constructed 
** (evolution:30103): DEBUG: mailto URL command: evolution
--component=mail %s
** (evolution:30103): DEBUG: mailto URL program: evolution
[New Thread 0xb503fb90 (LWP 30107)]
[Thread 0xb503fb90 (LWP 30107) exited]
[New Thread 0xb483eb90 (LWP 30108)]
[Thread 0xb483eb90 (LWP 30108) exited]
store_db_path /home/liushuai/.evolution/mail/local/folders.db
folders table succesfully created 
[New Thread 0xb483eb90 (LWP 30109)]
store_db_path /home/liushuai/.evolution/mail/imap/[EMAIL PROTECTED]/folders.db
folders table succesfully created 
[New Thread 0xb503fb90 (LWP 30110)]
[Thread 0xb503fb90 (LWP 30110) exited]
[New Thread 0xb503fb90 (LWP 30111)]
store_db_path /home/liushuai/.evolution/mail/mapi/[EMAIL PROTECTED]/folders.db
folders table succesfully created 
store_db_path /home/liushuai/.evolution/mail/vfolder/folders.db
folders table succesfully created 
[New Thread 0xb356eb90 (LWP 30113)]
[New Thread 0xb3d6fb90 (LWP 30112)]
[Thread 0xb3d6fb90 (LWP 30112) exited]
[Thread 0xb356eb90 (LWP 30113) exited]
[New Thread 0xb356eb90 (LWP 30117)]
[New Thread 0xb3d6fb90 (LWP 30118)]

(evolution:30103): camel-imap-provider-WARNING **: Unable to load
summary no such table: Apple Mail To Do

e-data-server-ui-Message: Key file does not have group
'Passwords-ExchangeMAPI'
[Thread 0xb356eb90 (LWP 30117) exited]
libexchangemapi-Message: exchange-mapi-connection.c(128):
exchange_mapi_connection_new: lock(connect_lock)

exchange-mapi-connection.c(73): Entering mapi_profile_load 
Loading profile [EMAIL PROTECTED] 
exchange-mapi-connection.c(114): Leaving mapi_profile_load
libexchangemapi-Message: exchange-mapi-connection.c(131):
exchange_mapi_connection_new: unlock(connect_lock)
libexchangemapi-Message: 
exchange-mapi-connection.c(136): exchange_mapi_connection_new:
Connected 

exchange-mapi-connection.c(2525): Entering
exchange_mapi_get_folders_list libexchangemapi-Message:
exchange-mapi-connection.c(2527): exchange_mapi_get_folders_list:
lock(connect_lock)

|---+ : (Container class: IPF.StickyNote
6B1F0001) UnRead : 0 Total : 0 ??
|---+ : (Container class: IPF.Note 691F0001)
UnRead : 0 Total : 1 ???
|---+ : (Container class: IPF.Note 4E21)
UnRead : 0 Total : 1 
|---+ : (Container class: IPF.Note 1F2B0001)
UnRead : 0 Total : 0 ???
|---+ : (Container class: IPF.Contact 681F0001)
UnRead : 0 Total : 2 ??
|---+ : (Container class: IPF.Task 6C1F0001)
UnRead : 0 Total : 1 ??
|---+ : (Container class: IPF.Journal 6A1F0001)
UnRead : 0 Total : 0 ??
|---+ : (Container class: IPF.Appointment
671F0001) UnRead : 0 Total : 25 ???
|---+ : (Container class: IPF.Note 4D21)
UnRead : 0 Total : 5 ?
|---+ : (Container class: IPF.Note 4F21)
UnRead : 0 Total : 0 ?
|---+ : (Container class: IPF.Note 5021)
UnRead : 0 Total : 0 libexchangemapi-Message:
exchange-mapi-connection.c(2594): exchange_mapi_get_folders_list:
unlock(connect_lock)

exchange-mapi-connection.c(2596): Leaving
exchange_mapi_get_folders_list 
exchange-mapi-connection.c(2611): Entering
exchange_mapi_get_pf_folders_list libexchangemapi-Message:
exchange-mapi-connection.c(2613): exchange_mapi_get_pf_folders_list:
lock(connect_lock)

|---+ Internet Newsgroups : (Container class: IPF.Note 03000002)
UnRead : 0 Total : 0 ??
|---+ test: (Container class: IPF.Note 1F270001)
UnRead : 0 Total : 0 ???
|---+ test: (Container class: IPF.Contact 22270001)
UnRead : 0 Total : 0 libexchangemapi-Message:
exchange-mapi-connection.c(2645): exchange_mapi_get_pf_folders_list:
unlock(connect_lock)

exchange-mapi-connection.c(2647): Leaving
exchange_mapi_get_pf_folders_list 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb483eb90 (LWP 30109)]
0xb3d78c73 in mapi_build_folder_info (mapi_store=value optimized out,
parent_name=value optimized out, folder_name=0x8f1d028  - test1)
at camel-mapi-store.c:851
851 if (!strcmp (excl_parent, Sent Items))
(gdb) bt
#0  0xb3d78c73 in mapi_build_folder_info (mapi_store=value optimized
out, parent_name=value optimized out, folder_name=0x8f1d028  -
test1)
at camel-mapi-store.c:851
#1  0xb3d7a0e7 in mapi_get_folder_info (store=0x8c79328, top=0xb3d7cd2f
, flags=7, ex=0x8ef261c) at camel-mapi-store.c:908
#2  0xb7ddc762 in camel_store_get_folder_info (store=0x8c79328, top=0x0,
flags=7, ex=0x8ef261c) at 

Re: [Evolution-hackers] [opensuse-gnome] Evolution 2.22 for Factory

2008-09-22 Thread Srinivasa Ragavan
HPJ,

  HPJ, the summary can't be named like this, since, its possible that
  something like this already exists. .ibex.index has a traditional
  meaning and would be more of abusing it in the newer versions.
 
 Wouldn't it be possible to use a different directory, e.g.
 mail/local-index/folders.db? That would avoid both problems.

You end up seeing a new folder local-index in 2.22/older and a
folders.db folder under it. :(

FWIW, I did give it a try, during the initial phases, but I abandoned
it, since I was short of time.

-Srini.
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Importing contact from winME devices

2008-09-22 Thread Ross Burton
On Mon, 2008-09-22 at 09:59 +1200, Zainul Franciscus wrote:
 This is pretty straight forward. The only thing I have not figured out
 is how to generate a UID for the vcard. Does anyone know what is the
 algorithm that evolution mail to generate the UID ? Or even better is
 there an API that I can use to generate the UID ?

As long as it is unique, it doesn't matter.  EDS generates a unique
number from a number of sources,  but using a UUID would be fairly easy
and ensure that it is unique.

Ross
-- 
Ross Burton mail: [EMAIL PROTECTED]
  jabber: [EMAIL PROTECTED]
   www: http://burtonini.com


signature.asc
Description: This is a digitally signed message part
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers