Hi John,

> Thanks for your report.
>
> The crash is actually caused by the phone not responding to a
> CeProcessConfig request (which does look correctly constructed).
>
> Can you try the following:
>
>       - Delete all partnerships from the phone
>       - Create a new partnership with the linux box
>       - Attempt sync

I did not have the possibility of testing that, but I tried something 
different which might give some extra insight :)

I was looking at the registry and there I have two partnerships under 
HKLM\Software\Microsoft\Windows CE Services\Partners

P1 and P2
P1 contains DataSourceID, PId, and PName (everything of linux partnership)
P2 contains nothing at all

When looking at the following registry:
HKCU\Software\Microsoft\ActiveSync\Partners
I have two sub keys with the GUID's

Your syncengine tries to read at line 81 of SyncEngine/partnerships.py the 
information regarding the partnerships by means of reading the values of PId 
and PName. These do not exist for the Exchange partnership.

Would be nice if somebody that has the possiblity of creating a partnership 
with an Exchange Server can verify whether it always is the case that the 
information regarding the partnership is left empty for exchange servers. 
(could also be the reason why you can have only one exchange server as a 
partnership, if activesync sees partnership without Id and Name, it must the 
exchange one.


>
> In other words, don't create the mail2web partnership first. I am
> wondering if we are incorrectly handling adjacent partnerships that are
> not a direct AS partnership.

I will try to see whether I can verify it this weekend, but I am pretty sure 
that the problem lays in the fact that you try to read a non-existent value.

>
> I am currently working heavily on the partnership code to clean it up
> improve it and add some very useful per-partnership configurations, so
> now would be a good time for me to investigate this one.
>
> (Incidentally, regarding pushmail - if you or anyone else has an
> internet-facing IP address you may be interested in some other work I am
> doing at the moment - it's embryonic at the moment but I am looking to
> use some of the core sync-engine code to develop a linux-hosted push
> email server. I have been watching Airsync traffic for a while now and I
> think it can be done...watch this space!)


NICE :)


Guido Diepen

PS: Currently working on a very very simple Registry Dumper based on the 
synce-registry code shipped with librapi. Unfortunately for me it looks like 
the CeRegEnumValue function is not working and always segfaults, meaning that 
I can query the enumeration of subkeys of a specific regkey, but not the 
subvalues. If somebody has an idea for that, I would be happy to hear :)



-- 
Aviation is proof that given the will, we have the 
capacity to achieve the impossible.
     --Eddie Rickenbacker

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to