[Bugs] #407 UNSP: Set keyboard layout from control panel
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Mon Aug 24 12:06:02 EDT 2009
#407: Set keyboard layout from control panel
------------------------------------------+---------------------------------
Reporter: alsroot | Owner: erikos
Type: defect | Status: assigned
Priority: Unspecified by Maintainer | Milestone: 0.86
Component: sugar | Version: Git as of bugdate
Severity: Unspecified | Resolution:
Keywords: r? | Distribution: SoaS
Status_field: New |
------------------------------------------+---------------------------------
Changes (by sayamindu):
* keywords: r! => r?
Comment:
I fixed most of the issues that you have outlined in the review:
* [http://git.sugarlabs.org/projects/sugar/repos/sugar-xkb-
support/commits/9d7009880fc862c2e14f2ad4afb2c6d20bb6e439 Abbreviations and
PEP8 fixes]
* [http://git.sugarlabs.org/projects/sugar/repos/sugar-xkb-
support/commits/f4fe0560b7bf1aa6a910a40fd36386aab01cbd94 More robust
variable checking and error handling]
Unfortunately, in
{{{
def setup_keyboard_cb(gconf_client):
logging.debug('STARTUP: setup_keyboard_cb')
try:
...
except:
logging.debug('ERROR in setup_keyboard_cb: %s' %
str(sys.exc_info()))
pass
}}}
I have no way of figuring out what error is going to happen (we are trying
to interact with GConf, the core X protocol, a layer of Python and a layer
of C+GObject and a layer of Xlib on top of the protocol - all in this
section of the code).
--
Ticket URL: <http://dev.sugarlabs.org/ticket/407#comment:15>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list