ciromattia / kcc

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

flatpak: stuck on Creating MOBI Files #690

Closed Pyrix25633 closed 6 months ago

Pyrix25633 commented 7 months ago

Describe the bug When converting to MOBI/AZW3 or MOBI+EPUB the process is stuck at "Processing MOBI files". When converting to EPUB a hidden file (..epub-) is created at the source directory if you don't select it, either way and it doesn't show on kindle. Also when aborting, it just stays there, stuck.

To Reproduce Steps to reproduce the behavior: Convert .cbz or .cbr file to MOBI/AZW3 or MOBI+EPUB or to EPUB.

Expected behavior It should finish converting or create an EPUB file that the kindle is able to read.

Screenshots Defaults, no manga mode, stretch/upscale. image image image image

Desktop (please complete the following information):

axu2 commented 7 months ago

Hmmm, maybe it's a permission issue, try doing a shift+click on the convert button to select an output directory on your desktop or something. @Pyrix25633

Does converting directly to epub work?

Kindles can't read epub natively. usb transfer the mobi

Pyrix25633 commented 7 months ago

Ok, i understand Kindle does not read epub. Yes. conversion to epub works. I tried selecting the output folder, it still is stuck at "processing MOBI files...", so conversion to AZW3 or MOBI does not work.

axu2 commented 7 months ago

Does uploading the epub to send to kindle website work?

Can you run the kindlegen command directly?

Pyrix25633 commented 7 months ago

Yeah, sending it that way it works, but it kinda defeats the purpose and make it really slower. I've installed through the "Software" application with flatpak, I suppose it automatically downloaded all dependencies, how do I run kindlegen?

axu2 commented 7 months ago

I don't use flatpak, but maybe this helps? https://github.com/ciromattia/kcc/wiki/Installation#linux

Pyrix25633 commented 7 months ago

image Now it is stuck here. And I would say that installation instruction are unclear, I don't even understand if it is possible to install kcc another way and how. And I'm a programmer.

axu2 commented 7 months ago

@catsout @winstonma

Can you help this user's issue? Sorry I don't use Linux.

catsout commented 7 months ago

Please use flatseal and add host filesystem permission.
image

catsout commented 7 months ago

Make sure your files that imported in kcc are not started with /run/user/1000/doc.

winstonma commented 7 months ago

@Pyrix25633

Please check the following

  1. Please check if there is kindlegen executable in the following directory
    $ ls ~/.var/app/io.github.ciromattia.kcc/data
    kindlegen
  2. Also please try to run KCC using terminal, this way you can capture the logs for everyone to troubleshoot. Please run the following command, redo what you have done, and then capture the error log.
    $ flatpak run io.github.ciromattia.kcc

Hope this helps

Pyrix25633 commented 7 months ago

Make sure your files that imported in kcc are not started with /run/user/1000/doc.

They do, I thought it was strange, but didn't manage solve that.

Pyrix25633 commented 7 months ago

Ok, using flatseal to manage permissions it works, you should add it to the installation wiki.

Pyrix25633 commented 7 months ago

Still, is it normal that the converted book has no cover? And, Kindle Paperwhite 7th gen. is Kindle PW 1/2 or what?

axu2 commented 7 months ago

If you want a cover, leave Kindle plugged in during conversion or follow this guide:

PW 7 is PW3.

This is going to be renamed to PW 7 in KCC v6.

image

I think it'd be nice if KCC GUI told you its missing this permission.

Pyrix25633 commented 7 months ago

Also, now I was trying to bulk convert .cbz contained in a folder, but it says that the directory is empty... image

axu2 commented 7 months ago

You need to drag in all the cbz not the containing folder.

axu2 commented 6 months ago

@Pyrix25633 Does the section here to use flatseal make sense or does a flatpak user need more detail than that? https://github.com/ciromattia/kcc/wiki/Installation#linux

Pyrix25633 commented 6 months ago

I think it's perfect, maybe make it stand out. Flatseal has an intuitive and easy to use interface, so no additional information is needed. 👍

axu2 commented 5 months ago

@darodi Just FYI in case it's relevant to Steam Deck