← Back to team overview

openlp-core team mailing list archive

[Bug 698881] Re: Saving settings tries to use uno when unavailable

 

** Changed in: openlp
    Milestone: None => 1.9.5

** Changed in: openlp
    Milestone: 1.9.5 => 1.9.4

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/698881

Title:
  Saving settings tries to use uno when unavailable

Status in OpenLP - Worship Presentation Software:
  Fix Released

Bug description:
  Without uno installed you can't save settings as the
  presentationtab.save() doesn't adequately protect itself against this
  possiblity

  --- Exception Traceback ---
  Traceback (most recent call last):
    File "/home/jt/projects/openlp/openlp/trivialfixes/openlp/core/ui/settingsform.py", line 91, in accept
      self.settingsTabWidget.widget(tabIndex).save()
    File "/home/jt/projects/openlp/openlp/trivialfixes/openlp/plugins/presentations/lib/presentationtab.py", line 121, in save
      controller.kill()
    File "/home/jt/projects/openlp/openlp/trivialfixes/openlp/plugins/presentations/lib/impresscontroller.py", line 184, in kill
      desktop = self.get_uno_desktop()
    File "/home/jt/projects/openlp/openlp/trivialfixes/openlp/plugins/presentations/lib/impresscontroller.py", line 123, in get_uno_desktop
      context = uno.getComponentContext()
  NameError: global name 'uno' is not defined



References