OpenLP crashes when no databases exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Critical
|
Tim Bentley |
Bug Description
Hello,
trunk 1726, arch linux
1) Close OpenLP if it is running and go to the openlp data folder.
2) Rename the folder (or delete it)
3) Start OpenLP (-l debug -d)
Result:
OpenLP does not start, instead if crashes.
Traceback (most recent call last):
File "openlp.pyw", line 281, in <module>
main()
File "openlp.pyw", line 275, in main
sys.
File "openlp.pyw", line 124, in run
self.mainWindow = MainWindow(
File "/home/
self.
File "/home/
plugin = p(plugin_helpers)
File "/home/
self.manager = Manager(
File "/home/
db_ver, up_ver = upgrade_
File "/home/
tables = upgrade.
File "/home/
u'songusage
File "/usr/lib/
table.
File "/usr/lib/
self, include_columns
File "/usr/lib/
return conn.run_
File "/usr/lib/
return callable_(self, *args, **kwargs)
File "/usr/lib/
return insp.reflecttab
File "/usr/lib/
raise exc.NoSuchTable
NoSuchTableError: songusage_data
None
This the traceback shown for the songusge_data, but also affects the songs plugin.
Cheers
Related branches
- Raoul Snyman: Approve
-
Diff: 49 lines (+20/-12)1 file modifiedopenlp/core/lib/db.py (+20/-12)
Changed in openlp: | |
status: | New → Fix Committed |
assignee: | nobody → Tim Bentley (trb143) |
Changed in openlp: | |
status: | Fix Committed → Fix Released |