system-config-services

Nils Philippsen nphilipp at redhat.com
Sun Oct 10 22:04:49 UTC 2004


All,

since I'm the culprit I might add a few words. First, I've put the
previous version up at:

http://people.redhat.com/nphilipp/BETA/system-config-services/system-config-services-0.8.10-1.noarch.rpm

Just so you're not stuck with a broken one ;-).

On Sun, 2004-10-10 at 17:50 +0100, Eamonn Sullivan wrote:
> Since yesterday's batch of updates, system-config-services isn't
> working for me.
> 
> When I try to run it from bash, I get 
> 
>  File "/usr/sbin/system-config-services", line 115
>     else
>        ^
> SyntaxError: invalid syntax

Grm. Typo, fixed this in CVS already. Note to myself: at least start the
stuff once so you don't run out of brown paper bags.

> 
> When I fix that error (a missing : after the else), I get the
> deprecation warnings noted ihere:
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=134978
> 
> And then the following traceback:
> 
> Traceback (most recent call last):
>   File "/usr/sbin/system-config-services", line 676, in ?
>     main()
>   File "/usr/sbin/system-config-services", line 660, in main
>     Gui()
>   File "/usr/sbin/system-config-services", line 225, in __init__
>     self.editing_runlevel = self.ServiceMethods.get_runlevel()
>   File "/usr/share/system-config-services/servicemethods.py", line
> 173, in get_runlevel
>     return runlevel_output[-1][2]
> IndexError: string index out of range
> 
> That isn't as easy to debug, just by looking at the code. Anyone else
> seeing this? If not, maybe it's something specific on my system.

It's not specific to your system, it was an attempt to make the UI non-
blocking while running external commands that somehow slipped in...

I shall fix that one shortly, either by backing the change out or by
making it work.

Sorry for the hassle,
Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp at redhat.com
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011




More information about the test mailing list