Bug 214757 - System-config-network does not save the added route
System-config-network does not save the added route
Product: Fedora
Classification: Fedora
Component: system-config-network (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Depends On:
  Show dependency treegraph
Reported: 2006-11-09 06:19 EST by Need Real Name
Modified: 2007-12-12 03:36 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-12 03:36:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Fedora proble attachment (126.74 KB, image/pjpeg)
2007-12-11 11:40 EST, tareq
no flags Details

  None (edit)
Description Need Real Name 2006-11-09 06:19:28 EST
From Bugzilla Helper:

Description of problem:
The program simply will not save the new route.

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

How reproducible:

Steps to Reproduce:
1.Start the system-config network
2.Edit device
3.Select Route
4.Add the new route (address, subnet mask and gateway)
5.Click OK

Actual Results:
The new route is not saved

Expected Results:
The new route should be saved

Additional info:
Component: system-config-network
Version: 1.3.95
Summary: TB94e1a8fa sharedtcpip.py:176:route_update:TypeError: sequence
item not a string or unicode object

Traceback (most recent call last):
  File "/usr/share/system-config-network/netconfpkg/gui/sharedtcpip.py",
line 284, in on_routeAddButton_clicked
    route_update(xml, device)
  File "/usr/share/system-config-network/netconfpkg/gui/sharedtcpip.py",
line 176, in route_update
    clist.append([route.Address, route.Netmask, route.Gateway])
TypeError: sequence item not a string or unicode object
Comment 1 Yu Fan 2006-11-13 08:37:45 EST
This is caused by a minor mistake in
To fix this, Modify line 89-91 of editadress.py to the following:
        self.route.Address = self.xml.get_widget('addressEntry').get_text()
        self.route.Netmask = self.xml.get_widget('netmaskEntry').get_text()
        self.route.Gateway = self.xml.get_widget('gatewayEntry').get_text()
Then, It'll be all right.
Comment 3 tareq 2007-12-11 11:40:07 EST
Created attachment 284321 [details]
Fedora proble attachment
Comment 4 Harald Hoyer 2007-12-12 03:36:59 EST
please don't attach a screenshot of a text file. attach the text file itsself.

Note You need to log in before you can comment on or make changes to this bug.