Page 2 of 2

Re: Go4go recent delivery import error Kombilo

Posted: Wed Oct 13, 2021 1:33 pm
by Knotwilg
OK that explains why I can't add my recent games while I can add older games.

Where can I edit out the restriction? Which file?

Re: Go4go recent delivery import error Kombilo

Posted: Sun Apr 03, 2022 6:24 am
by misesenforce
Knotwilg wrote:OK that explains why I can't add my recent games while I can add older games.

Where can I edit out the restriction? Which file?
vier wrote:
Gomoto wrote:Oh nooooo!

It is a year 2020 problem.

Changing the game year in the date field to a pre 2020 year solves the problem for this sgf file.

I have little hope there will be a new kombilo version without the error. On the other hand the source code is available ...
Have you tried changing the line

libkombilo/pattern.h:const int DATE_PROFILE_END = 2020;

?
I had the same issue, and posted it here :

https://github.com/ugoertz/kombilo/issues/9

on the github repository hosting the source code of Kombilo.

Someone replied to me there and pointed to the current thread here, so I created a lifein19x19 profile and here I am !

On https://github.com/ugoertz/kombilo/issues/9 I learned that there is a file in the source code that contains the line :

Code: Select all

const int DATE_PROFILE_END = 2020;
which basically tells that the maximum authorized year in SGF files is 2020 (or 2019, I can't recall).

I replaced that line with

Code: Select all

const int DATE_PROFILE_END = 9999;
to be tranquil.

I then built Kombilo from that slighly modified source, and end up still having the same crash issue as I had initially ...