View Single Post
Old 05-14-2020, 02:55 PM   #27
AnimalOfArt
Groupie
AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.AnimalOfArt ought to be getting tired of karma fortunes by now.
 
AnimalOfArt's Avatar
 
Posts: 175
Karma: 1044642
Join Date: Jun 2017
Device: changing frequently
Quote:
Originally Posted by Markismus View Post
I've succesfully converted Liddell-Scott-Jones, Oxford's Learners dictionary, Duden (de-de), an latin-english dictionary, Nouveau Littre 2011, the Oxford English Dictionary 2nd Ed.and Wordnet.

I tried to convert the xdxf of Duden to stardict with pyglossary, but it fails


Quote:
Exception in Tkinter callback:
Traceback (most recent call last):
File "C:\Python\pyglossary-master\ui\ui_tk.py", line 130, in CallWrapper__call__
return self.func(*args)
File "C:\Python\pyglossary-master\ui\ui_tk.py", line 1120, in convert
finalOutputFile = self.glos.convert(
File "C:\Python\pyglossary-master\pyglossary\glossary.py", line 1040, in convert
if not self.read(
File "C:\Python\pyglossary-master\pyglossary\glossary.py", line 663, in read
result = self.readFunctions[format].__call__(
File "C:\Python\pyglossary-master\pyglossary\plugins\xdxf\__init__.py", line 89, in read
xdxf = XML(f.read())
File "src\lxml\etree.pyx", line 3214, in lxml.etree.XML
File "src\lxml\parser.pxi", line 1876, in lxml.etree._parseMemoryDocument
File "src\lxml\parser.pxi", line 1764, in lxml.etree._parseDoc
File "src\lxml\parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src\lxml\parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src\lxml\parser.pxi", line 711, in lxml.etree._handleParseResult
File "src\lxml\parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 331
lxml.etree.XMLSyntaxError: PCDATA invalid Char value 5, line 331, column 15
AnimalOfArt is offline   Reply With Quote