[Bug 954312] Re: crash in toggle_top_level()

Kent Baxley 954312 at bugs.launchpad.net
Tue Mar 13 18:39:13 UTC 2012


** Attachment added: "plugin sample"
   https://bugs.launchpad.net/bugs/954312/+attachment/2864684/+files/test-video.py

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/954312

Title:
  crash in toggle_top_level()

Status in “ubiquity” package in Ubuntu:
  New

Bug description:
  ubiquity-2.9.27

  I am working on a ubiquity plugin for oem-config and I ran into a
  problem when calling "self.controller.toggle_top_level()"

  The installer will crash and  message I get from the oem-config.log
  is:

    File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 126, in toggle_top_level
      if self._wizard.live_installer.get_property('visible'):
  AttributeError: Wizard instance has no attribute 'live_installer'

  The plugin is supposed play a video during oem-config at first boot,
  and it was recommended to use toggle_top_level before and after the
  video plays.  I can't tell if the plugin works due to the crash above.

  I was told that this might have been something that broke in ubiquity
  when converting to GTK3 that wasn't noticed since no plugins are
  currently taking advantage of that function (except this one).

  I will attach my plugin sample code as well as the oem-config log.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/954312/+subscriptions




More information about the foundations-bugs mailing list