[Bugs] #2106 UNSP: "sugar-control-panel -l" gives non-fatal error
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Sun Jul 18 17:57:59 EDT 2010
#2106: "sugar-control-panel -l" gives non-fatal error
------------------------------------------+---------------------------------
Reporter: fran | Owner: tomeu
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: Git as of bugdate
Severity: Unspecified | Keywords:
Distribution: Fedora | Status_field: Unconfirmed
------------------------------------------+---------------------------------
When running "sugar-control-panel -l", I get the following output:
{{{
[fran at grackle ~]$ sugar-control-panel -l
ERROR:root:Exception while loading extension:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/jarabe/controlpanel/cmd.py", line
66, in load_modules
globals(), locals(), ['model'])
File
"/usr/share/sugar/extensions/cpsection/modemconfiguration/model.py", line
19, in <module>
from jarabe.model.network import GSM_USERNAME_PATH, GSM_PASSWORD_PATH,
\
File "/usr/lib/python2.6/site-packages/jarabe/model/network.py", line
306, in <module>
class NMSettings(dbus.service.Object):
AttributeError: 'module' object has no attribute 'service'
network:
networks (use the -c argument with this option)
registration (use the -c argument with this option)
jabber
publish_information
radio
aboutcomputer:
aboutcomputer
build_number
firmware_number
license
serial_number
wireless_firmware
datetime:
timezone
aboutme:
color
color_xo
nick
language:
languages
keyboard:
frame:
corner_delay
edge_delay
updater:
power:
automatic_pm
extreme_pm
}}}
I've attached a small patch that fixes this.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2106>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list