Bug 740309
| Summary: | [abrt] wicd-gtk-1.7.0-8.fc15: netentry.py:728:add_profile:AttributeError: 'NoneType' object has no attribute 'strip' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | a.thiaville |
| Component: | wicd | Assignee: | David Cantrell <dcantrell> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dcantrell |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:3de52d37071c59991e51db548e04f45cc7b7f799 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-25 15:36:58 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
a.thiaville
2011-09-21 15:20:15 UTC
Is this still happening on Fedora 16 with the latest wicd update? Yes : latest is wicd-gtk-1.7.0-9.fc16.noarch but file netentry.py not modified => same problem . Herafter a segmentation fault in the D-bus side of the programm:
[ath@mobilix ~]$ /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py
Has notifications support True
Loading...
Connecting to daemon...
Connected.
displaytray True
Done loading.
/usr/share/wicd/gtk/wicd-client.py:1028: GtkWarning: IA__gdk_window_get_root_coords: assertion `GDK_IS_WINDOW (window)' failed
mainloop.run()
/usr/share/wicd/gtk/gui.py:162: GtkWarning: IA__gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
self.wTree = gtk.glade.XML(gladefile)
refreshing...
ESSID : SFR_60E8
refreshing...
ESSID : SFR_60E8
removing profile
refreshing...
ESSID : SFR_60E8
removing profile
ERROR:dbus.connection:Unable to set arguments (None,) according to signature u'v': <type 'exceptions.TypeError'>: Don't know how which D-Bus type to use to encode type "NoneType"
Traceback (most recent call last):
File "/usr/share/wicd/gtk/netentry.py", line 778, in toggle_default_profile
wired.SaveWiredNetworkProfile(self.combo_profile_names.get_active_text())
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 620, in call_blocking
message.append(signature=signature, *args)
TypeError: Don't know how which D-Bus type to use to encode type "NoneType"
ERROR:dbus.connection:Unable to set arguments (None,) according to signature u'v': <type 'exceptions.TypeError'>: Don't know how which D-Bus type to use to encode type "NoneType"
Traceback (most recent call last):
File "/usr/share/wicd/gtk/netentry.py", line 778, in toggle_default_profile
wired.SaveWiredNetworkProfile(self.combo_profile_names.get_active_text())
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 620, in call_blocking
message.append(signature=signature, *args)
TypeError: Don't know how which D-Bus type to use to encode type "NoneType"
ERROR:dbus.connection:Unable to set arguments (None,) according to signature u'v': <type 'exceptions.TypeError'>: Don't know how which D-Bus type to use to encode type "NoneType"
Traceback (most recent call last):
File "/usr/share/wicd/gtk/netentry.py", line 778, in toggle_default_profile
wired.SaveWiredNetworkProfile(self.combo_profile_names.get_active_text())
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 620, in call_blocking
message.append(signature=signature, *args)
TypeError: Don't know how which D-Bus type to use to encode type "NoneType"
ERROR:dbus.connection:Unable to set arguments (None,) according to signature u'v': <type 'exceptions.TypeError'>: Don't know how which D-Bus type to use to encode type "NoneType"
Traceback (most recent call last):
File "/usr/share/wicd/gtk/netentry.py", line 778, in toggle_default_profile
wired.SaveWiredNetworkProfile(self.combo_profile_names.get_active_text())
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 620, in call_blocking
message.append(signature=signature, *args)
TypeError: Don't know how which D-Bus type to use to encode type "NoneType"
ERROR:dbus.connection:Unable to set arguments (None,) according to signature u'v': <type 'exceptions.TypeError'>: Don't know how which D-Bus type to use to encode type "NoneType"
Traceback (most recent call last):
File "/usr/share/wicd/gtk/gui.py", line 658, in edit_advanced
if self.run_settings_dialog(dialog, ttype, networkid, networkentry):
File "/usr/share/wicd/gtk/gui.py", line 671, in run_settings_dialog
if self.save_settings(nettype, networkid, networkentry):
File "/usr/share/wicd/gtk/gui.py", line 640, in save_settings
if not networkentry.save_wired_settings():
File "/usr/share/wicd/gtk/netentry.py", line 703, in save_wired_settings
return self.advanced_dialog.save_settings()
File "/usr/share/wicd/gtk/netentry.py", line 340, in save_settings
wired.SaveWiredNetworkProfile(self.prof_name)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 620, in call_blocking
message.append(signature=signature, *args)
TypeError: Don't know how which D-Bus type to use to encode type "NoneType"
Erreur de segmentation (core dumped)
As shown by the backtrace, It is caused by a wrong None Python type returned in
this file netentry.py . The right result is the zero length string aka ''.
always present: in wicd-gtk-1.7.0-10.fc16.noarch. the proposed patch in 740256 comment #3 would correct the "Description" bug but not the one in comment 2 which is more severe (core dumped). I lookd at it but not now. I am in holidays, after all and my french mountain: (Les Vosges) are calling me. Can you please attach your proposed patches as unified diffs (diff -u)? I want to make sure I am getting everything you are proposing and it is difficult to follow in Bugzilla comments. Closing this out because it's been a month with no update. Please feel free to reopen if you can provide the information requested in comment #4. Thanks. |