Page 2 of 2

Re: Kombilo 0.7 released

Posted: Mon Mar 26, 2012 1:19 pm
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 :)

Re: Kombilo 0.7 released

Posted: Mon Mar 26, 2012 2:15 pm
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).

Re: Kombilo 0.7 released

Posted: Mon Mar 26, 2012 3:03 pm
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.

Re: Kombilo 0.7 released

Posted: Tue Mar 27, 2012 12:16 am
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

Re: Kombilo 0.7 released

Posted: Tue Mar 27, 2012 12:19 am
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

Re: Kombilo 0.7 released

Posted: Tue Mar 27, 2012 4:22 am
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.

Re: Kombilo 0.7 released

Posted: Tue Mar 27, 2012 1:13 pm
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

Re: Kombilo 0.7 released

Posted: Tue Mar 27, 2012 1:33 pm
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)?

AW: Kombilo 0.7 released

Posted: Tue Mar 27, 2012 2:06 pm
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