Crashes on non-alphanumeric characters in MySQL password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Low
|
Raoul Snyman |
Bug Description
OpenLP 1.9.7 on Win7 Pro x64
-- as reported by jstruebel on forums:
It appears that OpenLP can't handle non-alphanumeric characters in the mysql password. I had generated a random password that included some symbols originally and even still if I try to use that password OpenLP fails to connect to the database. The second password that I tried today and which worked, was a random password using only alphanumeric characters.
The debug logs for both an unsuccessful attempt and the successful connection are at the following links.
* crashed with traceback: http://
* successful: http://
I have run into this issue with other software where passwords must not contain symbols. Since it works with a strictly alphanumeric password it isn't a showstopper, but the documentation should indicate that the password cannot contain symbols.
http://
Related branches
- Tim Bentley: Approve
-
Diff: 26 lines (+5/-4)1 file modifiedopenlp/core/lib/db.py (+5/-4)
description: | updated |
description: | updated |
Changed in openlp: | |
assignee: | nobody → Raoul Snyman (raoul-snyman) |
importance: | Undecided → Low |
milestone: | none → 1.9.8 |
Changed in openlp: | |
status: | New → Fix Committed |
Changed in openlp: | |
status: | Fix Committed → Fix Released |