Clono-integration switched on-off-on creates two tournaments in Clono

21 views
Skip to first unread message

Thomas Johansen

unread,
Nov 15, 2025, 11:34:37 AM11/15/25
to TournamentService
Hi,

We messed up a bit today on NM for barn og ungdom. Initially we had the Clono integration turned on and everything seemed to work fine, ie. Clono was synchronized automatically with new rounds/pairings. During round 4 we found that we wanted to have the "Live games" pointing to Lichess, so we switched from Clono integration to Remote URL (I think it was phrased) to enter the Lichess URL. Then, of course, Clono was not synchronized anymore. We switched back to Clono integration (and found that the Lichess URL could still be entered), but then a new tournament (with a new id and PIN) was created in Clono:

image.png

In effect the Clono-integration didn't work anymore, as TS now tried to synchronize the newly created tournament instead. So we had to resort to file import...

1. Is there a fix for our current problem, ie. can the TS tournament be updated with the original Clono tournament-id?
2. Would it be adequate with a fix in TS that preserves the Clono tournament-id when the integration is turned off and then on again?

BR
Thomas Johansen

Harald Heggelund

unread,
Nov 15, 2025, 12:15:20 PM11/15/25
to TournamentService
The game data (PGN) is unfortunately stored only at the clono server, (not in Tournamentservice). And I can find only one tournament ( Clono Search ) at the clono end. That one, with tournament ID 1214 (Clono Tournament )  has no game data from rounds 1-3. I guess the only way to recover them is to ask Clono. 
An emergency solution might be to manually enter he correct id and GUID in the tournament (trx) file, unsure if that would work though. 
My initial testing here however, does not indicate these ID'en would be lost in your scenarion, but I might have misunderstood the order of events (or missed some) TS will delete games only after asking for verification.

Thomas Johansen

unread,
Nov 16, 2025, 6:52:28 AM11/16/25
to TournamentService
Yes, I had to delete the new tournament created at the Clono end to avoid confusion (it had ID 1303). 1214 is the one we are using. Missing game data for rounds 1-3 is not the problem, that is expected as they were rapid rounds where Clono wasn't used. The problem is that switching off and on the Clono integration generates a new Clono tournament See excerpts from the .trx file before and after:

Before:

<Web HTMLFile='' BaseURL='' WebserverID='NMforbarnogungdom2025-Schakklubbenav1911' WebPublishInterval='2' WebPublishConfidentiality='0' ClonoToken='6A6CF2EACA5E809E68FAD4C48AF23AF6DF61053FD1023AEACBDBDA03D9BA77C3F9C5951A' ClonoT_id='1214' ClonoPublishLevel='2' ClonoCategory='1' ClonoT_uid='' ClonoTokenDate='2025.11.26 00:00' LastEnrollTime='2025.11.09 16:00' PublishEnrollPage='2' PublishSerial='436' PublishRoundReports='N' PublishLivegames='1' LiveGamesURL='https://lichess.org/broadcast/nm-for-barn-og-ungdom-2025/nWQ32azd' MaxNumEnrolled='0' PublishPayedStatus='Y' CheckinAllowed='1899.12.30 00:00'/>

After:

<Web HTMLFile='' BaseURL='' WebserverID='NMforbarnogungdom2025-Schakklubbenav1911' WebPublishInterval='2' WebPublishConfidentiality='0' ClonoToken='6A6CF2EACA5E809E68FAD4C48AF23AF6DF61053FD1023AEACBDBDA03D9BA77C3F9C5951A' ClonoT_id='1303' ClonoPublishLevel='2' ClonoCategory='1' ClonoT_uid='d4b9ae89-c226-11f0-b555-d094660f693d' ClonoTokenDate='2025.11.26 00:00' LastEnrollTime='2025.11.09 16:00' PublishEnrollPage='2' PublishSerial='489' PublishRoundReports='N' PublishLivegames='2' LiveGamesURL='https://lichess.org/broadcast/nm-for-barn-og-ungdom-2025/nWQ32azd' MaxNumEnrolled='0' PublishPayedStatus='Y' CheckinAllowed='1899.12.30 00:00'/>

Thomas

Thomas Johansen

unread,
Nov 16, 2025, 6:52:28 AM11/16/25
to TournamentService
Editing the .trx file seems to have fixed the integration, btw. 

Thomas

lørdag 15. november 2025 kl. 18:15:20 UTC+1 skrev Harald Heggelund:

Harald Heggelund

unread,
Nov 16, 2025, 9:15:40 AM11/16/25
to TournamentService
This behavior is actually by design. The reason:
My main goal when designing the Clono integration, was for it to work "out of the box". With no need for opening (and learn using)  the Clono admin panel. Linking to live games from the TS web pages, and fetching results back from the tablets, was completely automated with no \user action required except ticking the checkbox to activate clono integration inside TS. If something went wrong, the easy fix for any problem would then be to untick the check box and then tick it again, to create a fresh tournament at the clono end. Yes the  clono T_ID would change but TS handles all those details behind the scenes, so the change wouldn't matter - except if bookmarked/old links elsewhere pointed directly to the previous clono pages. 

However, not all tournaments fit this straight forward model. Some games may be played without tablet/clono. Some games may be played on lichess. Some games may have no integration except manually created PGN files. But the main reason for having to manipulate stuff inside clono panel is the changes introduced in clono for 2 tablets per board and the "favourite tablet" setup, which breaks the (old but working) auto-assignment of tablets from TS. The latter is something I hope to iron out together with Clono, if they have time and interest.

But the most interesting use-case for further development is tournaments like this where multiple integration technologies (i.e clono and Lichess) are in use at the same time. Real-world inputs like yours is therefore indispensable, so please mail me details about your setup, experiences and further needs (wish list) if you can find the time.  

Anyway: I have reconsidered this behavior and upcoming releases of TS will keep the clono GUID and T_id even if clono integration is momentarily turned off. When turned on again there will be a popup msg asking if a new or existing clono tournament should be connected. Hopefully that cover most scenarios.  
Reply all
Reply to author
Forward
0 new messages