trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2015

Re: [trinity-users] trinity r14 and python/Tkinter

From: Nick Koretsky <nick_koretsky@...>
Date: Fri, 9 Jan 2015 14:46:11 +0200
On Fri, 09 Jan 2015 12:44:54 +0100
schoenfeld <wolfgang.schoenfeld@...> wrote:

> Hi,
> I installed trinity r14 on an openSuse 13.2 system using the repositories:
> 
> http://tde-mirror.yosemite.net/trinity/trinity/rpm/opensuse13.2/trinity-r14/RPMS/x86_64
> http://tde-mirror.yosemite.net/trinity/trinity/rpm/opensuse13.2/trinity-r14/RPMS/noarch
> 
> this works very well!
> but when I tried to run a python script I got the following:
> 
> kof@rzbn0052:~> python
> Python 2.7.8 (default, Sep 30 2014, 15:34:38) [GCC] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Tkinter
> >>> master = Tkinter.Tk()
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1764, in __init__
>      self.tk = _tkinter.create(screenName, baseName, className, 
> interactive, wantobjects, useTk, sync, use)
> _tkinter.TclError: unknown color name "BACKGROUND"
> >>>
> 

I dont know what exactly is going on here, but try adding

*TkTheme: clam (or default)

to your ~/.Xresources 




-- 
  Nick Koretsky (nick.koretsky@...)