Fallback to Mode: Master if 'None' is detected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
Fix Released
|
Low
|
David Paleino |
Bug Description
hi there
I'm using wicd 1.7.0 in fedora 13.
When trying to connect to an open network with 'None' as mode (that's what properties>
2010/10/22 00:44:55 :: Flushing the routing table...
2010/10/22 00:44:55 :: Exception in thread Thread-17:
2010/10/22 00:44:55 :: Traceback (most recent call last):
2010/10/22 00:44:55 :: File "/usr/lib/
2010/10/22 00:44:55 :: self.run()
2010/10/22 00:44:55 :: File "/usr/lib/
2010/10/22 00:44:55 :: self._connect()
2010/10/22 00:44:55 :: File "/usr/lib/
2010/10/22 00:44:55 :: wiface.
2010/10/22 00:44:55 :: File "/usr/lib/
2010/10/22 00:44:55 :: return func(self, *args, **kwargs)
2010/10/22 00:44:55 :: File "/usr/lib/
2010/10/22 00:44:55 :: if mode.lower() == 'master':
2010/10/22 00:44:55 :: AttributeError: 'NoneType' object has no attribute 'lower'
2010/10/22 00:44:55 ::
2010/10/22 00:44:55 :: Sending connection attempt result Failed
...leading to an aborted connection.
Adding:
if mode==None:
Before line 1046 fixes the problem, as shows this bug report sent from the now accessible wireless network.
Related branches
Changed in wicd: | |
status: | Fix Committed → Fix Released |
Fixed in rev. 722, thanks.