Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2024, 11:58 AM   #1
rabe3ab
Enthusiast
rabe3ab began at the beginning.
 
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?
rabe3ab is offline   Reply With Quote
Old 06-04-2024, 04:33 PM   #2
jonnyl
Connoisseur
jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.
 
Posts: 70
Karma: 9464
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.)
jonnyl is offline   Reply With Quote
Advert
Old 06-05-2024, 04:15 PM   #3
rabe3ab
Enthusiast
rabe3ab began at the beginning.
 
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
rabe3ab is offline   Reply With Quote
Old 06-06-2024, 10:41 AM   #4
jonnyl
Connoisseur
jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.jonnyl can eat soup with a fork.
 
Posts: 70
Karma: 9464
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.
jonnyl is offline   Reply With Quote
Old 07-01-2024, 08:42 AM   #5
rabe3ab
Enthusiast
rabe3ab began at the beginning.
 
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
rabe3ab is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOBO Nia 4.35.20400 Can't read zim files noobyme Kobo Reader 0 04-06-2023 12:55 AM
Aura H2O 2 View own files via Pocket Labarum Kobo Reader 7 06-15-2019 07:58 PM
Can't View PDF Files pjmpjm Library Management 3 03-11-2016 11:16 PM
view PDF files jaziiz Library Management 3 04-06-2012 11:08 AM
Feature Request: ZIM Conversion Support kichigai Conversion 1 07-24-2011 09:53 PM


All times are GMT -4. The time now is 10:17 PM.


MobileRead.com is a privately owned, operated and funded community.