Page 1 of 2

BGL dictionaries reported to have 0 entries

PostPosted: Fri Mar 12, 2010 11:14 am
by user256
When I scanned my bgl folder, GoldenDict detected all the dictionaries, but for the majority of them, it reported 0 entries.
I uploaded an example file:
http://www.mediafire.com/?23gy531uxxj

Otherwise thanks for this great application, the fact that it is built on Qt make it even better.
I think now I dont have a reason to not move to Linux.

Re: BGL dictionaries reported to have 0 entries

PostPosted: Fri Mar 12, 2010 1:27 pm
by ikm
Your example dictionary works just fine. Maybe you've misinterpreted something?

Re: BGL dictionaries reported to have 0 entries

PostPosted: Fri Mar 12, 2010 6:45 pm
by user256
I just tested again with only 1 folder containing the file.

Again, it shows up with 0 words and article.
Here is a screen
Image

I'm using Windows 7 and Goldendict 0.9.0

Re: BGL dictionaries reported to have 0 entries

PostPosted: Sat Mar 13, 2010 12:02 am
by ikm
This does look strange indeed. Ensure you have enough disk space for indices, try deleting indices. Make sure the file is actually readable by the program. In short, I have no idea how to reproduce this.

Re: BGL dictionaries reported to have 0 entries

PostPosted: Sun Mar 14, 2010 9:25 am
by user256
This is strange. I tried all of the above, but same results.

I tested in a Windows XP machine, and I had the same problem again.

I even tested the maemo build of godlendict 0.9 BUT it works correctly (at least it detected correctly the ebook and indexed it)

I already use Qt and QtCreator in Windows, so I can help you debug this problem, but right now, I have no idea where to start looking.

Re: BGL dictionaries reported to have 0 entries

PostPosted: Tue Mar 23, 2010 2:08 am
by user256
Any news about this bug ?
Are you considering a fix ?
So far, this bug is 100% reproduced on windows machines.

Re: BGL dictionaries reported to have 0 entries

PostPosted: Tue Mar 23, 2010 12:11 pm
by ikm
If it is 100% reproducible, how come no one else is having this problem?

Re: BGL dictionaries reported to have 0 entries

PostPosted: Tue Mar 23, 2010 5:58 pm
by user256
probably because there are not so much files that trigger this behaviour.

Again, the problem is not in the files (they load correctly on Ubuntu and Maemo4.1), but always show 0 entries in Windows. (Even with a fresh installed windows)

I can provide 3 mores files that can reproduce the bug.
Please anyone with a windows machine can confirm it with the first file ?
Thanks

Re: BGL dictionaries reported to have 0 entries

PostPosted: Sat Apr 03, 2010 11:18 am
by user256
I downloaded the last windows build from here:
viewtopic.php?f=8&t=77&start=100

All files are correctly detected now

Re: BGL dictionaries reported to have 0 entries

PostPosted: Sat Apr 17, 2010 10:06 pm
by ebrahim
I've got the same problem with latest GoldenDict (goldendict=0.9.1~git20100413-1 package of Debian sid) with following file: http://www.babylon.com/free-dictionarie ... 64762.html

Interesting point is that even dictconv has the same problem with this file. I looked around it and found out this BGL has got some blocks of type 11 and 6 which are not handled at all in dictconv. Although I haven't looked at GoldenDict code, I thought maybe that point is a good clue to start with.

Thanks for the great software :)