goreviewpartner icon indicating copy to clipboard operation
goreviewpartner copied to clipboard

_tkinter.TclError: can't find package Tix

Open fishcu opened this issue 6 years ago • 3 comments

Got the error in the title on Ubuntu 16.04.

Solution was to install the following dependencies: sudo apt install tix-dev tk-dev tk8.6-dev libxft-dev libfontconfig1-dev libfreetype6-dev libpng-dev

I'm not sure how this was caused. This is not a vanilla system, lots of things have been installed / uninstalled. Could maybe someone confirm this error on a vanilla system?

fishcu avatar Jul 19 '18 07:07 fishcu

Hi!

This is most probably due to me starting to add the "tabbed goban" features (this is still work in progress). The tabs are provided by tkinter-tix (they are called NoteBook).

pnprog avatar Jul 19 '18 09:07 pnprog

okay. I'm not sure why I had to install this manually. I guess the best would be to figure out the top-level dependency that pulls in all of the packages I listed above (maybe a more general tkinter-related package?), then add that to the requirements (and/or package it for windows).

fishcu avatar Jul 19 '18 10:07 fishcu

Right at the moment, I rewriting this to use ttk instead of tix, as both propose a very similar Notebook widget, but ttk seems a bit more convenient. So it's probable that the tix dependency won't make it to the next release (GRP already uses ttk).

pnprog avatar Jul 19 '18 11:07 pnprog