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

flatpak: MOBI conversion gets stuck ("No such file or directory" error for .mobi files) #690

Closed
Pyrix25633 opened this issue Apr 29, 2024 · 19 comments
Assignees
Labels
Linux Linux OS

Comments

@Pyrix25633
Copy link

Pyrix25633 commented Apr 29, 2024

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):

  • OS: Zorin OS 17 -> Ubuntu 22.04, flathub kcc
  • Device: Kindle Paperwhite 7th gen. 5.16.2.1.1
@axu2 axu2 added the Linux Linux OS label Apr 29, 2024
@axu2

This comment has been minimized.

@Pyrix25633

This comment has been minimized.

@axu2

This comment has been minimized.

@Pyrix25633

This comment has been minimized.

@axu2
Copy link
Collaborator

axu2 commented Apr 30, 2024

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

@Pyrix25633

This comment has been minimized.

@axu2

This comment has been minimized.

@catsout
Copy link
Contributor

catsout commented Apr 30, 2024

Please use flatseal and add host filesystem permission.
image

@catsout
Copy link
Contributor

catsout commented Apr 30, 2024

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

@axu2 axu2 changed the title Stuck at "Processing MOBI files", and epub files are hidden and don't open in Kindle flatpak: stuck on Creating MOBI Files Apr 30, 2024
@winstonma
Copy link

winstonma commented Apr 30, 2024

@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
  1. 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
Copy link
Author

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
Copy link
Author

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

@Pyrix25633

This comment was marked as off-topic.

@axu2

This comment was marked as off-topic.

@Pyrix25633

This comment was marked as off-topic.

@axu2

This comment was marked as off-topic.

@axu2
Copy link
Collaborator

axu2 commented May 15, 2024

@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
Copy link
Author

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
Copy link
Collaborator

axu2 commented Jun 25, 2024

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

@axu2 axu2 changed the title flatpak: stuck on Creating MOBI Files flatpak: MOBI conversion gets stuck ("No such file or directory" error for .mobi files) Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux Linux OS
Projects
None yet
Development

No branches or pull requests

5 participants