Trace back when opening OpenLP

Bug #1416168 reported by Jonathan Springer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
New
Undecided
Unassigned

Bug Description

Four different support request in the same day with the same error.

OpenLP 2.1.2 on Ubuntu 14.04 and Mac OS X 10.10

http://support.openlp.org/scp/tickets.php?id=2672
http://support.openlp.org/scp/tickets.php?id=2673
http://support.openlp.org/scp/tickets.php?id=2674
http://support.openlp.org/scp/tickets.php?id=2675

Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in
main()
File "/usr/share/openlp/openlp/core/__init__.py", line 373, in main
sys.exit(application.run(qt_args))
File "/usr/share/openlp/openlp/core/__init__.py", line 142, in run
Registry().execute('bootstrap_initialise')
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in
execute
result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 54, in
bootstrap_initialise
self.find_plugins()
File "/usr/share/openlp/openlp/core/lib/pluginmanager.py", line 102, in
find_plugins
plugin = p()
File "/usr/share/openlp/openlp/plugins/bibles/bibleplugin.py", line 73,
in __init__
self.manager = BibleManager(self)
File "/usr/share/openlp/openlp/plugins/bibles/lib/manager.py", line 107,
in __init__
self.reload_bibles()
File "/usr/share/openlp/openlp/plugins/bibles/lib/manager.py", line 123,
in reload_bibles
bible = BibleDB(self.parent, path=self.path, file=filename)
File "/usr/share/openlp/openlp/plugins/bibles/lib/db.py", line 148, in
__init__
self.get_name()
File "/usr/share/openlp/openlp/plugins/bibles/lib/db.py", line 165, in
get_name
version_name = self.get_object(BibleMeta, 'name')
File "/usr/share/openlp/openlp/core/lib/db.py", line 305, in get_object
return self.session.query(object_class).get(key)
AttributeError: 'NoneType' object has no attribute 'query'

or

Traceback (most recent call last):
  File "<string>", line 44, in <module>
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/core/__init__.py", line 377, in main
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/core/__init__.py", line 142, in run
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/core/common/registry.py", line 137, in execute
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/core/lib/pluginmanager.py", line 54, in bootstrap_initialise
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/core/lib/pluginmanager.py", line 102, in find_plugins
  File "/Applications/OpenLP.app/Contents/MacOS/plugins/bibles/bibleplugin.py", line 73, in __init__
    self.manager = BibleManager(self)
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/plugins/bibles/lib/manager.py", line 107, in __init__
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/plugins/bibles/lib/manager.py", line 123, in reload_bibles
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/plugins/bibles/lib/db.py", line 148, in __init__
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/plugins/bibles/lib/db.py", line 165, in get_name
  File "/Users/raoul/Projects/OpenLP/OpenLP-2.1.2/openlp/core/lib/db.py", line 305, in get_object
AttributeError: 'NoneType' object has no attribute 'query'

Revision history for this message
Phill (phill-ridout) wrote :

I've marked this as duplicate as the problem is with sourceforge. Its supplying an HTML error page rather than the expected database file (I've experienced it myself today!)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.