Roel Gloudemans | 1 Oct 2005 13:07

Oneway syncing only with Sync4j

Sync works in one directorion only. From Outlook to Horde and not the 
other way around. (Initial sync also fails)

In the Sync4J logs I find:
Fatal Error: Call to undefined function: getoutputsize() in 
/usr/share/pear/SyncML/Sync.php on line 188

Could this have something to do with it?

Cheers,
Roel.

--

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org

Karsten Fourmont | 1 Oct 2005 14:08
Picon
Picon

Re: Oneway syncing only with Sync4j

Roel Gloudemans wrote:

> In the Sync4J logs I find:
> Fatal Error: Call to undefined function: getoutputsize() in 
> /usr/share/pear/SyncML/Sync.php on line 188

You need to update the horde RPC package. I recently added this the 
getoutputsize() function therein.

Cheers,
  Karsten
--

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org

Roel Gloudemans | 3 Oct 2005 20:10

Re: Oneway syncing only with Sync4j

Nope, it isn't there. I do however see it in the XML_WBXML package in 
Encoder.php. Anyway; the message is still there.

Cheers,
Roel.

Quoting Karsten Fourmont <fourmont <at> gmx.de>:

> Roel Gloudemans wrote:
>
>> In the Sync4J logs I find:
>> Fatal Error: Call to undefined function: getoutputsize() in
>> /usr/share/pear/SyncML/Sync.php on line 188
>
> You need to update the horde RPC package. I recently added this the
> getoutputsize() function therein.
>
> Cheers,
>  Karsten
> --
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org
>

--

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org

(Continue reading)

Karsten Fourmont | 4 Oct 2005 11:57
Picon
Picon

Re: Oneway syncing only with Sync4j

Hi,

Roel Gloudemans wrote:
> Nope, it isn't there. I do however see it in the XML_WBXML package in 
> Encoder.php. Anyway; the message is still there.

It should be in ContentHandler.php of the XML_WBXML package as well:
http://cvs.horde.org/co.php/framework/XML_WBXML/WBXML/ContentHandler.php?r=1.14#64

So you need this method in Encoder.php and Contenthandler.php, both in 
package XML_WBXML (not RPC, I've got that wrong)

Cheers,
  Karsten

--

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org

Nathan Sharp | 4 Oct 2005 12:45

Thank you and a couple of minor things

First off, I am very excited to see the activity on this list and in the 
code, thank you guys very much for making this project happen (I have 
been waiting a long time to be able to sync to a good open source 
calendar).  I tried the latest code out of cvs recently against 
Synthesis on the Palm Simulator using my large (>2k entries) database to 
try out the new performance enhancements that I saw were added.  
Unfortunately as of yet I haven't gotten it working again. 

First, some of the packages in pear seem to have moved, and I had to 
manually remove the old files before I could get it to work very well at 
all.  I mention this only so that someone else won't have to search so 
long to figure this out.

Second, Synthesis doesn't seem to want to send the password until the 
server has specifically requested it.  My authentication back end (IMP) 
seems to throw a fatal error if the password is blank, which prevents 
SyncML from finishing the request at all, much less requesting 
authentication.  I modified SyncML/State.php/isAuthorized() to just 
return false without even asking the authentication system if the 
password is blank and this let me correctly authenticate and get a bit 
farther.  Has no-one else had this problem?

I still haven't gotten it to work, but I haven't been able to debug it 
farther yet.  Now that the XML files are no longer generated in 
/tmp/sync, it is more difficult to follow what is going on.

Thanks again, and good luck!

  Nathan

(Continue reading)

Roel Gloudemans | 4 Oct 2005 22:45

Re: Oneway syncing only with Sync4j

Yes, I got these all in place. But the error keeps hitting me. I'll try 
some debugging myself tomorrow.

Cheers,
Roel.

Quoting Karsten Fourmont <fourmont <at> gmx.de>:

> Hi,
>
> Roel Gloudemans wrote:
>> Nope, it isn't there. I do however see it in the XML_WBXML package in
>> Encoder.php. Anyway; the message is still there.
>
> It should be in ContentHandler.php of the XML_WBXML package as well:
> http://cvs.horde.org/co.php/framework/XML_WBXML/WBXML/ContentHandler.php?r=1.14#64
>
> So you need this method in Encoder.php and Contenthandler.php, both in
> package XML_WBXML (not RPC, I've got that wrong)
>
>
> Cheers,
>  Karsten
>
> --
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org
>

(Continue reading)

Roel Gloudemans | 5 Oct 2005 11:29

Re: Oneway syncing only with Sync4j

Solved it. There is a non existent file in the XML_WBXML package.xml 
(test/encode.php) file. Because of this install-packages.php was not 
refreshing /usr/share/pear/XML/WBXML

Cheers,
Roel.

Quoting Karsten Fourmont <fourmont <at> gmx.de>:

> Hi,
>
> Roel Gloudemans wrote:
>> Nope, it isn't there. I do however see it in the XML_WBXML package in
>> Encoder.php. Anyway; the message is still there.
>
> It should be in ContentHandler.php of the XML_WBXML package as well:
> http://cvs.horde.org/co.php/framework/XML_WBXML/WBXML/ContentHandler.php?r=1.14#64
>
> So you need this method in Encoder.php and Contenthandler.php, both in
> package XML_WBXML (not RPC, I've got that wrong)
>
>
> Cheers,
>  Karsten
>
> --
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org
>
(Continue reading)

Ingo Flaschberger | 5 Oct 2005 15:01
Picon

syncml - synchronize contacts with turba

Hi

I'm trying to get outlook syncml with horde running.

stable horde, turba and kronolith
rpc.php is the latest one from cvs.

My current problem is:
HORDE [debug] [horde] SyncML: add to db contacts cuid
	000000001D603671B72EC1488DE774CC107C604E841B2100 -> suid Object
	[on line 236 of "/horde/lib/Horde/SyncML/Backend.php"]
HORDE [error] [horde] SyncML: Error in adding client entry:Invalid
	Content-Type [on line 69 of "/horde/lib/Horde/SyncML/Sync.php"]

content type is: text/x-s4j-sifc
but turba only supports text/x-vcard

So, what to do?

bye,
	Ingo
--

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org

Karsten Fourmont | 5 Oct 2005 15:12
Picon
Picon

Re: syncml - synchronize contacts with turba

Ingo Flaschberger wrote:

> content type is: text/x-s4j-sifc

> but turba only supports text/x-vcard

we support sif/contact as well as that's what my version of the sync4j 
outlook connector produces. That's 1.4.3. Maybe give this one a try.

If your version of the connector is newever, a patch would be highly 
appreciated as well :-)

Cheers,
  Karsten
--

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org

Ingo Flaschberger | 5 Oct 2005 15:14
Picon

Re: syncml - synchronize contacts with turba

Hi

> > content type is: text/x-s4j-sifc
>
> > but turba only supports text/x-vcard
>
> we support sif/contact as well as that's what my version of the sync4j
> outlook connector produces. That's 1.4.3. Maybe give this one a try.

where to get your sync4j connector?

> If your version of the connector is newever, a patch would be highly
> appreciated as well :-)

i have tried with 2.0.22 sync4j.

bye,
	Ingo
--

-- 
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe <at> lists.horde.org


Gmane