← Back to team overview

openlp-core team mailing list archive

[Bug 927585] Re: Gracefully handle cases where the user closes the presentation application

 

IMPRESS
--- Details of the Exception. ---

trying to play Impress presentation

--- Exception Traceback ---
Traceback (most recent call last):
File 
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/messagelistener.py", 
line 379, in unblank
self.live_handler.unblank()
File 
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/messagelistener.py", 
line 226, in unblank
self.doc.unblank_screen()
File 
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/impresscontroller.py", 
line 375, in unblank_screen
return self.control.resume()
com.sun.star.lang.DisposedException: Binary URP bridge already disposed

(OR ON WINDOWS: AttributeError: 'NoneType' object has no attribute
'resume' )


--- Details of the Exception. ---

Playing with odp file in live but without second display

--- Exception Traceback ---
Traceback (most recent call last):
   File 
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/messagelistener.py", 
line 301, in slide
     self.live_handler.slide(slide)
   File 
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/messagelistener.py", 
line 113, in slide
     self.doc.goto_slide(int(slide) + 1)
   File 
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/impresscontroller.py", 
line 431, in goto_slide
     self.control.gotoSlideIndex(slideno-1)
AttributeError: 'NoneType' object has no attribute 'gotoSlideIndex'

--- Details of the Exception. ---

i open a powerpoint-file to show under linux-version

- --- Exception Traceback ---
Traceback (most recent call last):
File
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/messagelistener.py",
line 292, in startup
message3)
File
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/messagelistener.py",
line 64, in add_handler
if not self.doc.load_presentation():
File
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/impresscontroller.py",
line 267, in load_presentation
self.create_thumbnails()
File
"/usr/lib/pymodules/python2.7/openlp/plugins/presentations/lib/impresscontroller.py",
line 290, in create_thumbnails
page = pages.getByIndex(idx)
com.sun.star.lang.DisposedException: Binary URP bridge already disposed

--- Details of the Exception. ---

Trying to display Open Document presentation

--- Exception Traceback ---
Traceback (most recent call last):
  File "D:\OpenLP_Code\release-1.9.8\build\pyi.win32\OpenLP\outPYZ1.pyz\openlp.plugins.presentations.lib.messagelistener", line 292, in startup
  File "D:\OpenLP_Code\release-1.9.8\build\pyi.win32\OpenLP\outPYZ1.pyz\openlp.plugins.presentations.lib.messagelistener", line 64, in add_handler
  File "D:\OpenLP_Code\release-1.9.8\build\pyi.win32\OpenLP\outPYZ1.pyz\openlp.plugins.presentations.lib.impresscontroller", line 233, in load_presentation
  File "D:\OpenLP_Code\release-1.9.8\build\pyi.win32\OpenLP\outPYZ1.pyz\openlp.plugins.presentations.lib.impresscontroller", line 152, in get_com_desktop
  File "<COMObject com.sun.star.ServiceManager>", line 2, in createInstance
com_error: (-2147023174, 'El servidor RPC no est\xe1 disponible.', None, None)

	
--- Details of the Exception. ---

trying to play an impress file with a video embedded in one of the
slides

--- Exception Traceback ---
Traceback (most recent call last):
  File "D:\OpenLP_Code\Trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 354, in shutdown
  File "D:\OpenLP_Code\Trunk\build\pyi.win32\OpenLP\outPYZ1.pyz/openlp.plugins.presentations.lib.messagelistener", line 184, in shutdown
AttributeError: 'NoneType' object has no attribute 'close_presentation'

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

Title:
  Gracefully handle cases where the user closes the presentation
  application

Status in OpenLP - Worship Presentation Software:
  Confirmed

Bug description:
  There are a number of bug reports with regards to the user shutting
  down PowerPoint or Impress before OpenLP is closed, causing an
  exception on close. We should handle this exception gracefully, pretty
  much ignoring it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/927585/+subscriptions


References