public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Running 'emerge' from cron
@ 2003-06-05  5:04 Wolfram Schlich
  2003-06-05  5:29 ` Seemant Kulleen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Schlich @ 2003-06-05  5:04 UTC (permalink / raw
  To: Gentoo-Dev mailinglist

Hi,

Running an 'emerge sync' from cron gives the following:
--8<--
Traceback (most recent call last):
  File "/usr/bin/emerge", line 279, in ?
    emergelog("Started emerge on: "+time.strftime("%b %d, %Y %H:%M:%S", time.localtime()))
  File "/usr/bin/emerge", line 186, in emergelog
    xtermTitle(mystr)
  File "/usr/lib/python2.2/site-packages/output.py", line 34, in xtermTitle
    myt=os.environ["TERM"]
  File "/usr/lib/python2.2/UserDict.py", line 14, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: TERM
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.2/atexit.py", line 20, in _run_exitfuncs
    apply(func, targs, kargs)
  File "/usr/bin/emerge", line 201, in emergeexit
    emergelog(" *** terminating.")
  File "/usr/bin/emerge", line 186, in emergelog
    xtermTitle(mystr)
  File "/usr/lib/python2.2/site-packages/output.py", line 34, in xtermTitle
    myt=os.environ["TERM"]
  File "/usr/lib/python2.2/UserDict.py", line 14, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: TERM
--8<--

Looks like a terminal issue. How to solve? Set TERM to something
other than xterm?
-- 
Wolfram Schlich; Friedhofstr. 8, D-88069 Tettnang; +49-(0)178-SCHLICH

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-05 11:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-05  5:04 [gentoo-dev] Running 'emerge' from cron Wolfram Schlich
2003-06-05  5:29 ` Seemant Kulleen
2003-06-05 11:58   ` Wolfram Schlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox