-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting this zim file failed #352
Comments
Please try again. Also can you upload your .epub and .mobi files? |
I get this error directly when i start converting $python main.py essential-drugs.zim essential-drugs.slob |
I tested with Aard2 Web (in desktop browser). Can you open the epub in mobile and search the drug name? |
Reading the epub is definitely possible. |
In bludict it still has no definition When converting zim to mdx I get multiple errors during converting: Is there any possibility to get the definitions to appear? |
Is there any possibilityto have the produced dictionary either mdx, slob or ifo to work in mobile and in desktop just like wikipedia.zim files that has converted before with pyglossary? Is there any progress about .epub converting? Please consider this when you have time. Thank you Saeed |
I converted the epub to slob and StarDict: https://mega.nz/file/w1oESToB#h3HzcHLz7dmWZaRcyPE_PXJGnEHgr-FshVOXrR16aXc https://mega.nz/file/10pEkJKS#oXVUM6WeKtxYQfHn4X3f9hj5aN6_xw9SqJgMIZ_Am0U Here is the plugin code: |
I appreciate that Saeed Thank a lot 🙏 This epub plugin worked well with essential-drugs.epub but didn't work with other epub files which are from the same source like this: https://medicalguidelines.msf.org/msf-books-hosting/16686604-English.epub Ot this: The error: If this plugin is only used file by file, please tell me what to change inside this plugin code to make it suitable for any other epub file 🙏 I know this could be a lot of work, but if you get this plugin to work with all epub files, this will open the possibility to convert more and more dictionaries. |
Perfect |
No worries. I'd like to know if you later test it and works with epubs from other sources as well (not generated by PyGlossary). |
Looks like we need an epub file that have a separated html file for each entry for this to work, I tried it with more complicated epub file that has converted from pdf with its entries are the outlines (TOC) of the pdf, but this one didn't show any entry after conversion. I will try with more original epub books (not converted or manipulated) Thanks |
Hello Saeed
Could you please help with this issue?
I have a zim file which has built from a website by using youzim.it website, it called "Essential drugs"
This file is working normally in kiwix.apk and anyone can search any drug and find its definition.
When I tried to convert this file to any format like slob it gives many errors and complete converting but a small file produced. When I open the converted dictionary slob by aard2.apk it contains strange headwords like these of html codes with strange definitions.
The errors:
[WARNING] Unrecognized mimetype='application/warc-headers' [ERROR] unknown content type for 'medicalguidelines.msf.org/viewport/EssDr/english/eflornithine-injectable-16682680.html'
[ERROR] unknown content type for 'update.googleapis.com/service/update2/json?cup2key=10:2622198263&cup2hreq=0338fb5b5cb30f0e5182132d1ff9620dec7fccf4020a155becf04a6b4c2d247a' [ERROR] unknown content type for 'Xapian Fulltext Index' [ERROR] unknown content type for 'Xapian Title Index' [INFO] ZIM Entry Count: 4334 [INFO] Empty Content Count: 2 [INFO] Redirect Count: 1 Converting | |█████████████|%100.0 Time: 0:00:04
The file download link:
https://s3.us-west-1.wasabisys.com/org-kiwix-zimit/other/medicalguidelines.msf.org_07e28661.zim
I think this file has the same idea of Wikipedia zim files that are succesfully converted without any problem.
Is there any possibility to convert like this file?
I also have this file in .epub and .mobi formats, is there any possibility to support reading from these formats?
The text was updated successfully, but these errors were encountered: