Bug 592940

Summary: Network error while trying to run system-config-network
Product: [Retired] Red Hat Application Server Reporter: vishwesh <post>
Component: netcomponentsAssignee: Ted Ross <tross>
Status: CLOSED EOL QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 18:36:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
System-config-network loads with specified error none

Description vishwesh 2010-05-17 12:33:24 UTC
Created attachment 414535 [details]
System-config-network loads with specified error

Description of problem:

When I run a command system-config-network on SSH, I recieve follwoing error:

Traceback (most recent call last):
  File "/usr/sbin/system-config-network-gui", line 167, in main
    window = mainDialog()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 247, in __init__
    self.load()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 270, in load
    self.loadDevices()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 278, in loadDevices
    devicelist = getDeviceList()
  File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 297, in getDeviceList
    __DVList.load()
  File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 80, in load
    newdev.load(dev)
  File "/usr/share/system-config-network/netconfpkg/NCDevice.py", line 196, in load
    self.Alias = int( self.Device[aliaspos+1:] )
ValueError: invalid literal for int(): 1:0

Local variables in innermost frame:
name: eth0:1
confkey: ONBOOT
cfg: <rhpl.Conf.ConfShellVar instance at 0xb79baf4c>
self: Device.AutoDNS=true
Device.Type=Ethernet
Device.IPv6Init=false
Device.Netmask=255.255.255.0
Device.Device=eth0:1:0
Device.IP=192.168.55.84
Device.OnParent=false
Device.DeviceId=eth0:1
Device.AllowUser=false

selfkey: OnBoot
conf: <netconfpkg.NCDevice.ConfDevice instance at 0xb79badcc>
aliaspos: 4



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run a command system-config-network
2.
3.
  
Actual results:
It should load network interface.

Expected results:


Additional info: