New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

Failing to load Dictionary which loads on Stardict

Report bugs here

Failing to load Dictionary which loads on Stardict

Postby Hurin » Sat Dec 20, 2014 7:35 pm

Hello - I recently found Goldendict as a replacement for the aging Stardict - but I have a problem, one of the large Russian-> English Dictionaries I use appears to contain a single encoding error, Stardict is still able to load the dict - on the other hand Goldendict completely refuses to load the dict, my guess is there should be a behavior to force the dict to load (suppressing the section which give errors).
Here is the error message:
Code: Select all
Stardict's dictionary reading failed: /usr/share/stardict/dic/stardict-full-rus-eng-2.4.2/full-rus-eng.ifo, error: Can't decode the given string from Utf8: �едущий отчетность

and here is a link to the dictionary I'm using:
http://abloz.com/huzheng/stardict-dic/r ... .2.tar.bz2

Edit: I should add that I've tried both the package build (for arch-linux it's kind of dated) goldendict 1.0.1-7 and building 1.5 from source - and it fails to load on both.
Hurin
 
Posts: 5
Joined: Wed Dec 17, 2014 9:15 pm

Re: Failing to load Dictionary which loads on Stardict

Postby Abs62 » Sat Dec 20, 2014 10:16 pm

It is not encoding error, it is malformed index file. Try at least to replace it to this one.
But I think may be it will be better to find some other dictionary.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: Failing to load Dictionary which loads on Stardict

Postby Hurin » Sat Dec 20, 2014 10:20 pm

The dictionary is significantly larger than the alternatives, which is important to me - I would probably go back to stardict, if it came down to that.
Hurin
 
Posts: 5
Joined: Wed Dec 17, 2014 9:15 pm

Re: Failing to load Dictionary which loads on Stardict

Postby Abs62 » Sat Dec 20, 2014 10:33 pm

With changed index file GD can load this dictionary. Have you tried it?
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: Failing to load Dictionary which loads on Stardict

Postby Hurin » Sat Dec 20, 2014 10:40 pm

Abs62 wrote:With changed index file GD can load this dictionary. Have you tried it?


No it doesn't - and don't link me windows executables please.
Hurin
 
Posts: 5
Joined: Wed Dec 17, 2014 9:15 pm

Re: Failing to load Dictionary which loads on Stardict

Postby Abs62 » Sat Dec 20, 2014 10:52 pm

It is not "windows executables", it is just full-rus-eng.idx file compressed in zip format. Use other button to download it from d-h.st directly, without some ads.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: Failing to load Dictionary which loads on Stardict

Postby Hurin » Sat Dec 20, 2014 11:02 pm

Abs62 wrote:It is not "windows executables", it is just full-rus-eng.idx file compressed in zip format. Use other button to download it from d-h.st directly, without some ads.


Ok that website you host on has two download buttons, one of which gives an executable file with the same name of a different size. Yes, I clicked the other one and it's actually a working idx file, but please don't host on there if you're linking people content.

Also I'm wondering what did you do to fix it, and why does the stardict Dict::Load work whereas the goldendict does not?
Hurin
 
Posts: 5
Joined: Wed Dec 17, 2014 9:15 pm

Re: Failing to load Dictionary which loads on Stardict

Postby Abs62 » Sat Dec 20, 2014 11:11 pm

I just insert one zero byte at position 11h. ;)
I don't know why Stardict ignore error in the index structure.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: Failing to load Dictionary which loads on Stardict

Postby Hurin » Sat Dec 20, 2014 11:24 pm

Abs62 wrote:I just insert one zero byte at position 11h. ;)
I don't know why Stardict ignore error in the index structure.


You don't think it's better to ignore the error, or at least to present an option to ignore it?
Hurin
 
Posts: 5
Joined: Wed Dec 17, 2014 9:15 pm


Return to Bugs

Who is online

Users browsing this forum: Google [Bot] and 11 guests

cron