Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck on processing mobi with large files that need to be chunked #774

Open
alvinchenn opened this issue Nov 15, 2024 · 4 comments
Open

Comments

@alvinchenn
Copy link

When I input a large .cbz file (1.1 gb) to convert to MOBI/AZW3, KCC hangs indefinitely during the "Processing MOBI" stage. When I try running the source code, the console output displays a "List index out of range" error when the hanging starts. This error doesn't appear when converting the same file to EPUB.

A workaround I have found is: rename the .cbz extension to .zip->unzipping the resulting file->input the resulting unzipped directory after clicking "Add directory" in KCC.

This appears to be the same error in this issue, but it says it's supposedly fixed: #582

@axu2
Copy link
Collaborator

axu2 commented Nov 15, 2024

Can you try 6.2.1? @alvinchenn

I suspect a change in 6.2.2 caused it.

Can you also provide a screenshot of the file structure so I can replicate it.

Also possible it was a bug in 6.3.1. Try 6.3.0 too

@alvinchenn
Copy link
Author

alvinchenn commented Nov 16, 2024

Tested with 6.2.1 and 6.3.0, still hangs for both. Here's the file structure:
Screenshot 2024-11-15 at 10 34 35 PM

@axu2
Copy link
Collaborator

axu2 commented Nov 16, 2024

@alvinchenn can you copy paste the full error when you run from source?

Can you show me what's inside the cbz after unzip.

Also, I need a screenshot of kcc settings

@axu2 axu2 changed the title (7.0.0, Apple Silicon) Hangs during .cbz to AZW3 Conversion Stuck on processing mobi with large files that need to be chunked Nov 17, 2024
@alvinchenn
Copy link
Author

qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
Preparing source images...
Checking images...
Processing images...
Creating EPUB file...
Creating EPUB file...
Error calling Python override of QThread::run(): Traceback (most recent call last):
  File "/Users/alvinchen/Downloads/kcc-6.2.2/kindlecomicconverter/KCC_gui.py", line 366, in run
    item, comic2ebook.options.covers[outputPath.index(item)][1]))
          ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
Screenshot 2024-11-16 at 11 01 10 PM Screenshot 2024-11-16 at 11 01 53 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants