06-04-2024, 10:58 AM | #1 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Mar 2015
Device: Kindle Paperwhite 3
|
How can i view .zim files
I have some wikis downloaded as zim files and i want to open them via koreader.
Can i open them directly or i have to convert them first? And to which format? Or dictionary format? |
06-04-2024, 03:33 PM | #2 |
Connoisseur
Posts: 67
Karma: 5648
Join Date: Jan 2021
Device: Likebook Mars
|
You can't open them directly but could convert them to StarDict dictionary format via PyGlossary (https://github.com/ilius/pyglossary).
Then copy the output files into the koreader/data/dict/ directory to load them as dictionaries. (Note that I have never used PyGlossary myself so I don't know how smooth the conversion process is.) |
06-05-2024, 03:15 PM | #3 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Mar 2015
Device: Kindle Paperwhite 3
|
I tried to use pyglossary and followed the step by step guide, but every time i get a new error
|
06-06-2024, 09:41 AM | #4 |
Connoisseur
Posts: 67
Karma: 5648
Join Date: Jan 2021
Device: Likebook Mars
|
If you share your OS and the error messages you've been getting, someone may be able to help you.
|
07-01-2024, 07:42 AM | #5 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Mar 2015
Device: Kindle Paperwhite 3
|
I am using widows
and i got this error code: [INFO] Automatically switching to SQLite mode for writing Stardict [INFO] Using sortKeyName = 'stardict' [ERROR] Failed to create SQLite file Traceback (most recent call last): File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\glossary_v2.py", line 947, in _switchToSQLite self._data = SqEntryList( ^^^^^^^^^^^^ File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\sq_entry_list.py", line 74, in __init__ self._con: "sqlite3.Connection | None" = sqlite3.connect(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^ sqlite3.OperationalError: unable to open database file Traceback (most recent call last): File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\glossary_v2.py", line 947, in _switchToSQLite self._data = SqEntryList( ^^^^^^^^^^^^ File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\sq_entry_list.py", line 74, in __init__ self._con: "sqlite3.Connection | None" = sqlite3.connect(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^ sqlite3.OperationalError: unable to open database file [ERROR] 'SqEntryList' object has no attribute '_con' unhandled exception: Traceback (most recent call last): File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\ui\ui_cmd_interactive.py", line 1093, in main succeed = ui_cmd.UI.run(self, **self.getRunKeywordArgs()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\ui\ui_cmd.py", line 340, in run finalOutputFile = self.glos.convert( ^^^^^^^^^^^^^^^^^^ File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\glossary_v2.py", line 1234, in convert return self.convertV2(args) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\glossary_v2.py", line 1176, in convertV2 sort = self._convertPrepare( ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\glossary_v2.py", line 1126, in _convertPrepare self._setTmpDataDir(args.inputFilename) File "C:\Users\rabe3\scoop\apps\python\current\Lib\ site-packages\pyglossary\glossary_v2.py", line 631, in _setTmpDataDir os.makedirs(self._tmpDataDir, mode=0o700, exist_ok=True) File "<frozen os>", line 225, in makedirs OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\rabe3\\AppData\\Local\\PyGlossary\\Cac he\\bulbagarden_en_all_nopic_2022-02.zim"_res' i tried using ubuntu and got similar error |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOBO Nia 4.35.20400 Can't read zim files | noobyme | Kobo Reader | 0 | 04-05-2023 11:55 PM |
Aura H2O 2 View own files via Pocket | Labarum | Kobo Reader | 7 | 06-15-2019 06:58 PM |
Can't View PDF Files | pjmpjm | Library Management | 3 | 03-11-2016 10:16 PM |
view PDF files | jaziiz | Library Management | 3 | 04-06-2012 10:08 AM |
Feature Request: ZIM Conversion Support | kichigai | Conversion | 1 | 07-24-2011 08:53 PM |