** Changed in: openlp/trunk
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1105688
Title:
Main Window Will not Display
Status in OpenLP - Worship Presentation Software:
Fix Released
Status in OpenLP trunk series:
Fix Released
Bug description:
I updated my local "branch" (I don't remember if that's the correct
term or not...) to revision 2160 and tried to launch the application,
but the main window would not open. The last few lines of the debug
log are as follows:
2013-01-25 21:54:12,549 openlp.core.ui.mediadockmanager
DEBUG Inserting Presentations dock
2013-01-25 21:54:12,559 openlp.plugins.presentations.lib.impresscontroller
DEBUG start process Openoffice
2013-01-25 21:54:12,571 root
ERROR Traceback (most recent call last):
File "./openlp.pyw", line 53, in <module>
main()
File "/home/nsmith/programming/openlp/trunk/openlp/core/__init__.py", line
315, in main
sys.exit(app.run(qt_args))
File "/home/nsmith/programming/openlp/trunk/openlp/core/__init__.py", line
137, in run
self.mainWindow = MainWindow(self)
File "/home/nsmith/programming/openlp/trunk/openlp/core/ui/mainwindow.py",
line 567, in __init__
self.pluginManager.initialise_plugins()
File
"/home/nsmith/programming/openlp/trunk/openlp/core/lib/pluginmanager.py", line
191, in initialise_plugins
plugin.initialise()
File
"/home/nsmith/programming/openlp/trunk/openlp/plugins/presentations/presentationplugin.py",
line 94, in initialise
self.mediaItem.buildFileMaskString()
File
"/home/nsmith/programming/openlp/trunk/openlp/plugins/presentations/lib/mediaitem.py",
line 88, in buildFileMaskString
self.plugin.serviceManager.supportedSuffixes(type)
AttributeError: 'PresentationPlugin' object has no attribute 'serviceManager'
None
I changed line 88 of the file
"/home/nsmith/programming/openlp/trunk/openlp/plugins/presentations/lib/mediaitem.py"
from:
self.plugin.serviceManager.supportedSuffixes(type)
to
self.main_window.serviceManagerContents.supportedSuffixes(type)
and the main window opens as expected. As I am only beginning
development, I do not know if this is the proper remedy; thus, I am
posting this here.
I use Ubuntu 12.04 with LibreOffice 3.5.4.2.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1105688/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help : https://help.launchpad.net/ListHelp