Hi, I searched in bugzilla so I am asking here what is the place to report this.
Example: $ ipython ... In [1]: from Tkinter import * --------------------------------------------------------------------------- exceptions.ImportError Traceback (most recent call last)
/root/<ipython console>
/usr/lib/python2.4/lib-tk/Tkinter.py 36 if sys.platform == "win32": 37 import FixTk # Attempt to configure Tcl/Tk without requiring PATH ---> 38 import _tkinter # If this fails your Python may not be configured for Tk 39 tkinter = _tkinter # b/w compat for export 40 TclError = _tkinter.TclError
ImportError: libTix8.4.so: cannot open shared object file: No such file or directory
The problem here is that tkinter requires libTix8.4.so that belongs to tix
# rpm -ql tix | grep .so /usr/lib/Tix8.4/Console.tcl /usr/lib/Tix8.4/libTix8.4.so
Yet in no place is ldconfig told to search for it, that is if I add /usr/lib/Tix8.4 to /etc/ld.so.conf it works.
Have this been reported before? Where should I add this report? python, tix, ...
I am reporting this since python-imaging does not build its tk interface due to this. It works for FC-4 but not for FC-5 and devel.
Best regards,
Jose' Matos wrote:
Hi, I searched in bugzilla so I am asking here what is the place to report this.
Example: $ ipython ... In [1]: from Tkinter import *
exceptions.ImportError Traceback (most recent call last)
/root/<ipython console>
/usr/lib/python2.4/lib-tk/Tkinter.py 36 if sys.platform == "win32": 37 import FixTk # Attempt to configure Tcl/Tk without requiring PATH ---> 38 import _tkinter # If this fails your Python may not be configured for Tk 39 tkinter = _tkinter # b/w compat for export 40 TclError = _tkinter.TclError
ImportError: libTix8.4.so: cannot open shared object file: No such file or directory
The problem here is that tkinter requires libTix8.4.so that belongs to tix
# rpm -ql tix | grep .so /usr/lib/Tix8.4/Console.tcl /usr/lib/Tix8.4/libTix8.4.so
Yet in no place is ldconfig told to search for it, that is if I add /usr/lib/Tix8.4 to /etc/ld.so.conf it works.
Have this been reported before? Where should I add this report? python, tix, ...
I am reporting this since python-imaging does not build its tk interface due to this. It works for FC-4 but not for FC-5 and devel.
This bug belongs to tix and it has been reported:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187739
I'm fixing it now.
Thank you,
On Monday 03 April 2006 15:17, David Cantrell wrote:
This bug belongs to tix and it has been reported:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187739
I'm fixing it now.
Thank you,
Thanks.
-- David Cantrell Red Hat / Westford, MA
On Mon, 3 Apr 2006 10:11:51 +0100 "Jose' Matos" jamatos@fc.up.pt wrote:
Example: $ ipython ... In [1]: from Tkinter import *
exceptions.ImportError Traceback (most recent call last)
/root/<ipython console>
/usr/lib/python2.4/lib-tk/Tkinter.py 36 if sys.platform == "win32": 37 import FixTk # Attempt to configure Tcl/Tk without requiring PATH ---> 38 import _tkinter # If this fails your Python may not be configured for Tk 39 tkinter = _tkinter # b/w compat for export 40 TclError = _tkinter.TclError
ImportError: libTix8.4.so: cannot open shared object file: No such file or directory
:
Have this been reported before? Where should I add this report? python, tix, ...
I am reporting this since python-imaging does not build its tk interface due to this. It works for FC-4 but not for FC-5 and devel.
Hmm, I don't know the exact answer to your question and I just turned down my fc5 box...
What does:
$ tclsh % package require Tix
do for you?
If that works, then perhaps it is a tkinter bug: and tkinter is part of python.
Hope that helps a little,
Jens
On Monday 03 April 2006 15:52, Jens Petersen wrote:
What does:
$ tclsh % package require Tix
do for you?
It prints 8.4 and shows an empty window.
If that works, then perhaps it is a tkinter bug: and tkinter is part of python.
I noticed it when I did not found it as a component in bugzilla. :-)
Hope that helps a little,
Now the question is why it builds but it does not run...
Jens