Saving settings tries to use uno when unavailable

Bug #698881 reported by Jon Tibble
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Undecided
Meinert Jordan

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

Meinert Jordan (m2j)
Changed in openlp:
assignee: nobody → m2j (m2j)
status: New → In Progress
Meinert Jordan (m2j)
Changed in openlp:
status: In Progress → Fix Committed
Meinert Jordan (m2j)
Changed in openlp:
status: Fix Committed → Fix Released
Changed in openlp:
milestone: none → 1.9.5
milestone: 1.9.5 → 1.9.4
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.