the api in guidance-backends, namely in /usr/share/python-support
/guidance-backends/xorgconfig.py seems to have changed. This causes
self.xorg_conf to be a tuple of XorgConfig and bool rather than a simple
XorgConfig.

Changing line 60 in /usr/lib/python2.5/site-packages/jockey/xorg_driver.py from
                self.xorg_conf = 
xorgconfig.readConfig(OSLib.inst.xorg_conf_path)
to
                self.xorg_conf = 
xorgconfig.readConfig(OSLib.inst.xorg_conf_path)[0]

fixes the problem. I'm not sure what one could use the boolean value in
the tuple for since it looks like an XorgConfig instance is created
anyways or an Exception raised. And in anyy case xorg_driver.py simply
fills in None if there was an exception. Anyway it might still be bad
style to simply ignore that bool. Yet it seems to work. diff -Nurp is
attatched.

** Attachment added: "xorg_driver.py.patch"
   http://launchpadlibrarian.net/13331746/xorg_driver.py.patch

-- 
jockey-gtk crashed with AttributeError: 'tuple' object has no attribute 
'getSections'
https://bugs.launchpad.net/bugs/215027
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to