LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2005, 09:38 PM   #1
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
python problem


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]#
 
Old 03-25-2005, 12:44 PM   #2
obscure-shadow
Member
 
Registered: Nov 2004
Location: Lawrence, Kansas
Distribution: SuSE 10.2 Gentoo Knoppix
Posts: 63

Rep: Reputation: 15
If it still works, I wouldn't worry about it.. and the only difference the python compiler makes is when you install the program, and it looks as if the problems are buggs in the program itself, not from the compiler
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Processing Conflict: python-devel conflicts python< 2.3.4-13.1 guarriman Fedora 2 04-23-2009 07:02 PM
python problem tehnick Linux - Newbie 1 03-26-2005 08:27 AM
Python problem cdk Linux - General 1 11-06-2004 09:43 PM
Python problem cdk SUSE / openSUSE 1 11-06-2004 08:38 AM
python problem rblau Linux - Software 0 03-03-2004 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration