ugoertz / kombilo

Kombilo - a go database program
http://www.u-go.net/kombilo/
Other
29 stars 11 forks source link

sgf files with a date property containing dates in 2020 causes adding a DB to fail. #7

Open spicy-moves opened 4 years ago

spicy-moves commented 4 years ago

Adding sgf files to a database for games with a DT property in 2020 appears to cause the import to fail. See attached sample sgf file. Changing the date to something in 2019 allows the file to be imported properly.

hrehi-Seamus-2.txt

ugoertz commented 4 years ago

Hi, and sorry for the delay. I have actually received another similar report by email. Unfortunately, I cannot reproduce this issue - I can import the file and pattern search it without any problems. This makes it difficult to see, where the problem really lies.

It might be related to the operating system. Are you using Windows? I can currently only test this on Linux.

spicy-moves commented 4 years ago

I am using windows 10. On doing an 'Add DB' from the database list of a folder containing an offending file, Kombilo exits to desktop immediately on completing the import. Database files are produce (see attached), but as Kombilo doesn't exit normally the config file is not updated. When running Kombilo in a terminal no output is produced. Manually editing kombilo.cfg to add the databases causes Kombilo to exit to desktop immediately on startup. I have attached a sample database from the import and the config.

kombilo-files.zip

dzhurak commented 4 years ago

Any updates? I have the same problem on Windows 10.

jabotscrob commented 4 years ago

I am having this same issue. also windows 10. I have used kombilo for years no problem. Today I bought the latest gogod and tried to add the db as I always have. It works fine for all the folders except the 2020 one. When it tries to process the 2020 one it gets to the step finalizing and then crashes. when I reopen kombilo all of the dbs that were successfully added before are wiped out so the list of dbs is empty. I have also tried just adding the 2020 folder by itself and the same thing happens. If I try to add the other year folders they add as normal. kombilo generates the db files in the folder but can't seem to deal with them. I found the error log but it is empty.

jabotscrob commented 4 years ago

I don't know if this will be helpful or not but I understand that drago uses some parts of the kombilo program. I just imported the 2020 database into drago no problem.

ghost commented 3 years ago

Don't know if this is anything to do with the issue, but was looking at the source and there is:

Const int DATE_PROFILE_END = 2020

Defined in Pattern.h