MySQL support on Windows fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Low
|
Raoul Snyman |
Bug Description
Now this may be user error on my part, so apologies in advance if so.
I attempted to turn on MySQL support for Windows (7 Enterprise), running the latest Windows package exe.
I pasted the following into an openlp.reg text file and used it to update the registry:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_
"db username"="user"
"db password"
"db hostname"="host"
"db database"="test"
"db type"="mysql"
Now when I start OpenLP, the following appears in the debug trace:
2011-02-07 10:52:59,707 openlp.
2011-02-07 10:52:59,707 openlp.
2011-02-07 10:52:59,763 root ERROR Traceback (most recent call last):
File "<string>", line 287, in <module>
File "<string>", line 281, in main
File "<string>", line 191, in run
File "C:\Documents and Settings\raoul\My Documents\My Projects\
File "C:\Documents and Settings\raoul\My Documents\My Projects\
File "c:\dev\
self.manager = Manager(u'songs', init_schema)
File "C:\Documents and Settings\raoul\My Documents\My Projects\
File "C:\Documents and Settings\raoul\My Documents\My Projects\
File "C:\Documents and Settings\raoul\My Documents\My Projects\
File "C:\Documents and Settings\raoul\My Documents\My Projects\
File "C:\Documents and Settings\raoul\My Documents\My Projects\
File "C:\Documents and Settings\raoul\My Documents\My Projects\
File "c:\Documents and Settings\raoul\My Documents\My Projects\
File "c:\Documents and Settings\raoul\My Documents\My Projects\
File "c:\dev\
import _mysql
File "c:\Documents and Settings\raoul\My Documents\My Projects\
File "c:\Documents and Settings\raoul\My Documents\My Projects\
File "c:\dev\
__bootstrap__()
File "c:\dev\
__file__ = pkg_resources.
File "c:\dev\
self, resource_name
File "c:\dev\
return self._extract_
File "c:\dev\
zip_stat = self.zipinfo[
KeyError: '_mysql\
None
Related branches
- Jonathan Corwin (community): Approve
-
Diff: 83 lines (+5/-25)3 files modifiedopenlp/plugins/songs/lib/db.py (+3/-24)
openlp/plugins/songs/lib/mediaitem.py (+1/-0)
openlp/plugins/songs/lib/xml.py (+1/-1)
description: | updated |
description: | updated |
Changed in openlp: | |
assignee: | nobody → Raoul Snyman (raoul-snyman) |
milestone: | none → 1.9.5 |
Changed in openlp: | |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in openlp: | |
milestone: | 1.9.5 → 1.9.6 |
Changed in openlp: | |
status: | In Progress → Fix Released |
Please try again with the latest Windows build, as of 22:45 SAST.