Kombilo 0.7 released

Tell the community about tournaments, new go sites, software updates, etc.
User avatar
RBerenguel
Gosei
Posts: 1585
Joined: Fri Nov 18, 2011 11:44 am
Rank: KGS 5k
GD Posts: 0
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
Location: Barcelona, Spain (GMT+1)
Has thanked: 576 times
Been thanked: 298 times
Contact:

Re: Kombilo 0.7 released

Post by RBerenguel »

ugoertz wrote:
ugoertz wrote:
RBerenguel wrote:PPS: Kombilo05 no longer works, too. PIL to blame?


Maybe there is one more thing we could try. In Kombilo05, in the file board1.py, could you delete line 35 (import ImageTk) and try whether it works? You will not get the nice stones, but if ImageTk is the only problem, then for the icons I could work around it.


One more suggestion which should avoid the use of PIL entirely: If in Kombilo05, in the file board1.py you delete not only line 35, but all of lines 32 to 38 (try: ... pass), and then start the v.py script - does it work and can you place stones on the board?

Best regards

Ulrich


This does the trick for kombilo05! :) I liberally commented the try-pass-except blocks including the troublesome PhotoImage, and now I can at least load kombilo07! It takes an incredible long time to load (around 1 minute I think), but looks like a working version. I only need to learn to use it (and also I need to find a set of pro games), this was the point of having kombilo05.... And now 07 too :)
Geek of all trades, master of none: the motto for my blog mostlymaths.net
crux
Lives with ko
Posts: 200
Joined: Wed Apr 21, 2010 6:42 am
Rank: IGS 2d+
GD Posts: 0
KGS: venkman, M2Brett1
Has thanked: 35 times
Been thanked: 23 times

Re: Kombilo 0.7 released

Post by crux »

ugoertz wrote:So it seems better to move the search history to the middle column, below the board? That would be easy to do.

I was thinking move it into the tabs area (where you have Statistics/Options/Game Info etc. already). If I shrink the left column to zero, the board already occupies the full height of the screen (which is how I like it).
crux
Lives with ko
Posts: 200
Joined: Wed Apr 21, 2010 6:42 am
Rank: IGS 2d+
GD Posts: 0
KGS: venkman, M2Brett1
Has thanked: 35 times
Been thanked: 23 times

Re: Kombilo 0.7 released

Post by crux »

Another suggestion: double clicking on a game in the game list should switch focus to the board display so you can navigate the game using cursor keys.
User avatar
ugoertz
Dies in gote
Posts: 63
Joined: Tue Dec 14, 2010 3:50 am
GD Posts: 0
Been thanked: 40 times

Re: Kombilo 0.7 released

Post by ugoertz »

RBerenguel wrote:This does the trick for kombilo05! :) I liberally commented the try-pass-except blocks including the troublesome PhotoImage, and now I can at least load kombilo07! It takes an incredible long time to load (around 1 minute I think), but looks like a working version. I only need to learn to use it (and also I need to find a set of pro games), this was the point of having kombilo05.... And now 07 too :)


Fine, that's good news. I will make a new version which optionally does not use PIL. (Might take a few days.)

Best regards

Ulrich
User avatar
ugoertz
Dies in gote
Posts: 63
Joined: Tue Dec 14, 2010 3:50 am
GD Posts: 0
Been thanked: 40 times

Re: Kombilo 0.7 released

Post by ugoertz »

crux wrote:
ugoertz wrote:So it seems better to move the search history to the middle column, below the board? That would be easy to do.

I was thinking move it into the tabs area (where you have Statistics/Options/Game Info etc. already). If I shrink the left column to zero, the board already occupies the full height of the screen (which is how I like it).


I see. I will add an option to have the search history as another tab (or should it be below the tabs?).

The other suggestion (double-click takes focus to the board) is also very good.

Best regards

Ulrich
crux
Lives with ko
Posts: 200
Joined: Wed Apr 21, 2010 6:42 am
Rank: IGS 2d+
GD Posts: 0
KGS: venkman, M2Brett1
Has thanked: 35 times
Been thanked: 23 times

Re: Kombilo 0.7 released

Post by crux »

ugoertz wrote:I will add an option to have the search history as another tab (or should it be below the tabs?).


For the way I use the program, probably best as another tab - below would eat into the space for the game list, and I don't need the history that often (especially given that there's now a "Back to previous search pattern" button.

Thanks for making and improving this porgram. It really is very useful, and the new fast search is quite amazing compared to the old one.
User avatar
ugoertz
Dies in gote
Posts: 63
Joined: Tue Dec 14, 2010 3:50 am
GD Posts: 0
Been thanked: 40 times

Re: Kombilo 0.7 released

Post by ugoertz »

ugoertz wrote:
RBerenguel wrote:This does the trick for kombilo05! :)


Fine, that's good news. I will make a new version which optionally does not use PIL. (Might take a few days.)


I have added a PIL avoidance option. I want to change a few more things before I issue a 0.7.1 release, but if you want to try whether it works, you can get a tar.gz file at

Code: Select all

https://bitbucket.org/ugoertz/kombilo/get/9468e7d489e5.tar.gz


(This is an extract from the repository, so it does not contain the documentation in html form. And you have to run SWIG before python setup.py build_ext; but I guess you did that anyway.)

I hope that Mac OS is correctly recognized, so that PIL is disabled. If you still get the segfault, please try again after changing line 147 in src/default.cfg from use_PIL = auto to use_PIL = 0, and deleting src/kombilo.cfg (if it exists).

Best regards

Ulrich
User avatar
RBerenguel
Gosei
Posts: 1585
Joined: Fri Nov 18, 2011 11:44 am
Rank: KGS 5k
GD Posts: 0
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
Location: Barcelona, Spain (GMT+1)
Has thanked: 576 times
Been thanked: 298 times
Contact:

Re: Kombilo 0.7 released

Post by RBerenguel »

Hi again,

quick good job! It works correctly (although I cheated and copied _libkombilo.so and libkombilo.py from my previous source tree, since I had already deleted the boost headers and it's a slow download). Btw, when changing versions do I need to re-created the database or does kombilo understand itself without problems (kombilo.db and friends are created in the SGF directory I have the database)?
Geek of all trades, master of none: the motto for my blog mostlymaths.net
User avatar
ugoertz
Dies in gote
Posts: 63
Joined: Tue Dec 14, 2010 3:50 am
GD Posts: 0
Been thanked: 40 times

AW: Kombilo 0.7 released

Post by ugoertz »

RBerenguel wrote:quick good job! It works correctly


That's great to hear! If you have time to write down some instructions on how to make it work on a Mac (especially installing the dependencies for compiling libkombilo), I will be very glad to add it to the documentation.

(although I cheated and copied _libkombilo.so and libkombilo.py from my previous source tree, since I had already deleted the boost headers and it's a slow download).


That's ok, there have been no changes to libkombilo.

Btw, when changing versions do I need to re-created the database or does kombilo understand itself without problems (kombilo.db and friends are created in the SGF directory I have the database)?


The databases are not compatible between 0.5 and 0.7, so you have to recreate them. (In the 0.7.* line the format will remain the same.)

Best,

Ulrich
Post Reply