Bug 917207 - [abrt] wicd-gtk-1.7.2.4-2.fc18: netentry.py:797:add_profile:AttributeError: 'NoneType' object has no attribute 'strip'
Summary: [abrt] wicd-gtk-1.7.2.4-2.fc18: netentry.py:797:add_profile:AttributeError: '...
Keywords:
Status: CLOSED DUPLICATE of bug 894650
Alias: None
Product: Fedora
Classification: Fedora
Component: wicd
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8fb48ff9f7680fedfa34501220c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-02 02:50 UTC by Sylvain
Modified: 2013-03-14 19:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-14 19:26:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (463 bytes, text/plain)
2013-03-02 02:51 UTC, Sylvain
no flags Details
File: environ (1.07 KB, text/plain)
2013-03-02 02:51 UTC, Sylvain
no flags Details

Description Sylvain 2013-03-02 02:50:56 UTC
Description of problem:
1_launch wicd-client
2_go into properties of my Wi-Fi i want to connect to and enter my WPA Password
3_click OK
4_error in console:

setting encryption info...
Traceback (most recent call last):
  File "/usr/share/wicd/gtk/gui.py", line 676, in edit_advanced
    if self.run_settings_dialog(dialog, ttype, networkid, networkentry):
  File "/usr/share/wicd/gtk/gui.py", line 689, in run_settings_dialog
    if self.save_settings(nettype, networkid, networkentry):
  File "/usr/share/wicd/gtk/gui.py", line 654, in save_settings
    if not networkentry.save_wireless_settings(networkid):
  File "/usr/share/wicd/gtk/netentry.py", line 940, in save_wireless_settings
    return self.advanced_dialog.save_settings(networkid)
  File "/usr/share/wicd/gtk/netentry.py", line 591, in save_settings
    encrypt_methods[self.combo_encryption.get_active()]['type'])
  File "/usr/share/wicd/gtk/netentry.py", line 532, in set_net_prop
    wireless.SetWirelessProperty(self.networkID, option, value)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/share/wicd/daemon/wicd-daemon.py", line 1066, in SetWirelessProperty
    prop = misc.sanitize_config(prop)
  File "/usr/lib/python2.7/site-packages/wicd/misc.py", line 433, in sanitize_config
    return s.translate(None, table)
TypeError: translate() takes exactly one argument (2 given)


Version-Release number of selected component:
wicd-gtk-1.7.2.4-2.fc18

Additional info:
cmdline:        /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py --tray
core_backtrace: e04bdf27caf43998a6e9c312a87898292344d867 0x31d add_profile /usr/share/wicd/gtk/netentry.py -
executable:     /usr/share/wicd/gtk/wicd-client.py
kernel:         3.7.6-201.fc18.x86_64
uid:            0

Truncated backtrace:
netentry.py:797:add_profile:AttributeError: 'NoneType' object has no attribute 'strip'

Traceback (most recent call last):
  File "/usr/share/wicd/gtk/netentry.py", line 797, in add_profile
    "profiles.", "Profile name:").strip()
AttributeError: 'NoneType' object has no attribute 'strip'

Local variables in innermost frame:
widget: <gtk.Button object at 0x15d5690 (GtkButton at 0x166d180)>
self: <WiredNetworkEntry object at 0x15d52d0 (GtkHBox at 0x16b62b0)>

Comment 1 Sylvain 2013-03-02 02:51:01 UTC
Created attachment 704394 [details]
File: backtrace

Comment 2 Sylvain 2013-03-02 02:51:04 UTC
Created attachment 704395 [details]
File: environ

Comment 3 David Cantrell 2013-03-14 19:26:04 UTC

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


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