syntax error in activesync
Mihai Badici
mihai at badici.ro
Thu Apr 20 20:46:16 CEST 2023
I started to play again a little with syncroton ( from git).
First I found this in error log:
PHP Parse error: syntax error, unexpected ';', expecting ')' in
/usr/share/syncroton/lib/ext/Syncroton/Exception/Status/Settings.php on
line 35
It looks like in
protected$_errorMessages= array(
self::PROTOCOL_ERROR => "Protocol error";
self::ACCESS_DENIED => "Access denied";
self::SERVICE_UNAVAILABLE => "Server unavailable";
should be
protected$_errorMessages= array(
self::PROTOCOL_ERROR => "Protocol error",
self::ACCESS_DENIED => "Access denied",
self::SERVICE_UNAVAILABLE => "Server unavailable",
and so on.
My old problem is syncroton is not working on android with the default
gmail client. I had this problem since some time ( I changed about 3
phones - and syncroton had multiple revisions- so is somehow systematic).
Strange enough, I have an outlook 2013 under wine which is working
pretty good ( this is the newest version I manage to install under wine
). Thunderbird with Tbsync plugin also is working and on android I have
bluemail working without issue.
In console log I have only
20-Apr-2023 20:41:24 +0300]:
Cmd=FolderSync&User=test.as%40machinet.ro&DeviceId=androidc1567321253&DeviceType=Android
[7.2/8.2]: 0.1588 sec
[20-Apr-2023 20:41:26 +0300]:
Cmd=Settings&User=test.as%40machinet.ro&DeviceId=androidc1567321253&DeviceType=Android
[8.3/9.3]: 0.1644 sec
[20-Apr-2023 21:25:41 +0300]:
Cmd=FolderSync&User=test.as%40machinet.ro&DeviceId=androidc1567321253&DeviceType=Android
[1/2]: 0.0703 sec
[20-Apr-2023 21:25:41 +0300]:
Cmd=FolderSync&User=test.as%40machinet.ro&DeviceId=androidc1567321253&DeviceType=Android
[1/2]: 0.0597 sec
[20-Apr-2023 21:25:41 +0300]:
Cmd=Settings&User=test.as%40machinet.ro&DeviceId=androidc1567321253&DeviceType=Android
[2/3]: 0.0797 sec
So no SYNC command. Gmail shows "gettings your messages" forever but I
can see any real trafic.
I suspect some particular "settings" answer make it crash or wait for
something. However I tested gmail client with exchange and outlook and
is working, so is not really a bug in the client, maybe the protocol
implementation is unclear.
Since I can use bluemail I didn't pay attention but would be nice to
work with the integrated client...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20230420/ece8376c/attachment.html>
-------------- next part --------------
--
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com/
More information about the users
mailing list