473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

possible python/linux/gnome issue!!

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
be*******@earthlink.net
Jul 18 '05 #1
3 1569
On 2005-02-26, bruce <be*******@earthlink.net> wrote:
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.
Jul 18 '05 #2
Lee Harr napisał(a):
[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.


It was, but currently is not
(http://www.python.org/doc/2.4/whatsnew/node12.html).

--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/
Jul 18 '05 #3
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.

--
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: English Teacher | last post by:
Can someone suggest a good book for Python/Linux development? Thanks.
3
by: Tim Gahnstrom | last post by:
rdiff-backup is aperently written in Python and when I run it in a special way I get some funy Python errors. Does anyone know if linux python have some issues with working with fat32 or usb...
1
by: Carlos Andrade | last post by:
I have a working python script that takes in content from a form, cleans it up, adds html formatting and then places it into my index.html page on my server. When I had index.html set up as :...
6
by: Bill Mill | last post by:
On my laptop, I have an NTFS partition for NT, a FAT partition for data as a dmz which both linux and NT can access, and an ext3 partition for linux. However, I've experienced some weirdness on the...
12
by: jeremyvoros | last post by:
So, I've written my first GUI app in python. I've turned it into a binary .exe and .app that runs on Windows and Mac respectively, but on my Linux box, where I wrote the thing, I still have to...
10
by: azrael | last post by:
Hy guys last night i was lying in my bed and thinking about something. is there any linux distro that is primary oriented to python. you know what i mean. no need for php, java, or something...
1
by: tleeuwenburg | last post by:
G'day Pythonistas! Welcome to Issue Two of The Python Papers. It has been an exciting time and we are pleased to have reached this milestone. I'd like to say a big hello to all the people who have...
3
by: cdd | last post by:
Hi, I have a perl script that is running in windows environment. This is calling python BodyTextExtractor. My problem is: I have to move the script to run on linux and I have to change the...
2
by: Anthony Perkins | last post by:
Hi everyone, What is the best GNU/Linux distribution (or the most preferred) for developing Python applications? Ideally I would like one with both Python *and* IDLE included on the install...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.