trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2015

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

From: schoenfeld <wolfgang.schoenfeld@...>
Date: Fri, 09 Jan 2015 15:36:59 +0100
thanks, that works, bur I think its not the reason,
I als got a Warning when I call the vi:
i.e.

vi test
warning: Color name "BACKGROUND" is not defined

Wolfgang


Nick Koretsky schrieb:
> 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
>
>
>
>

-- 
Wolfgang Schönfeld
Helmholtz Center Geesthacht
Institute of Coastal Research

Max-Planck-Str. 1
21502 Geesthacht
Germany

Phone: +49 4152 87 1576
Fax:   +49 4152 87 1596

Helmholtz-Zentrum Geesthacht 
Zentrum für Material- und Küstenforschung GmbH 
Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany 

Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß 
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus 
Amtsgericht Lübeck HRB 285 GE (Register Court) 
Internet: http://www.hzg.de