← Back to team overview

openlp-core team mailing list archive

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

 

Public bug reported:

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.

** Affects: openlp
     Importance: Undecided
         Status: New

-- 
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:
  New

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.





Follow ups

References