[bt-devel] Next stable release

Jaak Ristioja jaak at ristioja.ee
Sun Apr 15 15:47:04 MST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16.04.2012 01:04, Gary Holmlund wrote:
> On 4/15/2012 12:34 PM, Benjamin Misja wrote:
>> 
>> Hi,
>> 
>> 
>> 
>> Great to hear that you guys are preparing a new minor release.
>> 
>> 
>> 
>> I am not a coder, so I lack the ability to check the code, but I
>>  couldn't see anything on the tracker or in the commit comments 
>> about the recurring problem that BT doesn't accept unlock codes 
>> for locked modules. Here's the most recent report (I think):
>> 
>> https://sourceforge.net/tracker/?func=detail&aid=3402987&group_id=954&atid=100954
>>
>>
>>
>> 
>> 
>> Blessings,
>> 
>> Ben
>> 
> 
> I checked each of my BT installations to make sure the unlock was 
> still working. It worked for me everywhere but on my Windows
> build. I debugged it and it looks like a sword bug. I got down to 
> BibleTime CSwordModuleInfo::unlockKeyIsValid. It does they 
> following: m_module->setPosition(sword::TOP); 
> m_module->getRawEntryBuf(); The getRawEntryBuf returns with an 
> empty string which causes the unlockKeyIsValid function to return 
> false.
> 
> I tried to track down the issue in sword. The getRawEntryBuf 
> computes sizes, offfset, and check cache and eventually returns a 
> "". I did not know enough about how the sizes, offset, etc. work
> to determine the exact cause.
> 
> But, my point is that I don't believe this is a BibleTime problem 
> and I don't think we should hold 2.9.2 because of it.

On the other hand, this bug is getting way too old and it is
recurring. We should deal with it.

Perhaps there exists some kind of workaround? What about something like:

    m_module->setPosition(sword::TOP);
    QString test;
    while (m_module->error() == 0) {
        test = /* bla bla */;
        if (!test.isEmpty())
            break;
        m_module->increment();
    };
    // test "test" here...

Btw, thanks Gary for debugging it this far! :)


God bless!
Jaak
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iQgcBAEBAgAGBQJPi0/jAAoJELeXyoqzFNdNH9g//0Wu8obYmqo0ytqrJ7mqXz3i
3doatBuo6bBBs93FEFtnlGpOCBWaRidKQDf3ZgNGLTU5NZ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+oz
+WT3cl54IhYpqIoJkWzZabdjcz+KgWUthSDuHnWc98G4ZkX7HaL/TBWobLs1YNzA
o1rToAEpLG24qg72Fx/JAVnp8TjZlezeSuXqcOSUPU7rfD8xPC6r0Vj2O8OBPjW7
+a/XaS72kxZSbdCTBXBOS1aEJsvJIadXmMhg0h3+xBK/wHffZ92wlvReKmNDqk8y
0So1u/rLjonxWJ0DWhVp87XYbmp/YDG8qezHyNHHBd3Rop/03XK8h4oPBVjqnqJH
Ex0CWGrfkuyrHXXsQkew3qi9CpAdu6+qXl4ObtBqjm5DXulVmkJMNcLW31RmpsrE
5deSlBLcvJhaa1HQtdMXmqWSnizoRdVWyV5RFHZdElp3FsFAX7IWgwGOYybmUe7G
/0G1Z1wKjy5M3YmvcLG1U2K7EIamqLoJ/b7FJR3Yoebps7xc4LSkfIBE/z456Bx0
G5pTRWawt0oY3QJ3n64wZUWzDWljmNB08eFGK7sAbobTnboqKH28FN9EIwE1dkNZ
sGyRW+D4v7AOXuzR0mly
=zQGU
-----END PGP SIGNATURE-----



More information about the bt-devel mailing list