[Bug report] makedict doesn't recognize stardict dictionaries with html fields
304 views
Skip to first unread message
Alessandro Pezzoni
unread,
Oct 7, 2012, 11:51:31 AM10/7/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xdxf-...@googlegroups.com
Dear list, first of all, this is my first post. I'm writing here because the xdxf SourceForge bugtracker seems to be inactive and the xdxf forum seems to be down. Please let me know if there is a more appropriate place to report bugs.
When trying to convert a stardict dictionary file with html fields with makedict I get the following error: "Not supported data type: h"
A quick inspection of makedict source code (stardict_parser.cpp from svn trunk [1]) reveals that only pure text (m), phonetic (t), and xdxf markup (x) fields are currently supported. See [2] as a reference, for example.
Here [3] you can find the dictionary I tried to convert (which I got from stardict's own wiki page [4], so I think is legit). I would give a stab at this myself, but I don't know anything about C++ (other than some basic C syntax).
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xdxf-...@googlegroups.com
On Sunday, October 7, 2012 5:51:31 PM UTC+2, Alessandro Pezzoni wrote:
When trying to convert a stardict dictionary file with html fields with makedict I get the following error: "Not supported data type: h"
Hi Alessandro
I just came to this problem too. As a simplest workaround you may edit the ifo file and change the letter h to t in line: sametypesequence=h
The resulting dictionary is uncomfortable to use, but readable. It contains a lot of unrecognized tags like B, FONT, but this may not be necessarily the case with all the dictionairies. The makedict project at github (by soshial) seems to be alive now, so maybe an improvement will come to this issue.