ebook-reader-dict: PyGlossary conversion errors (missing images)
Note from @BoboTiG: issue tightly coupled to #1182, interesting details can be found there too.
I just downloaded, parsed and rendered the EN Wiktionary, and it apparently has some problems with erroneous and/or missing GIFs:
All of the .gif files in data/en/res appear to be very ugly rendered fomulae (?).
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 51 (49 by maintainers)
@ilius , you are good to go:
--render --workers=N✔️And since a couple hours ago
To get a stardict file, instead of kobo.
Creating
~/.cache/pyglossary/dict-de-de.df_res(specific to that call:python -m wikidict de --convert) does not silent errors. I’ll dig deeper when I find time.I see workers+1 python3 processes in
top, each reserving 2.4 GB RAM. Trying workers=2 now.Possible that there’s something wrong with that still?
I could previously (no workers) generate a complete dict, although it would use almost all resources on my laptop. Using
workers=4now, it produces full RAM (122 MB left of 8 GB, 0 bytes left on swap), and swaps itself to death (load average above 40!), had to pull the plug.Works perfectly, thanks!
Please use
pip install . -Uinsteadsudo python3 setup.py installorpython3 setup.py install --userThis is a sigle step, we introduced it to help debugging such issues 😉
SVG would be a killer feature, indeed. Not sure about the support though.
U-huh, got it! https://github.com/ilius/pyglossary/commit/ecf386b80aa24d34a8dc4f31c13b2eeb79260cd3 That was one of weirdest bug I ever encountered.