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/... http://tde-mirror.yosemite.net/trinity/trinity/rpm/opensuse13.2/trinity-r14/...
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"
before the trinity installation it worked. any idea?
sume system information: kof@rzbn0052:->uname -a Linux rzbn0052 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a) x86_64 x86_64 x86_64 GNU/Linux
kof@rzbn0052:->cat /etc/os-release NAME=openSUSE VERSION="13.2 (Harlequin)" VERSION_ID="13.2" PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:13.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse"
Regards Wolfgang
On Fri, 09 Jan 2015 12:44:54 +0100 schoenfeld wolfgang.schoenfeld@hzg.de 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/... http://tde-mirror.yosemite.net/trinity/trinity/rpm/opensuse13.2/trinity-r14/...
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
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@hzg.de 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/... http://tde-mirror.yosemite.net/trinity/trinity/rpm/opensuse13.2/trinity-r14/...
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
On Fri, Jan 9, 2015 at 9:36 AM, schoenfeld wolfgang.schoenfeld@hzg.de wrote:
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
Check out http://askubuntu.com/questions/302736/solarized-color-name-not-defined
Basically you need to play with ~/.Xresources to ~/.Xdefaults
Wolfgang
Nick Koretsky schrieb:
On Fri, 09 Jan 2015 12:44:54 +0100 schoenfeld wolfgang.schoenfeld@hzg.de 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
To unsubscribe, e-mail: trinity-users-unsubscribe@ lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists. pearsoncomputing.net Read list messages on the web archive: http://trinity-users. pearsoncomputing.net/ Please remember not to top-post: http://trinity. pearsoncomputing.net/mailing_lists/#top-posting