Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-14-2020, 10:49 AM   #31
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,243
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by AnimalOfArt View Post
I guess you won't be able to open the original azw file because they have DRM bound to my account. This is the purest mobi file I can give you. I took the azw from my kindle content folder, put it into calibre, and it immediately DeDRMed and converted it to mobi.
The .azw extension in your Kindle content folder will be the same no matter what the ebook format. Calibre does not convert the file, just gives it the correct extension based on the ebook format during the import.
DNSB is offline   Reply With Quote
Old 05-14-2020, 01:59 PM   #32
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
Oh okay, thank you.

Than it is the original Kindle file I send to you, @Markismus
AnimalOfArt is offline   Reply With Quote
Advert
Old 05-15-2020, 01:51 AM   #33
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
Ok I tried running the script on a Linux VPS and it worked there where it won't work on my windows machine. But for some reason I cannot install python on it for using kindleunpack, so I will use a vmware image of ubuntu and try it on my local machine.

I keep you updated!
AnimalOfArt is offline   Reply With Quote
Old 05-15-2020, 06:09 AM   #34
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
Ok I set up a Linux VM (Ubuntu 20) and packed everything in it python, perl, KindleUnpack and PocketbookDic. I put in a mobi file and it ran smoothly until converting to stardict

Quote:
sh: 1: stardict-text2bin: not found
I guess I need the stardict library from somewhere right?

EDIT: Oh sorry, I see it is in the dependencies list


EDIT: I needed to switch to Ubuntu 18.04 because in later depositories there are no stardict packages

I installd stardict and stardict-tools but stardict-text2bin is still not found

What can I do now?

Last edited by AnimalOfArt; 05-15-2020 at 10:39 AM.
AnimalOfArt is offline   Reply With Quote
Old 05-15-2020, 11:17 AM   #35
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
I uploaded all dictionaries to the usual place.

The source files for stardict are on github.

The download files are hosted here.

You are not dependent on the install packages of Ubuntu. You may install your own files. If you find that some files are not longer distributed, you will never have to downgrade your distribution version!

Last edited by Markismus; 05-15-2020 at 11:19 AM.
Markismus is offline   Reply With Quote
Advert
Old 02-17-2022, 05:38 AM   #36
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Hello
I'm trying to convert "Oxford Hachette English - French Dictionar - Synapse Developpement.mobi"
I could go up to generating this files:
pascal@micht:~/PocketbookDic/dict/OxfordHachette/mobi7$ ls -l
total 264516
-rw-rw-r-- 1 pascal pascal 4266 févr. 16 22:27 content.opf
drwxrwxr-x 2 pascal pascal 4096 févr. 16 22:27 Images
-rw-rw-r-- 1 pascal pascal 24 févr. 17 09:23 OxfordHachette.hash
-rw-rw-r-- 1 pascal pascal 43984023 févr. 16 22:27 OxfordHachette.html
-rw-rw-r-- 1 pascal pascal 37360800 févr. 16 22:27 OxfordHachette.rawml
-rw-rw-r-- 1 pascal pascal 33 févr. 17 09:24 OxfordHachette_reconstructed.css
-rw-rw-r-- 1 pascal pascal 5875294 févr. 16 22:32 OxfordHachette_reconstructed.dic
-rw-rw-r-- 1 pascal pascal 73 févr. 17 09:24 OxfordHachette_reconstructed.lua
-rw-rw-r-- 1 pascal pascal 44954294 févr. 17 09:24 OxfordHachette_reconstructed.xdxf
-rw-rw-r-- 1 pascal pascal 49009538 févr. 17 09:24 OxfordHachette_reconstructed.xml
-rw-rw-r-- 1 pascal pascal 44815817 févr. 17 09:23 OxfordHachette_unbloated.xdxf
-rw-rw-r-- 1 pascal pascal 44815941 févr. 17 09:23 OxfordHachette.xdxf
-rw-rw-r-- 1 pascal pascal 467 févr. 16 22:27 toc.ncx

but now I'm stuck with this error:

Running system command:
/usr/lib/stardict-tools/stardict-text2bin "/home/pascal/PocketbookDic/dict/OxfordHachette/mobi7/OxfordHachette_reconstructed.xml" "/home/pascal/PocketbookDic/dict/OxfordHachette/mobi7/OxfordHachette_reconstructed.ifo"
processing /home/pascal/PocketbookDic/dict/OxfordHachette/mobi7/OxfordHachette_reconstructed.xml...
/home/pascal/PocketbookDic/dict/OxfordHachette/mobi7/OxfordHachette_reconstructed.xml:40220: parser error : xmlParseEntityRef: no name
<key>B & B</key>
^
No spaces in filename.
$dict_bin is 'dict/OxfordHachette/mobi7/OxfordHachette_reconstructed.ifo'



I run xubuntu 18.04 specifically for this conversion and I want to use the dictionary mainly with koreader
Anybody could help please
Have a nice day
pascal jakobs is offline   Reply With Quote
Old 02-17-2022, 07:12 AM   #37
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
@pascal jacobs If you pm me a link to the mobi-file, I will have a look. Based on your truncated output, I can't really give any pointers.
Markismus is offline   Reply With Quote
Old 02-21-2022, 06:09 AM   #38
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
@pascal jacobs Your mobi-file doesn't have a known internal format. Basically, mobi-files have a very free standard, saying where what files are, but not how the xml-code should be structured.

So KindleUnpack, the tool that I use to decypher the kindle files, quits after it has unpacked the code to raw-xml. My code tries to give a shot at the raw-xml if KindleUnpack fails at this point. However, if it is too different, like this one, you need to write a dedicated converter.

The function convertRAWML2XDXF() gives it a try, but quits gracefully. If you look at the messages displayed, the info is there:
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2022-02-21 12-03-56.png
Views:	611
Size:	117.0 KB
ID:	192413  
Markismus is offline   Reply With Quote
Old 02-22-2022, 12:50 PM   #39
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Many thanks Mark,
I appreciate you tried to help me, however my output is a bit different as I can get more than raw-xml, As I said, I get html and xdxf too. Does it change your analyse?
You can get the generated files in the archive below


http://trafic-ncy.freeboxos.fr:29522...oxfordEnFr.zip

Have a good evening
pascal jakobs is offline   Reply With Quote
Old 02-23-2022, 11:24 AM   #40
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
@pascal jakobs And that's another mobi-file. That one can be converted with kindleUnpack. However, it crashes on the key "B & B", so I've changed the code to unescape the ampersand.

The results are uploaded to pCloud. The changes to the code are on github.

Last edited by Markismus; 02-23-2022 at 12:02 PM.
Markismus is offline   Reply With Quote
Old 02-24-2022, 03:30 AM   #41
pascal jakobs
Enthusiast
pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!pascal jakobs , Klaatu Barada Niktu!
 
Posts: 44
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
Thanks again Mark
I'm sorry for the mess I made with the shortened filenames, you're certainly right I gave you not exactly the same file, my mistake, apologies. But I'm very happy to see the result you achieved, the rendering on koreader is gorgeous (I hope my English is appropriate). I'm sure this is going to help me at reading English books and improve my level.
Thank you, thank you, thank you
I wish peace in the world

pascal
pascal jakobs is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert MOBI dictionary to other formats sk8terek Conversion 1 06-07-2016 09:31 PM
How to convert stardict dictionary? omk3 PocketBook 3 06-09-2015 05:10 PM
Convert Text Dictionary to Mobi jribeiro Kindle Formats 3 03-19-2011 01:18 PM
Convert eReader Dictionary to MOBI? notyou Other formats 2 06-29-2010 01:37 AM


All times are GMT -4. The time now is 04:08 AM.


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