onboard crashes on launch

Bug #524749 reported by Aaron Greenspan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Onboard
Incomplete
Undecided
Unassigned

Bug Description

Hi,

On a fresh install of Ubuntu 9.0 that was subsequently updated to 9.1, I get this when running onboard from the command prompt. I'm not sure what I'm doing wrong...

root@kiosk2:/etc/gdm/Init# onboard
Traceback (most recent call last):
  File "/usr/bin/onboard", line 15, in <module>
    ob = Onboard()
  File "/usr/lib/python2.6/dist-packages/Onboard/OnboardGtk.py", line 62, in __init__
    self.load_layout(config.layout_filename)
  File "/usr/lib/python2.6/dist-packages/Onboard/OnboardGtk.py", line 167, in load_layout
    self.keyboard = KeyboardSVG(filename)
  File "/usr/lib/python2.6/dist-packages/Onboard/KeyboardSVG.py", line 34, in __init__
    self.load_layout(filename)
  File "/usr/lib/python2.6/dist-packages/Onboard/KeyboardSVG.py", line 98, in load_layout
    langdoc = minidom.parse(f).documentElement
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 928, in parse
    result = builder.parseFile(file)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
    parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 1

It looks like a bug but it may just be some kind of version conflict in some library somewhere. Any help would be appreciated.

Thanks,

Aaron

Revision history for this message
Aaron Greenspan (aarong) wrote :

Also potentially helpful... This is my system:

root@kiosk2:/etc/gdm/Init# uname -a
Linux kiosk2 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux

Revision history for this message
Fabian Affolter (fab-fedoraproject) wrote :

On Fedora with 0.94.0 this issue occurs too.

Revision history for this message
marmuta (marmuta) wrote :

It looks like it is trying to load an invalid layout file. Could you please run onboard with the -d switch like this:
onboard -d debug
and post the output here.

Also, perhaps try running onboard-settings from the command prompt and switch the layout to something else and back.

Changed in onboard:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.