hi guys
im using rh 9 i installed python 2.3.5 and im having a problem
with redhat-config-printer and redhat-config-network but if i
logged in as user joe this problem doesnt bother me but if im
logged in as root this error always shows
Code:
[root@Tenchi01 root]# redhat-config-printer
/usr/local/lib/python2.3/os.py:282: Warning: 'yield' will become a reserved keyword in the future
'import site' failed; use -v for traceback
/usr/local/lib/python2.3/os.py:282: Warning: 'yield' will become a reserved keyword in the future
Traceback (most recent call last):
File "/usr/sbin/redhat-config-printer", line 3, in ?
import sys, os
File "/usr/local/lib/python2.3/os.py", line 282
yield top, dirs, nondirs
^
SyntaxError: invalid syntax
[root@Tenchi01 root]# redhat-config-printer-gui
/usr/local/lib/python2.3/os.py:282: Warning: 'yield' will become a reserved keyword in the future
'import site' failed; use -v for traceback
/usr/local/lib/python2.3/types.py:52: Warning: 'yield' will become a reserved keyword in the future
Traceback (most recent call last):
File "/usr/sbin/redhat-config-printer-gui", line 7, in ?
import queueTree
File "/usr/share/printconf/util/queueTree.py", line 23, in ?
import gettext
File "/usr/local/lib/python2.3/gettext.py", line 49, in ?
import copy, os, re, struct, sys
File "/usr/local/lib/python2.3/copy.py", line 51, in ?
import types
File "/usr/local/lib/python2.3/types.py", line 52
yield 1
^
SyntaxError: invalid syntax
[root@Tenchi01 root]# redhat-config-network
/usr/local/lib/python2.3/os.py:282: Warning: 'yield' will become a reserved keyword in the future
'import site' failed; use -v for traceback
/usr/local/lib/python2.3/os.py:282: Warning: 'yield' will become a reserved keyword in the future
Traceback (most recent call last):
File "/usr/sbin/redhat-config-network-gui", line 27, in ?
import os
File "/usr/local/lib/python2.3/os.py", line 282
yield top, dirs, nondirs
^
SyntaxError: invalid syntax
[root@Tenchi01 root]# redhat-config-network-gui
/usr/local/lib/python2.3/os.py:282: Warning: 'yield' will become a reserved keyword in the future
'import site' failed; use -v for traceback
/usr/local/lib/python2.3/os.py:282: Warning: 'yield' will become a reserved keyword in the future
Traceback (most recent call last):
File "/usr/sbin/redhat-config-network-gui", line 27, in ?
import os
File "/usr/local/lib/python2.3/os.py", line 282
yield top, dirs, nondirs
^
SyntaxError: invalid syntax
[root@Tenchi01 root]#