First-run crash, Ubuntu 16.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Expired
|
Undecided
|
Unassigned |
Bug Description
Can't commit - no permission. So...
-------
revno: 75
committer: <hidden>
branch nick: debian-package
timestamp: Fri 2016-06-03 13:33:52 +0100
message:
Installation/
Since you expressly require MySQL support (I had a first-run crash - see below), my fix below expressly adds the pymysql package as a depends in openlp rather than accepting the sqlalchemy, more relaxed, suggests.
I was able to debug as I'm an experience linux dev and packager. It's my expectation that many less experienced (perhaps not professional Linux) users wouldn't have a clue.
=====
**OpenLP Bug Report**
Version: {'build': None, 'version': '2.4', 'full': '2.4'}
--- Details of the Exception. ---
First-run crash. I now know that prior MySQL use was not the factor in this crash - it was the missing python3-pymysql dependency.
<PleaseIgnore>
Initial start of OpenLP 2.4-1 on a system that had a previous install.
The previous install was configured to use MySQL as it's backing database (we have a network MySQL server install at our church which has a separate web front-end that all
ows worship planners to search the OpenLP song database for content).
</PleaseIgnore>
--- Exception Traceback ---
Traceback (most recent call last):
File "/usr/bin/openlp", line 44, in <module>
main()
File "/usr/share/
sys.
File "/usr/share/
Registry(
File "/usr/share/
result = function(*args, **kwargs)
File "/usr/share/
self.
File "/usr/share/
plugin = p()
File "/usr/share/
self.manager = Manager('songs', init_schema, upgrade_
File "/usr/share/
db_ver, up_ver = upgrade_
File "/usr/share/
session, metadata = init_db(url)
File "/usr/share/
engine = create_engine(url, poolclass=NullPool)
File "/usr/lib/
return strategy.
File "/usr/lib/
dbapi = dialect_
File "/usr/lib/
return __import_
File "/usr/lib/
return _g_delegatee( name, *optargs, **kwargs )
ImportError: No module named 'pymysql'
--- System information ---
Platform: Linux-4.
Desktop: GNOME
--- Library Versions ---
Python: 3.5.1+
Qt5: 5.5.1
PyQt5: 5.5.1
QtWebkit: 538.1
SQLAlchemy: 1.0.11
SQLAlchemy Migrate: -
BeautifulSoup: 4.4.1
lxml: 3.5.0
Chardet: 2.3.0
PyEnchant: 1.6.6
Mako: 1.0.3
pyICU: -
pyUNO bridge: 5.1
VLC: -
-------
$ diff control control-with-pymsql
32a33
> python3-pymysql,