Comment 1 for bug 824508

bat bast (bat-bast) wrote :

With Precise version (wicd, wicd client crash when some hidden networks exist :
bast@batpiisi:~/tmp$ wicd-cli -ly
Traceback (most recent call last):
  File "/usr/share/wicd/cli/", line 113, in <module>
    wireless.GetWirelessProperty(network_id, 'essid'))
  File "/usr/lib/python2.7/dist-packages/dbus/", line 145, in __call__
  File "/usr/lib/python2.7/dist-packages/dbus/", 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/dist-packages/dbus/", line 751, in _message_cb
    _method_reply_return(connection, message, method_name, signature, *retval)
  File "/usr/lib/python2.7/dist-packages/dbus/", line 254, in _method_reply_return
    reply.append(signature=signature, *retval)
TypeError: expected string without null bytes

A solution is in the file /usr/share/pyshared/wicd/ : change the visibility of the network
1281 if ap['essid'] in ['Hidden', '<hidden>', "", None]:
1282 print 'hidden'
1283 # BAST
1284 #ap['hidden'] = True
1285 ap['hidden'] = False
1286 ap['essid'] = "<hidden>"
1287 else:
1288 ap['hidden'] = False