ciromattia / kcc

KCC (a.k.a. Kindle Comic Converter) is a comic and manga converter for ebook readers.
ISC License
2.44k stars 200 forks source link

Hyperlink not resolved in toc (e24010/kindlegen) #705

Open jabuxas opened 1 month ago

jabuxas commented 1 month ago

Describe the bug I can't convert Berserk to mobi. I first tried doing automatic splitting off, but kcc complained that epubs were 500mb and not 450 max. So, I manually separated it into volumes, but now I'm getting an error of KindleGen image

To Reproduce Steps to reproduce the behavior:

  1. Add directory with manga separated in volumes
  2. Turn on output split, cropping mode, manga mode, mozjpeg, stretch upscale and half spread splitter
  3. Epubs are created but kindlegen fails to mobi them
  4. See error

Expected behavior It should've created all the mobis for the volumes.

Screenshots image

Desktop (please complete the following information):

image

axu2 commented 1 month ago

Kindle DX should use CBZ. mobi sucks on the DX.

The DX might not be able to handle super large files though, I'd split it by volume.

jabuxas commented 1 month ago

Oh, now I was stupid. I changed to DX by mistake, it should've been PW 4. I'll retry.

Edit: I tried on windows and it worked, except there's no kindle pw 4 there and the file sizes were double, only pw 7/10, which I guess would be the 7th and 10th generation pw which is the same as 3/4 on linux

axu2 commented 1 month ago

Yea, I renamed the pw profiles since too many people picked kindle 11 when they had kindle pw5 11th gen

jabuxas commented 1 month ago

Failed again, and I have the same settings as I had on windows when it worked. image

I have it split by volumes and they're not big. image

axu2 commented 1 month ago

Can you drag in the volumes instead of the containing folder instead?

jabuxas commented 1 month ago

Do I uncheck output split?

Edit: Yup, unchecked because otherwise it would create 3 mobi files for a single volume

axu2 commented 1 month ago

Ok, cool, so to confirm you said this issue only exists on the flatpak version?

jabuxas commented 1 month ago

It seems to work fine if I drag all the volumes, it still isn't finished but no errors yet so all good.

About your question, I haven't tried appimage version yet, want me to try?

jabuxas commented 1 month ago

image

Tried appimage but I'm getting this error. I have setup kindlegen properly

Edit: Fixed the error, appimage works fine. If it were my guess, I'd say it's something with tmpdir in flatpak, I had calibre as flatpak but it wouldn't work with epubmerge and it errored out with not enough space and switching to native calibre fixed that. Could also be that flatpak is not updated to the latest release. image

jabuxas commented 1 month ago

image

Doing from an archive also doesn't work.