← Back to team overview

openlp-core team mailing list archive

[Bug 1416168] [NEW] Trace back when opening OpenLP

 

Public bug reported:

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'

** 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/1416168

Title:
  Trace back when opening OpenLP

Status in OpenLP - Worship Presentation Software:
  New

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'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1416168/+subscriptions


Follow ups

References