[Bugs] #2369 UNSP: string index out of range in meshbox.py _name_encodes_colors
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Sep 24 22:22:15 EDT 2010
#2369: string index out of range in meshbox.py _name_encodes_colors
------------------------------------------+---------------------------------
Reporter: carrott | Owner:
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: untriaged | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Description changed by carrott:
Old description:
> Observed this error in shell.log on both os852 and os373pyg at different
> times at the same physical locations. (noticed on os373pyg in log on
> #2281 http://bugs.sugarlabs.org/attachment/ticket/2281/tux_send_shell.log
> )
>
> {{{
> ** (sugar-session:1998): WARNING **: child 0x99321e8 EntryIcon returned
> width request of -1 and 0, at least one <0
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py", line
> 1101, in _ap_props_changed_cb
> self._add_ap_to_network(ap)
> File "/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py", line
> 1078, in _add_ap_to_network
> icon = WirelessNetworkView(ap)
> File "/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py", line
> 93, in __init__
> and self._name_encodes_colors():
> File "/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py", line
> 142, in _name_encodes_colors
> return self._name[-7] == '#' and self._name[-8] == ',' \
> IndexError: string index out of range
> }}}
>
> Attached in networks.txt is the output of iwlist eth0 scan
New description:
Observed this error in shell.log on both os852 and os373pyg at different
times at the same physical location. (noticed on os373pyg in log on #2281
http://bugs.sugarlabs.org/attachment/ticket/2281/tux_send_shell.log )
{{{
** (sugar-session:1998): WARNING **: child 0x99321e8 EntryIcon returned
width request of -1 and 0, at least one <0
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py", line
1101, in _ap_props_changed_cb
self._add_ap_to_network(ap)
File "/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py", line
1078, in _add_ap_to_network
icon = WirelessNetworkView(ap)
File "/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py", line
93, in __init__
and self._name_encodes_colors():
File "/usr/lib/python2.6/site-packages/jarabe/desktop/meshbox.py", line
142, in _name_encodes_colors
return self._name[-7] == '#' and self._name[-8] == ',' \
IndexError: string index out of range
}}}
Attached in networks.txt is the output of iwlist eth0 scan
--
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2369#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list