To Tim Baker,
I am having problems installing tktreectrl-2.4.1 on my Fedora LINUX server. I downloaded the .tar.gz file from https://sourceforge.net/projects/tktreectrl/files/tktreectrl/tktreectrl-2.4.1/
I ran the ./configure && make && make install.
Attached is a copy of the config.log file.
Also, the full error I got when running my Python programs is as follows:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python3.5/tkinter/init.py", line 1559, in call
return self.func(args)
File "/home/kwatanabe/python/tm_modify_records.py", line 296, in main_program
mlb = treectrl.ScrolledMultiListbox(mw) # Create null mlb and sql_cmd for first call to modify_records
File "/usr/lib/python3.5/site-packages/TkTreectrl/ScrolledTreectrl.py", line 381, in init
ScrolledWidget.init(self, args, kw)
File "/usr/lib/python3.5/site-packages/TkTreectrl/ScrolledTreectrl.py", line 145, in init
self._scrolledWidget = self._setScrolledWidget()
File "/usr/lib/python3.5/site-packages/TkTreectrl/ScrolledTreectrl.py", line 383, in _setScrolledWidget
self.listbox = MultiListbox(self)
File "/usr/lib/python3.5/site-packages/TkTreectrl/MultiListbox.py", line 50, in init
Treectrl.init(self, master, showroot=showroot, kw)
File "/usr/lib/python3.5/site-packages/TkTreectrl/Treectrl.py", line 489, in init
ver = master.tk.call('package', 'require', 'treectrl')
_tkinter.TclError: can't find package treectrl
If you can suggest that I try anything, it would be greatly appreciated.
Sincerely,
Kenneth Watanabe
I have no experience with the Python wrapper Tkinter. But from the error it looks like treectrl isn't installed where Python can find it. It needs to go into Python's "lib" folder or something. Sorry I can't be more help.
Last edit: Tim Baker 2020-05-05