Bug 439718 (TBe93ef273)
| Summary: | TBe93ef273 Conf.py:998:__setitem__:TypeError: coercing to Unicode: need string or buffer, NoneType found | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew Farris <lordmorgul> |
| Component: | system-config-network | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | jim, jmoskovc, knolderpoor |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-03-31 12:43:56 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: | |||
system-config-network-1.5.4 real fix in system-config-network-1.5.5 Task Info: http://koji.fedoraproject.org/koji/taskinfo?taskID=539945 Build Info: http://koji.fedoraproject.org/koji/buildinfo?buildID=44372 rpms: http://koji.fedoraproject.org/packages/system-config-network/1.5.5/1.fc9/noarch/system-config-network-1.5.5-1.fc9.noarch.rpm http://koji.fedoraproject.org/packages/system-config-network/1.5.5/1.fc9/noarch/system-config-network-tui-1.5.5-1.fc9.noarch.rpm *** Bug 440222 has been marked as a duplicate of this bug. *** works for me. Thanks. |
Description of problem: Saving settings changes in system-config-network fails with unicode error. Summary: TBe93ef273 Conf.py:998:__setitem__:TypeError: coercing to Unicode: need string or buffer, NoneType found Version-Release number of selected component (if applicable): system-config-network-1.5.3-1.fc9.noarch How reproducible: every time Steps to Reproduce: 1. edit eth0 configuration, change dhcp -> static, set NM managed 2. click save Actual results: traceback, settings not saved Expected results: saved settings changes Additional info: Component: system-config-network Version: 1.5.3 Summary: TBe93ef273 Conf.py:998:__setitem__:TypeError: coercing to Unicode: need string or buffer, NoneType found Traceback (most recent call last): File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 831, in on_applyButton_clicked self.save() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 392, in save self.saveHardware() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 420, in saveHardware hardwarelist.save() File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 700, in save hw.save() File "/usr/share/system-config-network/netconfpkg/plugins/NCHWEthernet.py", line 44, in save modules[self.Name] = dic File "/usr/share/system-config-network/netconfpkg/conf/Conf.py", line 998, in __setitem__ replace = key + ' ' + varname + ' ' + endofline TypeError: coercing to Unicode: need string or buffer, NoneType found Local variables in innermost frame: findexp: ^[ ]*alias[ ]+eth1[ ]+ missing: 1 varname: eth1 self: <netconfpkg.NCHardwareList.MyConfModules instance at 0x9ca6e4c> value: {'alias': None} place: 0 key: alias endofline: None