← Back to team overview

openlp-core team mailing list archive

[Bug 696013] Re: song import from powerpoint crashes every second time

 

With a recent indentation fix in our impress code this bug appears to have changed behaviour - it is no longer every other time but will consistently work the first time you load OpenLP but shutting down OpenLP will leave an error in the log.
This error is from our ooo process killing method which may not be entirely correct and ends up leaving the process running.  The running process then appears to not be picked up by the process detection code when OpenLP is next run and so all subsequent imports break.

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

Title:
  song import from powerpoint crashes every second time

Status in OpenLP - Worship Presentation Software:
  Confirmed

Bug description:
  When trying to import a song from Generic Document/Presentation, every
  second time (e.g. the 2nd time, 4th time etc) it fails with an error:

  
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/forms/songimportform.py", line 356, in onCurrentIdChanged
      self.performImport()
    File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/forms/songimportform.py", line 451, in performImport
      success = importer.do_import()
    File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/lib/oooimport.py", line 69, in do_import
      self.start_ooo()
    File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/lib/oooimport.py", line 122, in start_ooo
      manager = ctx.ServiceManager
  AttributeError: 'NoneType' object has no attribute 'ServiceManager'

  
  Then it says "starting import..." but it nevers finishes doing so (I have to click Cancel). Next time I try to import a song from a presentation, it works, next time it doesn't and so on.





References