<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I started to play again a little with syncroton ( from git).</p>
<p>First I found this in error log:</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">PHP Parse
error: syntax error, unexpected ';', expecting ')' in
/usr/share/syncroton/lib/ext/Syncroton/Exception/Status/Settings.php
on line 35</span><br>
</span></p>
<p><span style="font-family:monospace">It looks like in</span></p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> </span><span
style="font-weight:bold;color:#54ffff;background-color:#ffffff;">protected</span><span
style="color:#000000;background-color:#ffffff;"> </span><span
style="color:#18b2b2;background-color:#ffffff;">$_errorMessages</span><span
style="color:#000000;background-color:#ffffff;"> = </span><span
style="color:#18b218;background-color:#ffffff;">array</span><span
style="color:#b2b2b2;background-color:#ffffff;">(</span><span
style="color:#000000;background-color:#ffffff;">
</span><br>
self::PROTOCOL_ERROR => <span
style="font-weight:bold;color:#ffff54;background-color:#ffffff;">"Protocol
error"</span>;<br>
self::ACCESS_DENIED => <span
style="font-weight:bold;color:#ffff54;background-color:#ffffff;">"Access
denied"</span>;<br>
self::SERVICE_UNAVAILABLE => <span
style="font-weight:bold;color:#ffff54;background-color:#ffffff;">"Server
unavailable"</span>;</span></p>
<p><span style="font-family:monospace"><br>
</span></p>
<p><span style="font-family:monospace"><br>
</span></p>
<p><span style="font-family:monospace">should be <br>
</span></p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> </span><span
style="font-weight:bold;color:#54ffff;background-color:#ffffff;">protected</span><span
style="color:#000000;background-color:#ffffff;"> </span><span
style="color:#18b2b2;background-color:#ffffff;">$_errorMessages</span><span
style="color:#000000;background-color:#ffffff;"> = </span><span
style="color:#18b218;background-color:#ffffff;">array</span><span
style="color:#b2b2b2;background-color:#ffffff;">(</span><span
style="color:#000000;background-color:#ffffff;">
</span><br>
self::PROTOCOL_ERROR => <span
style="font-weight:bold;color:#ffff54;background-color:#ffffff;">"Protocol
error"</span><span
style="color:#000000;background-color:#ffffff;">,
</span><br>
self::ACCESS_DENIED => <span
style="font-weight:bold;color:#ffff54;background-color:#ffffff;">"Access
denied"</span><span
style="color:#000000;background-color:#ffffff;">,
</span><br>
self::SERVICE_UNAVAILABLE => <span
style="font-weight:bold;color:#ffff54;background-color:#ffffff;">"Server
unavailable"</span><span
style="color:#000000;background-color:#ffffff;">,</span><br>
<br>
and so on.<br>
</span></p>
<p><span style="font-family:monospace"><br>
</span></p>
<p><span style="font-family:monospace">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).</span></p>
<p><span style="font-family:monospace">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. <br>
</span></p>
<p><span style="font-family:monospace">In console log I have only</span></p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">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
</span><br>
[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
<br>
[20-Apr-2023 21:25:41 +0300]:
Cmd=FolderSync&User=test.as%40machinet.ro&DeviceId=androidc1567321253&DeviceType=Android
[1/2]: 0.0703 sec
<br>
[20-Apr-2023 21:25:41 +0300]:
Cmd=FolderSync&User=test.as%40machinet.ro&DeviceId=androidc1567321253&DeviceType=Android
[1/2]: 0.0597 sec
<br>
[20-Apr-2023 21:25:41 +0300]:
Cmd=Settings&User=test.as%40machinet.ro&DeviceId=androidc1567321253&DeviceType=Android
[2/3]: 0.0797 sec<br>
<br>
So no SYNC command. Gmail shows "gettings your messages" forever
but I can see any real trafic.</span></p>
<p><span style="font-family:monospace">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.</span></p>
<p><span style="font-family:monospace">Since I can use bluemail I
didn't pay attention but would be nice to work with the
integrated client...<br>
</span></p>
<p><span style="font-family:monospace"> <br>
</span><span style="font-family:monospace"></span><span
style="font-family:monospace"></span></p>
</body>
</html>