Page 1 of 1

Indexing takes for ever, always hanging on the last file

PostPosted: Sat Nov 06, 2010 10:20 pm
by Bezi
I have used goldendict for a long time with no problem,
recently I upgraded to Fedora 14 and installed the latest git version of goldendict on it from the source code without any problem,

I have got a directory for dictionaries which includes a 6 or 7 bgl dictionaries,
now when I want to add that directory to list of dictionaries of goldendict, it starts scanning the files in the folder and indexing them,
however it takes for ever to index the last one in the directory, until I have to kill goldendict

I tried removing the last file from the directory and rescan the folder,
but yet again it hangs on whatever gets to be the last file for indexing.

there seems to be a problem with what goldendict plans to do after scanning all the files in the folder,

Let me know if you guys have any idea

Re: Indexing takes for ever, always hanging on the last file

PostPosted: Mon Nov 08, 2010 8:02 am
by Artem S. Tashkinov
Try running it against manually compiled Qt 4.6.3.

Re: Indexing takes for ever, always hanging on the last file

PostPosted: Tue Nov 09, 2010 7:16 pm
by Bezi
How should I do that?

Also, as an update on the problem, the pre-built packages in fedora repositories have the same problem.

I also tried to add dictionaries one by one, and the process goes smoothly without any problem for the first 3 or 4 dictionaries, but then when I want to add the next dictionary, goldendict before indexing the new one pops up a notification window saying "please wait ..." and then this takes forever without ever starting to index the new dictionary

Re: Indexing takes for ever, always hanging on the last file

PostPosted: Tue Nov 09, 2010 7:40 pm
by ikm
Can you try running goldendict from a terminal and see what it outputs when this happens?

Re: Indexing takes for ever, always hanging on the last file

PostPosted: Tue Nov 09, 2010 11:36 pm
by Bezi
ikm wrote:Can you try running goldendict from a terminal and see what it outputs when this happens?



nothing when the "please wait ..." window appears,
this is what shows up when i add the dictionaries one by one:
Code: Select all
Default charset: ISO-8859-1
Source Charset: ISO-8859-1
TargetCharset: ISO-8859-1
Writing index...
Building a tree of 198 elements
Load done
Default charset: ISO-8859-1
Source Charset: CP1256
TargetCharset: CP1256
Writing index...
Building a tree of 427 elements
Load done


the first two dictionaries added and were indexed without any problem, and then I added the 3rd file but the "please wait ..." window appears and nothing is shown in the terminal.

I get to kill the application as it seems it stays at this situation forever