Bug 476338

Summary: system-config-network crashed with MTU problem
Product: [Fedora] Fedora Reporter: Luo Bin <ph.linfan>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: harald, jmoskovc
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: 2008-12-15 10:32:35 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:

Description Luo Bin 2008-12-13 08:43:17 UTC
Description of problem:
When save the configed profile with the MTU option of eth0 chosen,program get carshed!

Version-Release number of selected component (if applicable):
Component: system-config-network
Version: 1.5.94

How reproducible:


Steps to Reproduce:
1. open "system-config-network ",and edit the eth0 interface 
2. ticked the MTU option on,then click OK bottom
3. save the config,and will get an crash report!
  
Actual results:

crashed,and give this output:
Summary: TB334155f4 ConfShellVar.py:66:__setitem__:TypeError: expected string or buffer

Traceback (most recent call last):
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 829, in on_applyButton_clicked
    self.save()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 411, in save
    self.saveDevices()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 431, in saveDevices
    devicelist.save()
  File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 238, in save
    dev.save()
  File "/usr/share/system-config-network/netconfpkg/NCDevice.py", line 413, in save
    conf[confkey] = getattr(self, selfkey)
  File "/usr/share/system-config-network/netconfpkg/conf/ConfShellVar.py", line 66, in __setitem__
    if self.quotereg.search(value):
TypeError: expected string or buffer

Local variables in innermost frame:
varname: MTU
self: <netconfpkg.NCDevice.ConfDevice instance at 0xb66398ac>
place: 15
value: 1500
missing: 1

Expected results:
accept the config profile and exits normally.

Additional info:

Comment 1 Jiri Moskovcak 2008-12-15 10:32:35 UTC

*** This bug has been marked as a duplicate of bug 475155 ***