missing module reported by -l debug

Bug #1116718 reported by Dave Bevan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Invalid
Undecided
Unassigned
Website
New
Low
Unassigned

Bug Description

Hello,

The wiki needs to mention that python-mysql is needed in terms of using mysql as backend.

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

Do you have MySQL installed?

Revision history for this message
Dave Bevan (dave-bevan) wrote :

Yes, including phpmyadmin, full apache stack etc.

Access using "mysql -uopenlp -popenlp -hlocalhost openlp" verified with ability to create tables by hand etc.

Is there a python package dependency that isn't documented perhaps?

--d.

Revision history for this message
Dave Bevan (dave-bevan) wrote :

OK.

So I performed

npf@pc-n993019:~/.cache/openlp$ sudo apt-get install python-mysqldb
[sudo] password for npf:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-mysqldb-dbg
The following NEW packages will be installed
  python-mysqldb
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 79.6kB of archives.
After this operation, 299kB of additional disk space will be used.
Get: 1 http://gb.archive.ubuntu.com/ubuntu/ lucid/main python-mysqldb 1.2.2-10build1 [79.6kB]
Fetched 79.6kB in 0s (321kB/s)
Selecting previously deselected package python-mysqldb.
(Reading database ... 198556 files and directories currently installed.)
Unpacking python-mysqldb (from .../python-mysqldb_1.2.2-10build1_amd64.deb) ...
Setting up python-mysqldb (1.2.2-10build1) ...

Processing triggers for python-support ...

And now OpenLP starts, and has created tables as required.

So, it's a documentation issue - perhaps the mention in the Linux section of a dependency on Python's MySQL module should be made, and perhaps an example, for Ubuntu users, showing

sudo apt-get install python-mysqldb

would help.

Thanks for the hint.
--d.

Changed in openlp:
status: New → Invalid
description: updated
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.