[bt-devel] NET Bible Unlock Bug
Martin Gruner
mg.pub at gmx.net
Tue Jan 6 10:47:48 MST 2009
Jeremy,
you did not receive an answer on this thread - the bug has been fixed long ago
with the solution you described. Thank you!
mg
Am Donnerstag 27 September 2007 00:37:36 schrieb Jeremy Erickson:
> As I posted on the wiki, I found a bug in the port of BibleTime to KDE 4
> which it turns out is also present in the current KDE 3 version. When I
> start BibleTime, it prints a message, "WARNING: Unlock key of module NET is
> not valid." However, it is nonetheless possible to use the module as if
> there was no problem. I found out that the message is being printed from
> line 178 in src/backend/drivers/cswordmoduleinfo.cpp when it encounters a
> nonprinting character in the text of Genesis 1. It does in fact decrypt
> the text properly, but some Hebrew characters (the name "Elohim" in
> footnote 2 of 1:1) are represented improperly in the QString and as such
> test as nonprinting characters. This causes the test for a proper
> unlocking to fail. I think the root cause is using fromLatin1() when the
> text itself was not encoded in Latin 1. Would there be a simple fix to
> make sure the text encoding is handled properly? I think this would be
> sufficient to fix the bug. Alternatively, would there be a cleaner way to
> check for unlocking?
>
> -Jeremy Erickson
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel
More information about the bt-devel
mailing list