theWord
https://forum.theword.net/

Application hang when indexing read only .ontx file
https://forum.theword.net/viewtopic.php?f=8&t=6102
Page 1 of 1

Author:  snakyjake [ Sun Nov 09, 2014 6:04 am ]
Post subject:  Application hang when indexing read only .ontx file

I installed a new Bible to the Bible folder. theWord started indexing the new book. The indexing window took hours, without any application activity. I then noticed several recent .tmp files were being created from the .ontx file. theWord never completed the indexing, and I terminated the application.

Later I found the reason. I had the .ontx file attribute set as read-only. I imagine a similar problem would occur if the user account didn't have write permissions.

beta 1425

Author:  csterg [ Sun Nov 09, 2014 9:54 am ]
Post subject:  Re: Application hang when indexing read only .ontx file

Can you provide more info on how to reproduce this?
Which Bible?
How did you make the .idx file read-only? Was it already there?

Author:  snakyjake [ Sun Nov 09, 2014 10:34 pm ]
Post subject:  Re: Application hang when indexing read only .ontx file

This is for installing a new Bible "New King James Version", nkjv.ontx.

I made the nkjv.ontx read only before starting theWord. After starting theWord for the first time with the new Bible, theWord attempted to index the book.

After making the file writeable, and restarting theWord, theWord completed the indexing, the timestamp on the file changed, so did the checksum. So the indexing changes the file.

The only thing I don't like about this is authentication; I have to trust whomever is doing the indexing, and indexing was the only thing they changed.

OS = Windows 7 x64

Author:  csterg [ Mon Nov 10, 2014 9:07 am ]
Post subject:  Re: Application hang when indexing read only .ontx file

OK, i see what you are saying. theWord assumes that the .ontx file is writeable - i will see how i can add a fail-safe mechanism there.

Author:  johngreek [ Tue Nov 11, 2014 7:32 am ]
Post subject:  Re: Application hang when indexing read only .ontx file

I encountered this kind of problem too hope can fix this.

Page 1 of 1 All times are UTC + 2 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/