[sword-devel] Personal Commentary module

Eeli Kaikkonen eekaikko at mail.student.oulu.fi
Mon Jan 19 13:50:07 MST 2009


DM Smith wrote:
> 

> Do they account for the endianness of the CPU-s architecture?
> 
> That is, if a GnomeSword user on a non-Intel box migrates their personal 
> commentary to an Intel architecture, will GnomeSword still be able to 
> use the module? (Same goes for BibleTime).

This really is a problem which should be fixed. I asked about it (or 
similar problem with 32->64bit migration) some time ago. I attach the 
message here:

This has been sent to bt-devel for long time ago. I haven't had time to 
look at it but I still think it's a sword library problem. Could some 
library developer look at this?

--Eeli Kaikkonen

----- Edelleenvälitetty viesti lähettäjältä 
jsullivan at opensourcedevel.com -----
        Päiväys: Fri, 05 Sep 2008 11:08:43 -0400
      Lähettäjä: "John A. Sullivan III" <jsullivan at opensourcedevel.com>
Vastausosoite: BibleTime development <bt-devel at crosswire.org>
        Otsikko: [bt-devel] 64-bit Personal Commentary problems
  Vastaanottaja: BibleTime development <bt-devel at crosswire.org>

Hello, all.  I've been away from Bibletime for a long time because of
problems using on a 64-bit platform.  I eagerly returned after a year or
so because I really like the product.  I've found there are still
several issues that make it difficult to use.

I am running Bibletime 1.6.4 out of the Ubuntu repositories on fully
patched Hardy (8.0.4 I believe) with libsword6 version 1.5.9-8 also out
of the Ubuntu repositories on an AMD64 laptop.

There is still a problem where personal comments are saved with file
names that are either much larger than expected (I believe they are
supposed to be a numeric sequence) or contain bad characters.  I do not
know for sure but this smells like a 32 bit to 64 bit conversion problem
with bit manipulation.

Also, once I create the comment, I cannot edit it.  I can input the
edits but, if I leave the verse and return, the changes are gone.  This
is not a permissions issue as you can see from the file list below.

Here is a portion of a listing of the personal commentary directory.
Please not that the names change radically on September 7, 2007.  That
is when I switch to a 64 bit system.  Also note the files names are in
the 46 trillion range.  This makes me suspect the bit manipulation was
unexpectedly left filled with ones.  Something changed again when I
moved to the Ubuntu repository version. This increased the value of the
file names to the 139 trillion range.  Please also notice the files
created with questionable initial characters (displayed as "?").

I realize this could very well be a sword issue but thought I would
start here.  I'd love to go back to Bibletime but this is making it
problematic.  Thanks for all you've done and, if anyone would care to,
please pay me a visit at http://www.spiritualoutreach.com - John

-rw-r----- 1 jsullivan jsullivan     15 2007-09-04 21:10 0000449
-rw-r----- 1 jsullivan jsullivan     91 2007-09-04 21:10 0000456
-rw-r----- 1 jsullivan jsullivan    110 2007-09-04 21:10 0000460
-rw-r----- 1 jsullivan jsullivan    126 2007-09-04 21:10 0000461
-rw-r----- 1 jsullivan jsullivan    639 2007-09-04 21:10 0000464
-rw-r----- 1 jsullivan jsullivan    142 2007-09-04 21:10 0000466
-rw------- 1 jsullivan jsullivan    124 2007-09-04 21:10 0000467
-rw------- 1 jsullivan jsullivan     97 2007-09-04 21:10 0000471
-rw------- 1 jsullivan jsullivan     69 2007-09-04 21:10 0000479
-rw------- 1 jsullivan jsullivan    479 2007-09-04 21:10 0000487
-rw------- 1 jsullivan jsullivan   1105 2007-09-04 21:10 0000488
-rw------- 1 jsullivan jsullivan    417 2007-09-04 21:10 0000490
-rw------- 1 jsullivan jsullivan   5716 2007-09-04 21:10 0000492
-rw------- 1 jsullivan jsullivan   5716 2007-09-04 21:10 0000493
-rw------- 1 jsullivan jsullivan   4829 2007-09-04 21:10 0000494
-rw------- 1 jsullivan jsullivan     17 2007-09-04 21:11 0000496
-rw------- 1 jsullivan jsullivan    528 2007-09-07 20:29 0000497
-rw------- 1 jsullivan jsullivan    362 2007-10-01 19:37 0000498
-rw------- 1 jsullivan jsullivan     19 2008-09-03 06:54 139874199929332
-rw------- 1 jsullivan jsullivan    116 2008-09-03 07:40 140058883523063
-rw------- 1 jsullivan jsullivan    412 2008-09-03 07:36 ??1405699846312
-rw------- 1 jsullivan jsullivan    280 2008-09-03 07:28 140569984631285
-rw------- 1 jsullivan jsullivan     30 2008-09-03 07:29 140569984631286
-rw------- 1 jsullivan jsullivan    286 2008-09-03 07:38 ??46909
-rw------- 1 jsullivan jsullivan    328 2007-09-07 20:22 46909632807275
-rw------- 1 jsullivan jsullivan   1287 2007-09-07 20:27 46909632807277
-rw------- 1 jsullivan jsullivan    466 2007-09-07 20:30 46909632807279
-rw------- 1 jsullivan jsullivan    431 2007-09-07 20:34 46909632807283
-rw------- 1 jsullivan jsullivan    395 2007-10-01 19:38 47347719471603
-rwxr-xr-x 1 jsullivan jsullivan      4 2008-09-03 07:40 incfile
-rwxr-xr-x 1 jsullivan jsullivan 128899 2008-09-03 07:40 nt
-rwxr-xr-x 1 jsullivan jsullivan  49476 2008-09-03 07:40 nt.vss
-rwxr-xr-x 1 jsullivan jsullivan 373980 2007-09-07 20:29 ot
-rwxr-xr-x 1 jsullivan jsullivan 144690 2007-09-07 20:29 ot.vss
jsullivan at jaspav:~/.sword/modules/comments/rawfiles/personal$



More information about the sword-devel mailing list