possible python/linux/gnome issue!!

B

bruce

hi...

i'm running rh8.0 with gnome.. i'm not sure of the version (it's whatever rh
shipped).

i've recently updated (or tried to update) python to the latest version.
when i try to run the 'Server Settings/Services' Icon within gnome, nothing
happens...

i tried to run the 'start services' command from a command line, and got the
following...

it appears to be a conflict somewhere...

--------------------------------------------------------
[root@lserver2 bin]# redhat-config-services
/usr/share/redhat-config-services/serviceconf.py:331: SyntaxWarning:
argument named None
def on_mnuRescan_activate(self,None):
/usr/share/redhat-config-services/serviceconf.py:342: SyntaxWarning:
argument named None
def on_optRL3_activate(self, None):
/usr/share/redhat-config-services/serviceconf.py:351: SyntaxWarning:
argument named None
def on_optRL4_activate(self, None):
/usr/share/redhat-config-services/serviceconf.py:375: SyntaxWarning:
argument named None
def on_optRL5_activate(self, None):
/usr/share/redhat-config-services/serviceconf.py:409: SyntaxWarning:
argument named None
def on_selectCursor(self,None):
/usr/share/redhat-config-services/serviceconf.py:419: SyntaxWarning:
argument named None
def on_btnSave_clicked(self, None):
/usr/share/redhat-config-services/serviceconf.py:435: SyntaxWarning:
argument named None
def on_btnRevert_clicked(self, None):
/usr/share/redhat-config-services/serviceconf.py:456: SyntaxWarning:
argument named None
def on_btnStart_clicked(self,None):
/usr/share/redhat-config-services/serviceconf.py:462: SyntaxWarning:
argument named None
def on_btnStop_clicked(self,None):
/usr/share/redhat-config-services/serviceconf.py:468: SyntaxWarning:
argument named None
def on_btnRestart_clicked(self,None):
Traceback (most recent call last):
File "/usr/share/redhat-config-services/serviceconf.py", line 24, in ?
import gtk
ImportError: No module named gtk
[root@lserver2 bin]#

---------------------------------------------------------

can someone perhaps suggest a solution, or point me to where i might find a
solution to this issue. could the python changes be causing a problem? would
upgrading gnome potentially fix the issue? can you upgrade gnome without
upgrading the rh kernel?

i'm posting here, because it might be a python related issue, in that i
might have to upgrade other apps to match the new version of python. any
ideas/thoughts/etc.. would be appreciated...

this is rather frustrating...

thanks

-bruce
(e-mail address removed)
 
L

Lee Harr

hi...

i'm running rh8.0 with gnome.. i'm not sure of the version (it's whatever rh
shipped).

i've recently updated (or tried to update) python to the latest version.
when i try to run the 'Server Settings/Services' Icon within gnome, nothing
happens...

i tried to run the 'start services' command from a command line, and got the
following...

it appears to be a conflict somewhere...

--------------------------------------------------------
[root@lserver2 bin]# redhat-config-services
/usr/share/redhat-config-services/serviceconf.py:331: SyntaxWarning:
argument named None
def on_mnuRescan_activate(self,None):

I don't think this has ever been legal... so that's strange.

import gtk
ImportError: No module named gtk

Which version of python were you using before?
Is it still installed?
Try something like ...

ls -l /usr/bin/python*

can someone perhaps suggest a solution, or point me to where i might find a
solution to this issue. could the python changes be causing a problem? would
upgrading gnome potentially fix the issue? can you upgrade gnome without
upgrading the rh kernel?

You can try pointing /usr/bin/python (which on many systems
is just a link to the actual program) to the old version
of python.

This is really more of a red hat question than a python
question, so I also recommend asking on a red hat list.
 
J

JanC

bruce schreef:
i'm running rh8.0 with gnome.. i'm not sure of the version (it's
whatever rh shipped).

i've recently updated (or tried to update) python to the latest
version. when i try to run the 'Server Settings/Services' Icon within
gnome, nothing happens...

i tried to run the 'start services' command from a command line, and
got the following...

it appears to be a conflict somewhere...

Red Hat uses Python for their configuration tools. It seems like those
are not compatible with the newer python version you installed.

You should keep the older Python version installed & make sure the Red Hat
tools use that instead of (I think) the newer version.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top