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

some dicts are not readable

Report bugs here

some dicts are not readable

Postby icegood » Sat Jan 12, 2013 8:04 pm

have in my config :
<path recursive="1">/usr/share/stardict/dic</path>
in have there subfolder ./stardict-full-eng-rus-2.4.2. Seems this one isn't readable although it's from 2008. Stardict see it!
icegood
 
Posts: 4
Joined: Sat Jan 12, 2013 7:55 pm

Re: some dicts are not readable

Postby Tvangeste » Sat Jan 12, 2013 8:38 pm

icegood wrote:have in my config :
<path recursive="1">/usr/share/stardict/dic</path>
in have there subfolder ./stardict-full-eng-rus-2.4.2. Seems this one isn't readable although it's from 2008. Stardict see it!

What's in that folder ( /usr/share/stardict/dic/stardict-full-eng-rus-2.4.2 ) ? What are the permissions for the stardict-full-eng-rus-2.4.2 dictionary?

Please execute the following two commands:
Code: Select all
ls -l  /usr/share/stardict/dic/stardict-full-eng-rus-2.4.2
ls -ld  /usr/share/stardict/dic/stardict-full-eng-rus-2.4.2

What's your GoldenDict version?

My GoldenDict seems to be recognizing and using this dictionary with no problems.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: some dicts are not readable

Postby icegood » Sat Jan 12, 2013 9:49 pm

Code: Select all
ls -la  /usr/share/stardict/dic/stardict-full-eng-rus-2.4.2

total 38780
drwxr-xr-x 2 root root     4096 Feb 19  2011 .
drwxr-xr-x 6 root root     4096 Dec 28 22:30 ..
-rw-r--r-- 1 root root 27748181 Jun  2  2008 full-eng-rus.dict.dz
-rw-r--r-- 1 root root 11946441 Jun  2  2008 full-eng-rus.idx
-rw-r--r-- 1 root root      142 Jun  2  2008 full-eng-rus.ifo

ver:
1.0.1+git under kubuntu
icegood
 
Posts: 4
Joined: Sat Jan 12, 2013 7:55 pm

Re: some dicts are not readable

Postby Tvangeste » Sun Jan 13, 2013 10:24 am

Strange, everything looks fine to me. Do you see any interesting output in the console if you start GD from the command line?

You could also try to put some other, known good dictionary in that place and see if it is recognized and shown. You could also try the latest GD version from git repository or try pre-built early access portable linux version from here: https://github.com/goldendict/goldendic ... x-Portable

You could also archive the dictionary folder, upload it somewhere and send the link to me (via PM) so that I could double-check that your dictionary is not broken.

P.S. I used the same dictionary, downloaded from the following Wikipedia link, it worked for me with no problems, so you could try this one as well.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: some dicts are not readable

Postby icegood » Sun Jan 13, 2013 11:29 am

i see errors in terminal:
Code: Select all
bookname = Full English-Russian
wordcount = 513914
Stardict's dictionary reading failed: /usr/share/stardict/dic/stardict-full-eng-rus-2.4.2/full-eng-rus.ifo, error: Can't decode the given string from Utf8: �
bookname = Full Russian-English
wordcount = 370649
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: �едущий отчетность
Load done

icegood
 
Posts: 4
Joined: Sat Jan 12, 2013 7:55 pm

Re: some dicts are not readable

Postby Tvangeste » Sun Jan 13, 2013 12:21 pm

icegood wrote:i see errors in terminal:

So there you have it. The dictionary contains encoding errors and hence GoldenDict correctly refuses to use it. I tested your dictionary here as well, and it is indeed broken. Please install the version I mentioned earlier, it works just fine.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 13 guests

cron