gozhenzhang / mac-dictionary-kit

Automatically exported from code.google.com/p/mac-dictionary-kit
0 stars 0 forks source link

Format not supported with DictUnifier 2.0 beta 3 #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Using the latest version of Dictunifier (2.0.b3) to convert dictionaries.

What is the expected output? What do you see instead?

I get the "format not supported" result which I didn't get when using an older, 
patched version of 
Dictunifier

What version of the product are you using? On what operating system?

DictUnifier 2.0 beta 3 on Mac OS X 10.6.2

Please provide any additional information below.

A year ago, I downloaded some free babylon dictionaries and converted them via 
Linux in tar.bz2 
format. 

When I tried to convert them via Dictunifier 1.1 all of them converted fine but 
some resulted in 
the "format not supported" error when using them with Dictionary. 

I downloaded the patched version of Dictunifier, again from here, and used it 
to convert the 
dictionaries. That version solved my "format not supported" issue.

However, there was a certain dictionary that could not be converted correctly 
with the patched 
version. Only about a dozen of the words contained in it came up when I tried 
to use it with 
Dictionary.

Today, I downloaded the updated version of Dictunifier and gave it another go. 
The file was 
converted successfully and I could see all the words contained in it. However, 
now I get the 
"format not supported error" again. I tried the new version of Dictunifier with 
another file and I 
also get the error with that, even though the conversion seems to be successful.

I suppose that it would be possible to apply the same changes that solved the 
"format not 
supported" in the patched version of DictUnifier to your next beta. I am not 
good with technical 
terms and I hope that I described my problem clearly.

I am attaching the older, patched version of Dictunifier and the "problematic" 
dictionary file.

Original issue reported on code.google.com by ppericle...@gmail.com on 15 Mar 2010 at 12:58

Attachments:

GoogleCodeExporter commented 9 years ago
Extract the Babylon Greek English.tar.bz2 and then make tar.bz2 from command 
line like this

$ tar czf babylon_geek.tar.bz2 "Babylon Greek English"

and then try again in DictUnifier. try with my attach file.

Original comment by Saturn...@gmail.com on 18 Aug 2010 at 3:44

Attachments:

GoogleCodeExporter commented 9 years ago
I still get the "format not supported" error!

Original comment by ppericle...@gmail.com on 19 Aug 2010 at 1:27

GoogleCodeExporter commented 9 years ago
Same problem here. I has tried many dictionaries that I downloaded from 
stardict website and none of them could work after being converted by 
DictUnifier 2.0 beta 3. All that I got when trying to look up some words was 
the message "format not supported" or something like that. Really hope the 
developer can fix that problem in the further releases.

Original comment by trongtie...@gmail.com on 24 Sep 2010 at 8:59

GoogleCodeExporter commented 9 years ago
Same problem. I downloaded the current version (DictUnifier-2.0b3.zip) and 
tried to convert some dictionaries. The conversion succeeded but in dictionary 
entries it shows the message "format not supported". I am attaching a .tar.bz2 
stardict dictionary and the converted file (I don't know why i cannot upload 
.dictionary so I am attaching .zip instead) here. I hope it helps. 

Original comment by fred22...@gmail.com on 5 Oct 2010 at 4:04

Attachments:

GoogleCodeExporter commented 9 years ago
I have the same problem. Please fix.

Original comment by nonamel...@gmail.com on 13 Nov 2010 at 8:30

GoogleCodeExporter commented 9 years ago
OK,
  now this thing is quite funny. I came back to use DicUnifier after long time since I am studying Greek and it seems that my patch is still ignored in
the latest release...whatever, my patch still works.
Very same source code modification so if interested look at the previous thread.
Instead, for those like me who want just to have the tool working I attached
a newer patched version with which I converted both Gr->En that Gr->En.

Enjoy

Gianluca 

PS: I used stardict-babylon-Babylon_English_Greek-2.4.2.tar and the specular

Original comment by glro...@gmail.com on 2 Feb 2011 at 1:39

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Gianluca,
I really appreciate for your work. However, your patch still not works for me. 
When I typed a word like "love" in the search box, the list of words appeared 
but when I pressed Enter or clicked on any words, it did not jump to the 
description like your picture above. BTW, I used 
stardict-babylon-cambridgev2_b13-2.4.2.tar.bz2 and OSX 10.6.6. 

Kind Regards
Mike

Original comment by trongtie...@gmail.com on 2 Feb 2011 at 8:47

Attachments:

GoogleCodeExporter commented 9 years ago
same error here with anything non latin (russian or japanese). As this error 
happens since 2008, might be time to move to github to accelerate the pace of 
dev ... ?

Original comment by nicolas....@gmail.com on 7 Mar 2011 at 9:37

GoogleCodeExporter commented 9 years ago
Same problem here, tried both old and new versions, originally and patched, and 
still get the "format not supported" with my danish and finnish dictionary 
files; could this have anything to do with the system language setting?

Original comment by sols...@gmail.com on 22 Aug 2011 at 2:03

GoogleCodeExporter commented 9 years ago
I have the same problem when I convert my Babylon-German-English dictionary 
into MAC dictionary. But I solved it only by replacing "sametypesequence=h" in 
file *.ifo with "sametypesequence=m".
I think that "Format not supported" just means "h" is not supported, where "h" 
suggests html format. (refers to 
http://code.google.com/p/babiloo/wiki/StarDict_format)

I hope it useful for you.

In addition, there is a tiny problem left. "<font color="blue">n.</font>" is 
shown instead of a blue "n.". In this case, you could try the 'g' format.

Original comment by Frank.Be...@gmail.com on 7 Jan 2012 at 3:37

GoogleCodeExporter commented 9 years ago
It works Frank.... but Where is "<font color="blue">n.</font>" ??? 
You were right, is also a problem

Original comment by andres.s...@hotmail.com on 31 Mar 2012 at 6:28

GoogleCodeExporter commented 9 years ago
Andres, substitute "sametypesequence=h" with "sametypesequence=g".

check this: http://lab.maiux.com/?p=200

Original comment by maiux....@gmail.com on 10 May 2012 at 12:08

GoogleCodeExporter commented 9 years ago
Try this one please. @ Gianluca

http://abloz.com/huzheng/stardict-dic/babylon/en/stardict-babylon-Merriam_Webste
r_Collegiate__Di-2.4.2.tar.bz2

Original comment by Nic.L...@gmail.com on 22 Jul 2012 at 1:29

GoogleCodeExporter commented 9 years ago
I tried to convert stardict lingvo dictionaries and it worked with patched 
version mentioned by Gianluca! Thanks!
With the latest version (2.1) I got "format not supported"

Original comment by buratin....@gmail.com on 29 Apr 2013 at 2:18

GoogleCodeExporter commented 9 years ago
@Frank: plz make a tutorial step-by-step.. i'm not a dev...T..T

Original comment by nguyenti...@gmail.com on 20 Jun 2013 at 1:41

GoogleCodeExporter commented 9 years ago
Could somebody convert this Chinese dictionary please?  each time i try to do 
so it issues an unsupported format.
Thank you.

Original comment by marcogui...@gmail.com on 17 Apr 2014 at 6:03

Attachments:

GoogleCodeExporter commented 9 years ago
I also cannot get my dictionary to work. I'm on Yosemite. Here I've attached 
the tar.bz2 and the built .dictionary package that got sent to my 
~/Library/Dictionaries/ directory. I'd appreciate any help or direction I can 
get to figuring out how to fix this or what to learn to fix this!.. I tried 
attaching... I'll try in another post...

Original comment by chefri...@gmail.com on 12 Feb 2015 at 6:05

GoogleCodeExporter commented 9 years ago

Original comment by chefri...@gmail.com on 12 Feb 2015 at 6:06

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, didn't notice the space limit. I used the Stardict dictionary for 
Merriam-Webster's Collegiate Dictionary from here: 
https://sites.google.com/site/gtonguedict/home/stardict-dictionaries

Original comment by chefri...@gmail.com on 12 Feb 2015 at 6:08