openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #19735
[Bug 1105688] Re: Main Window Will not Display
@N Smith: When you have some code you want to contribute upload it on
launchpad and "propose for merging".
See: http://www.wiki.openlp.org/Development:Workflow
** Also affects: openlp/trunk
Importance: Low
Assignee: Tim Bentley (trb143)
Status: In Progress
** Changed in: openlp/trunk
Status: In Progress => Fix Committed
--
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 Committed
Status in OpenLP trunk series:
Fix Committed
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
References